Tip of the Trade: ps Options
Aug 13, 2008, 23:04 (0 Talkback[s])
(Other stories by Juliet Kemp)
"ps e: Shows the command environment for each process. This is
useful in a situation where a program works for one user but not
for another, or on one machine but not on another.
"ps -t pts/3: Shows processes associated with the specified tty.
I've found this useful when trying to work out who's doing what on
a remote machine, and for how long."