cod3fr3ak
September 12th, 2003, 18:09
is there anyway I could get a Solaris style ps output from OpenBSD?

bmw
September 12th, 2003, 19:38
Compile GNU ps on your box. I don't know if there's a port for it; if not, it could be non-trivial. Depends on whether config recognizes OpenBSD.

Anyway, you can see the thousands of arcane options it has here:

http://www.freebsd.org/cgi/man.cgi?query=ps&apropos=0&sektion=1&manpath=SuSE+Linux%2Fi386+7.3&format=html

frisco
September 12th, 2003, 20:09
Pipe BSD ps through an appropriate sed awk or perl filter?

Also see http://search.cpan.org/author/DURIST/Proc-ProcessTable-0.38/ProcessTable.pm

I'm curious: what's your end goal?

cod3fr3ak
September 13th, 2003, 16:38
Well the Solaris ps -aef command shows not only what processes are running like users ttys and console, but it also shows any daemons or other things that the system is running like inetd, sendmail, nscd, named, etc.
I am just so used to doing that command to see whats running on my machine. AND I have not been about to do the OpenBSD ps with the switchs to give me the same output.

bmw
September 13th, 2003, 17:32
Well the Solaris ps -aef command shows not only what processes are running like users ttys and console, but it also shows any daemons or other things that the system is running like inetd, sendmail, nscd, named, etc.
I am just so used to doing that command to see whats running on my machine. AND I have not been about to do the OpenBSD ps with the switchs to give me the same output.

Well, I can't quite parse that last sentence, but assuming you would be willing to let your fingers learn the right 'strokes for the BSD equiv., I think you'll find that [code:1:6e9b054139]ps ax[/code:1:6e9b054139] or [code:1:6e9b054139]ps aux[/code:1:6e9b054139] gets you pretty-much what you want. Sometimes you need [code:1:6e9b054139]ps axww[/code:1:6e9b054139] to see the entire command-lines.

My own fingers are trained to recognize the ugly output that BSD gives when I type ps -e at it, and vice versa for SysV-style Unixen, and instantly switch and try again. :-)

cod3fr3ak
September 14th, 2003, 09:26
AHHHHHHH. Bless you!!!!