>...to print the zone name as well as whatever other output.  That's because
>ps ORs multiple selection options together, but pgrep ANDs them together,
>which sure would be nice in the global zone; for example, it would be
>handy to be able to do something like
>pgrep -Z -x -z zone01,zone02 -u user01,user02 -l -x process_name
>and get back
>   123  zone01      process_name
> 4567  zone02      process_name

That's why you have ps -p and pgrep -d

        ps -o pid,zone,name -p `pgrep -d , -u .... -z ....`


zones-discuss mailing list

Reply via email to