Skip to content
Prev 23777 / 63421 Next

Help with OS X (BSD) ps command

Most systems do not have pgrep: it is not POSIX.  From Linux:

STANDARDS
        pkill and pgrep were introduced in Sun's Solaris 7.  This implementation is fully
        compatible.


The man pages of Darwin and many other systems are online, and linked from
developer.r-project.org.  You could do what the R developers do, and look 
at them.

However, you seem not to have looked on your own system, as my Linux 'ps' 
man page tells me the BSD syntax, and I can test it on Linux's 'ps'.  I 
guess you want 'ps ux'.
On Fri, 2 Feb 2007, Jeffrey J. Hallman wrote: