Make "ps" list FULL zone name

  • Follow


Hello.

On my system, I've got 2 zones setup, which have more or less
the same name: ldap-server and ldap-server2. When I now do a
"ps -Z", it shows me:

ldap-ser    root  1713     1   0   Okt 01 ?           0:00 /usr/lib/ssh/sshd
ldap-ser     adm 21808 21805   0 09:00:59 ?           0:00 /usr/lib/ssh/sshd

Is there a way to instruct "ps" to list the *full* zone name,
instead of some abbreviatioN?

Thanks,

Alexander
0
Reply alexander930 (342) 10/4/2007 7:07:07 AM

Alexander Skwar <alexander@skwar.name> wrote:
> Hello.
> 
> On my system, I've got 2 zones setup, which have more or less
> the same name: ldap-server and ldap-server2. When I now do a
> "ps -Z", it shows me:
> 
> ldap-ser    root  1713     1   0   Okt 01 ?           0:00 /usr/lib/ssh/sshd
> ldap-ser     adm 21808 21805   0 09:00:59 ?           0:00 /usr/lib/ssh/sshd
> 
> Is there a way to instruct "ps" to list the *full* zone name,
> instead of some abbreviatioN?
> 
> Thanks,
> 
> Alexander

I seem to think you can list processes by the "number" of a zone, whatever 
that's called, instead of the truncated full name.
0
Reply Cydrome 10/4/2007 7:26:31 AM


Cydrome Leader <presence@MUNGEpanix.com> wrote:

> I seem to think you can list processes by the "number" of a zone, whatever
> that's called, instead of the truncated full name.

RTFM ;)

                     ated zone name. Use

                     ps -eo zone,uid,pid,ppid,time,comm,...

                     to see zone names wider than 8 characters.

Sorry about that.

Alexander
0
Reply Alexander 10/4/2007 7:58:51 AM

Alexander Skwar <alexander@skwar.name> wrote:
> Cydrome Leader <presence@MUNGEpanix.com> wrote:
> 
>> I seem to think you can list processes by the "number" of a zone, whatever
>> that's called, instead of the truncated full name.
> 
> RTFM ;)
> 
>                     ated zone name. Use
> 
>                     ps -eo zone,uid,pid,ppid,time,comm,...
> 
>                     to see zone names wider than 8 characters.
> 
> Sorry about that.
> 
> Alexander

that might be a newer feature, or they finally updated the man pages. I 
remember having a problem like yours at one point.
0
Reply Cydrome 10/5/2007 12:04:30 AM

3 Replies
683 Views

(page loaded in 0.074 seconds)

Similiar Articles:













7/22/2012 11:36:48 AM


Reply: