Toggle navigation
All Forums
Recent Posts
Sign In
ps command
dstranathan
Posted:
March 11, 2003 12:47PM
in
macOS
edited January 2014
How do you use the ps command?
Any favorite handy ps options you use a lot?
Examples?
Comments
Reply 1 of 3
lungaretta
Posts:
194
member
March 11, 2003 2:58PM
on linux i use ps -axlf a lot to locate the heirarchies of processes but unfortunately the -f option isn't implemented on apples BSD and ps -axl doesn't really cut it for me.
anyone who knows a way of displaying the heiarchies of PIDs on osx?
Reply 2 of 3
chych
Posts:
860
member
March 12, 2003 8:37PM
Read the man pages (type in man ps)
I usually use:
ps -aux
and
ps -aux | grep "search string"
Make sure your terminal window is wide, ps has an issue of not displaying stuff on narrow terminal windows.
Reply 3 of 3
code master
Posts:
344
member
March 13, 2003 6:55PM
for just finding PID's or being able to see the names in the small windows, I use 'ps -ax'.
However, I think 'top' is much more fun and 'top -u' shows the top processor hogs.
Weird, the kernal_tas is being a processor hog... I don't think it should be...
Sign In
or
Register
to comment.
Comments
anyone who knows a way of displaying the heiarchies of PIDs on osx?
I usually use:
ps -aux
and
ps -aux | grep "search string"
Make sure your terminal window is wide, ps has an issue of not displaying stuff on narrow terminal windows.
However, I think 'top' is much more fun and 'top -u' shows the top processor hogs.
Weird, the kernal_tas is being a processor hog... I don't think it should be...