ps [options]Report on active processes. In options, list arguments should either be separated by commas or put in double quotes. In comparing the amount of output produced, note that -e > -d > -a and -l > -f. In the BSD version, options work much differently; you can also display data for a single process.
-aList all processes except group leaders and processes not associated with a terminal.
-ASame as -e. Solaris only.
-cList scheduler data set by priocntl (an administrative command).
-dList all processes except session leaders.
-eList all processes.
-fProduce a full listing.
-glistList data only for specified list of group leader ID numbers (i.e., processes with same ID and group ID).
-G listShow information for processes whose real group ID is found in list. Solaris only.
-jPrint the process group ID and session ID.
-lProduce a long listing.
-nfileUse the alternate file for the list of function names in the running kernel (default is /unix); obsolete as of SVR4.
-o formatCustomize information according to format. Rarely used. Solaris only.
-plistList data only for process IDs in list.
-slistList data only for session leader IDs in list.
-tlistList data only for terminals in list (e.g., tty1).
-ulistList data only for usernames in list.
-U uidlistShow information for processes whose real user ID is found in list. Solaris only.
-yWith -l, omit the F and ADDR columns and use kilobytes instead of pages for the RSS and SZ columns. Solaris only.