On 26 Feb 2003, Ian Zimmerman wrote: > Under Linux, I solved this by stat'ing /proc/<pid>/ . > What is the BSD way? ps -axjw | grep foo | awk '{print $3}' the "j" flag is handy. -------/ f. johan beisser /--------------------------------------+ http://caustic.org/~jan jan at caustic.org "Champagne for my real friends, real pain for my sham friends." -- Tom Waits