l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2009 Aug 22 22:37

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] command to monitor memory usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] command to monitor memory usage

Ken Bloom wrote:
> There are various GUI tools (gtop) comes to mind that act like top.
> ps can tell you the current memory usage of a given program (when used
> in conjunction with grep), and as Pete mentioned, the watch command can
> get you that information updated continuously.

	G/top and those like it are good for some things but not for a
	single process.

	ps -ef | grep name-of-process
	ps --pid=??????

	Replace name-of-process with the name of the process you are
	looking at (such as sendmail) will give you the info. But you
	can also look for the process ID itself if you know it using
	the '--pid=??????' where you replace the '?????' with the PID
	of the process you want info for (note: you may need to use
	ps to get the PID of the process).

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.