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

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 runni

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' sugge

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

Re: how to measure process memory usage?

2002-02-17 Thread guy keren
;[EMAIL PROTECTED]> > To: Dan Kenigsberg <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: how to measure process memory usage? > > On Sun, Feb 17, 2002, Dan Kenigsberg wrote about "how to measure process memory >usage?": > > Is there a utility to me

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 w

Re: how to measure process memory usage?

2002-02-17 Thread guy keren
On Sun, 17 Feb 2002, Nadav Har'El wrote: > > 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//maps. Obviously, it's > Linux-specific. well, h

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 contin

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 myp