1834941 Members
2109 Online
110071 Solutions
New Discussion

Re: need the command

 
vasundhara
Frequent Advisor

need the command

Hi,

Can anyone help me in finding a command...
Which command will give me the following fields in output?
DATE TIME X PID PPID UID TSZ DSZ SSZ SHMSZ MMSZ USZ IOSZ VTSZ VDSZ VSSZ VSHMSZ VMMSZ VUSZ VIOSZ CMD

I am sure that these are not from "ps". I feel these are from glance/gpm.

If it is from glance, hoe to use this command from command line?

If it is not glance, which command will give me the above given fields???

Thanks,
VJ.
6 REPLIES 6
H.Merijn Brand (procura
Honored Contributor

Re: need the command

Have you tried

# ps -fl

and

# env UNIX95=" " ps -fl

?
Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Elmar P. Kolkman
Honored Contributor

Re: need the command

Seems like a list of fields is given to ps:
UNIX95= ps -o "stime ..."
(See man ps for a list of possible columns for the xpg4 version of ps)
Every problem has at least one solution. Only some solutions are harder to find.
vasundhara
Frequent Advisor

Re: need the command

ps -el is giving only SZ, but not all the SZ I mentioned above.
vasundhara
Frequent Advisor

Re: need the command

"ps -o" is not supported in all unix. In "man ps", its given that this option is valid only in "XPG4"
Pete Randall
Outstanding Contributor

Re: need the command

The XPG4 version is invoked via the
UNIX95= ps -o "stime ..."
syntax. Note the space after the equal sign.


Pete

Pete
vasundhara
Frequent Advisor

Re: need the command

I am able to find SZ with "ps" command, but not TSZ DSZ SSZ SHMSZ MMSZ USZ IOSZ VTSZ VDSZ VSSZ VSHMSZ VMMSZ VUSZ VIOSZ