On 23.01.2013 00:51, Andreas Bießmann wrote:
> ps on BSD hosts (like OS X) do not provide the --no-headers switch nor
> understand the AIX format descriptions. Make the call for ps portable and
> filter
> the relevant line from output (including the header) with sed.
> Also switch from pgrep to ps
ps on BSD hosts (like OS X) do not provide the --no-headers switch nor
understand the AIX format descriptions. Make the call for ps portable and filter
the relevant line from output (including the header) with sed.
Also switch from pgrep to ps to get the list of children and use the same
mechanism
2 matches
Mail list logo