![]() |
Admins use ps all the time to look at processes running on a
system. But do you make the best use of the
multitude of options this very useful tool has, or do you stick to a tiny, tested handful? Here are some ps options to check out that you may not have encountered before.
ps r: Shows only running processes.ps f: Shows children descended from their parents in anS option to see CPU information from|
Recent Tips » Dragonfly BSD and Hammer » Clusters with Condor Read All Tips of the Trade |
ps e: Shows the command environment for each process. Thisps -t pts/3: Shows processes associated with the specifiedps u: Generates much more readable and human friendlyLook beyond the basics of ps, and you’ll find a wide array of options for managing system processes.
Options can be combined, but note that there are three types of option: a
single dash, a double dash or no dash at all. u is different
from -u. When combining options, the different option types must
be grouped separately (e.g., ps Sf -u jkemp.)
There are many more options that I haven’t space to discuss here — go check
out the manpage, and get yet more improved and exciting process info (try X or s)!
Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved
Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.