how to measure process memory usage?

2002-02-17 Thread Dan Kenigsberg
Hi I bet it is a stupid question with a simple answer, but I failed to find it, so: Is there a utility to measure memory usage of a process, preferably proken into static/stack/heap? The man page of GNU `time' suggests that it should do the trick, but running /usr/bin/time myprog always

[Off-topic] Concatenating arrays in Python

2002-02-17 Thread Daniel Pearson
On Sun, Feb 10, 2002, Shlomi Fish [EMAIL PROTECTED] wrote the following: I am usually experienced enough with enought technologies to know if something is missing. For instance, when I hacked a Python script I found, I was looking for a way to concatenate two arrays (i.e: the equivalent of

Re: how to measure process memory usage?

2002-02-17 Thread Nadav Har'El
On Sun, Feb 17, 2002, Dan Kenigsberg wrote about how to measure process memory usage?: Is there a utility to measure memory usage of a process, preferably proken into static/stack/heap? The man page of GNU `time' suggests that it should do the trick, but running /usr/bin/time myprog

Re: how to measure process memory usage?

2002-02-17 Thread Yedidyah Bar-David
Hi, On Sun, Feb 17, 2002 at 01:20:40PM +0200, Dan Kenigsberg wrote: Hi I bet it is a stupid question with a simple answer, but I failed to find it, so: Is there a utility to measure memory usage of a process, preferably proken into static/stack/heap? The man page of GNU `time' suggests

RE: how to measure process memory usage?

2002-02-17 Thread Gilad Ben-Yossef
Is there a utility to measure memory usage of a process, preferably proken into static/stack/heap? The man page of GNU `time' suggests that it should do the trick, but running /usr/bin/time myprog always reports 0 memory usage. In addition to Nadav's reply, and not a direct

Re: how to measure process memory usage?

2002-02-17 Thread guy keren
use the 'gtop', luke. you can get a complete memory map of the process, broken down into usage by various libraries. for me it proved it be a useful tool. guy On Sun, 17 Feb 2002, Nadav Har'El wrote: Date: Sun, 17 Feb 2002 13:43:47 +0200 From: Nadav Har'El [EMAIL PROTECTED] To: Dan

Re: how to measure process memory usage?

2002-02-17 Thread Nadav Har'El
On Sun, Feb 17, 2002, guy keren wrote about Re: how to measure process memory usage?: use the 'gtop', luke. you can get a complete memory map of the process, broken down into usage by various libraries. for me it proved it be a useful tool. By the way, this simply uses /proc/processid/maps.

Re: how to measure process memory usage?

2002-02-17 Thread Dan Kenigsberg
Thanks people, but I am looking for a shellscript-oriented tool, to measure the maximum memory used by a process. I believe this *is* an interesting and useful measure. I am afraid top and even ps are not usefull for me. Should I run ps continuously and return the maxmum vsize? Dan. use

Re: how to measure process memory usage?

2002-02-17 Thread guy keren
On Sun, 17 Feb 2002, Dan Kenigsberg wrote: Thanks people, but I am looking for a shellscript-oriented tool, to measure the maximum memory used by a process. I believe this *is* an interesting and useful measure. I am afraid top and even ps are not usefull for me. Should I run ps

Re: how to measure process memory usage?

2002-02-17 Thread Yedidyah Bar-David
On Sun, Feb 17, 2002 at 03:34:43PM +0200, Gilad Ben-Yossef wrote: Is there a utility to measure memory usage of a process, preferably proken into static/stack/heap? The man page of GNU `time' suggests that it should do the trick, but running /usr/bin/time myprog always

[newbie] Renaming Files

2002-02-17 Thread Amichai Rotman
Hi All, I have 1444 files I've recovered using the undelfs in Midnight Commander. The file names are in inode format, something like: 123456:1. I would like to rename them all at once and just remove the :x part, i.e.: 123456. Any util available? Thanks. Amichai.

sendmail relay problem

2002-02-17 Thread tal amir
hi, after 2 hours of RTFM'ing, i gave up. this is mandrake 8.1, sendmail-8.12.1-4mdk. i am having problems relaying through that machine. for local addresses, i just addes the class (192.168.141) to /etc/access, followed by makemap hash access access, so local users can now relay. what about

Re: [newbie] Renaming Files

2002-02-17 Thread Dan Kenigsberg
Hi All, I have 1444 files I've recovered using the undelfs in Midnight Commander. The file names are in inode format, something like: 123456:1. I would like to rename them all at once and just remove the :x part, i.e.: 123456. Any util available? Thanks. Amichai. if you

Re: [newbie] Renaming Files

2002-02-17 Thread Tzafrir Cohen
On Sat, 16 Feb 2002, Amichai Rotman wrote: Hi All, Amichai, If you label your question as a newbie question, then please read the posting guidelines of this list: http://linux.org.il/mailing-lists/linux-il.html I quote from there: Linux-related questions and discussions. No newbie

Re: sendmail relay problem

2002-02-17 Thread Tzafrir Cohen
On Sun, 17 Feb 2002, tal amir wrote: hi, after 2 hours of RTFM'ing, i gave up. this is mandrake 8.1, sendmail-8.12.1-4mdk. i am having problems relaying through that machine. for local addresses, i just addes the class (192.168.141) to /etc/access, followed by makemap hash access access,