Script-friendly (parseble) ps(1) output?

Eduardo Meyer dudu.meyer at
Fri Oct 31 05:40:09 PDT 2008

On Fri, Oct 31, 2008 at 8:03 AM, Oliver Fromme <olli at> wrote:
> Eduardo Meyer wrote:
>  > Now my next problem, do the sabe with sockstat....
> I think in earlier days sockstat was just a script that
> merged the output from netstat and fstat (or maybe some
> third tool, too, I don't remember).  So, you might try
> to use netstat and fstat instead.  Of course it depends
> on what information you exactly need from the sockstat
> output (if not all of it).
> Best regards
>   Oliver

Right, I can potentially find the sabe information with netstat. I
will check if it can be safely parsed. Thank you.

> --
> Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
> Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
> secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
> chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
> FreeBSD-Dienstleistungen, -Produkte und mehr:
> "If you aim the gun at your foot and pull the trigger, it's
> UNIX's job to ensure reliable delivery of the bullet to
> where you aimed the gun (in this case, Mr. Foot)."
>        -- Terry Lambert, FreeBSD-hackers mailing list.

Eduardo Meyer
pessoal: dudu.meyer at
profissional: ddm.farmaciap at

More information about the freebsd-stable mailing list