I'm an idiot and didn't notice the missing '='. [EMAIL PROTECTED]:~$ ps -o command= -p 17145 bash
[EMAIL PROTECTED]:~$ ps -o cmd= -p 17145 bash Matte, could you please verify the above on your FreeBSD server? Thanks, Bradley Bradley Taylor wrote: > Hi Matte: > > Thanks for trying status out on a BSD system. The command below works on > linux, but doesn't return the same output: > > [EMAIL PROTECTED]:~$ ps -o cmd= -p 17145 > bash > > [EMAIL PROTECTED]:~$ ps -o command -p 17145 > COMMAND > bash > > I'll see if I can make that ps call a little less linux-specific. In the > mean time, I'm open to suggestions/patches from someone who can test on > both. > > Regards, > Bradley > >> It works after changing the line to read... >> >> ps_output = `ps -o command -p #{pid}` >> > _______________________________________________ > Mongrel-users mailing list > Mongrel-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users