11 Uses for the ‘ps’ Command in Linux

For system administrators, ps is a frequently-used tool. It’s used to list the currently-running processes on your system with a variety of filter and display modes available through flags and arguments. The syntax of ps can be subtly odd. We will follow the UNIX convention of a single dash preceding a flag since that’s by far the most widely-supported syntax. However, it can also be run with BSD syntax, which drops prefixed dashes and uses a separate flag name syntax. For example, the aux flag replaces the more common -ef flag. Make sure you know which one you’re using. Related: The Beginner’s Guide to pstree… Read more