* [gentoo-user] Is there a program to log the memory consumption of just one selected process...
@ 2007-01-23 7:33 Wolfgang Liebich
2007-01-23 9:07 ` Alexis Lahouze
2007-01-25 13:40 ` [gentoo-user] " Stefan Wimmer
0 siblings, 2 replies; 3+ messages in thread
From: Wolfgang Liebich @ 2007-01-23 7:33 UTC (permalink / raw
To: gentoo-user
Hi,
I want to trace the memory consumption of one selected process
(threads and maybe child processes included). In WindowsNT and higher
the Performance Monitor can do that. Is there a linux tool out there
which can perform that feat, or do I have to hack a script which
periodically looks into /proc and gathers all stats by itself?
Ciao,
Wolfgang
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Is there a program to log the memory consumption of just one selected process...
2007-01-23 7:33 [gentoo-user] Is there a program to log the memory consumption of just one selected process Wolfgang Liebich
@ 2007-01-23 9:07 ` Alexis Lahouze
2007-01-25 13:40 ` [gentoo-user] " Stefan Wimmer
1 sibling, 0 replies; 3+ messages in thread
From: Alexis Lahouze @ 2007-01-23 9:07 UTC (permalink / raw
To: gentoo-user
Hi,
# watch ps -C <processname> v
or
# watch ps -p <pid> v
v stands for virtual memory.
Otherwise
# watch /proc/<pid>/statm
This can help you on how to interpret the result:
http://redhat.activeventure.com/9/referenceguide/s1-proc-directories.html
(find statm)
If you want it graphically, I don't know... maybe ksysmon under kde or gtop...
I found this: http://www.linuxdocs.org/HOWTOs/Process-Monitor-HOWTO-8.html
2007/1/23, Wolfgang Liebich <Wolfgang.Liebich@siemens.com>:
> Hi,
> I want to trace the memory consumption of one selected process
> (threads and maybe child processes included). In WindowsNT and higher
> the Performance Monitor can do that. Is there a linux tool out there
> which can perform that feat, or do I have to hack a script which
> periodically looks into /proc and gathers all stats by itself?
> Ciao,
> Wolfgang
> --
> gentoo-user@gentoo.org mailing list
>
>
--
Alexis Lahouze - Capgemini Bordeaux
Développeur NTIC
+33 (0)6 85 81 05 71
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: Is there a program to log the memory consumption of just one selected process...
2007-01-23 7:33 [gentoo-user] Is there a program to log the memory consumption of just one selected process Wolfgang Liebich
2007-01-23 9:07 ` Alexis Lahouze
@ 2007-01-25 13:40 ` Stefan Wimmer
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Wimmer @ 2007-01-25 13:40 UTC (permalink / raw
To: gentoo-user
* Wolfgang Liebich <Wolfgang.Liebich@siemens.com> [2007-01-23 07:33] :
> Hi,
> I want to trace the memory consumption of one selected process
> (threads and maybe child processes included). In WindowsNT and higher
> the Performance Monitor can do that. Is there a linux tool out there
> which can perform that feat, or do I have to hack a script which
> periodically looks into /proc and gathers all stats by itself?
> Ciao,
> Wolfgang
You could give sys-process/htop a try ...
It lists all processes but you can select 1 process and monitor it - if
you use the tree-view you can follow it's child processes as well. It is
not very detailed but perhaps already enough for your needs ...
HTH
swimmer
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-01-25 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-23 7:33 [gentoo-user] Is there a program to log the memory consumption of just one selected process Wolfgang Liebich
2007-01-23 9:07 ` Alexis Lahouze
2007-01-25 13:40 ` [gentoo-user] " Stefan Wimmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox