pavement

Ps

From FreeBSDwiki
Revision as of 20:29, 25 August 2004 by Jimbo (Talk | contribs)
Jump to: navigation, search

ps will show your running processes. If run from a regular user shell or an xterm window, it'll only show you your processes. If run as root, it will show all processes.

There were different switches used in different versions of ps -- historically, SysV needs the -ef switches to show all processes and BSD needed -aux. ps is now smarter and will accept either switch and show you what you wanted to see. It is, however, a good idea to feed ps the switches with no hyphen in front of them - ie ps aux - because while FreeBSD understands either syntax, Linux only understands the latter.

Personal tools