Can someone please enlighten on what the difference is when passing the 'j' and '-l -y' options to the 'ps' utility.
An other good 'ps' resource is welcome too.
closed as off topic by nhinkle♦ Aug 12 '12 at 5:06
Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.
The ultimate resource would be the ps man page. You can access this from your terminal as well by typing
As for the options:
-j jobs format -l long format -y Do not show flags; show rss in place of addr. This option can only be used with -l.output of each switch (other combinations are possible):
[john@awesome]$ps -j PID PGID SID TTY TIME CMD 30693 30693 30693 pts/1 00:00:00 bash 30879 30879 30693 pts/1 00:00:00 ps [john@awesome]$ps -l F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD 0 S 1089 30693 30691 0 78 3 - 1166 wait pts/1 00:00:00 bash 0 R 1089 30882 30693 0 80 3 - 1052 - pts/1 00:00:00 ps [john@awesome]$ps -ly S UID PID PPID C PRI NI RSS SZ WCHAN TTY TIME CMD S 1089 30693 30691 0 78 3 1488 1166 wait pts/1 00:00:00 bash R 1089 30890 30693 0 80 3 820 1052 - pts/1 00:00:00 ps