ps

Submitted by admin on Thu, 04/05/2007 - 07:31.
::

ps is a program that displays the currently running processes.Frequently used options -a Show processes that are owned by other users and attached to a terminal. Normally, only the current user's processes are shown. -f "Forest" mode, which is used to display process family trees. For example, using this option will display all running child web servers (httpd) in a hierarchical diagram under the parent web server. (There is also a separate command called pstree that does this nicely.) -l Long format, which includes priority, parent PID, and other information. -u User format, which includes usernames and the start time of processes. -w Wide output format, used to eliminate the default output line truncation. Useful for the -f option. -x Include processes without controlling terminals. Often needed to see daemon processes and others not started from a terminal session. -C cmd Display instances of command name cmd. -U user Display processes owned by username user. Exemples$ ps aux