Hacker News new | ask | show | jobs
by StringyBob 1497 days ago
ps. By far the worst. Because it supports multiple syntax types I can never remember the ps command options. Even if you google for examples you get different syntax and end up with a mix of the same option letters doing different things in one command. It seems to lead to all sorts of subtly unexpected behaviors
2 comments

    ps -ef | grep foo 
Is what I use 98% of the time.
ps aux then pipe to grep and/or cut. Or sort. Or...
ps afx

I like the forest (tree) mode.