ps -aefyl is not showing full command

1

I am trying to see full CMD value for command ps -aefyl but it is showing by truncating.

I am using SunOS Solaris 5.1.

Any clue?

goutham

Posted 2010-07-01T22:40:57.650

Reputation: 111

1There is no Solaris 5.1. I also strongly doubt you are running SunOS 5.1 which is 18 years old. You are more likely running Solaris 10 (SunOs 5.10). – jlliagre – 2010-07-04T08:43:13.220

Answers

3

Also note, that /usr/ucb/ps with -ww will show you full cmd of commands of which you are owner only.

Peter Vrabel

Posted 2010-07-01T22:40:57.650

Reputation: 131

3

I've always used:

/usr/ucb/ps -auxwww

dogbane

Posted 2010-07-01T22:40:57.650

Reputation: 3 771

1

Add the -w option, which means 'wide' (132 columns, to be specific).

For even more fun, try -ww (its meaning left as an exercise for the reader). :)

Ether

Posted 2010-07-01T22:40:57.650

Reputation: 1 007

No -w is not working, it says not a valid option. It works on IBM AIX but not on Sun Solaris – None – 2010-07-01T22:52:28.490

1@goutham: /usr/ucb/ps contains the "other" version, which supports the -w option. – Ether – 2010-07-01T23:09:34.167

1

try using the pargs command, check the man page "man pargs"

Chris Quenelle

Posted 2010-07-01T22:40:57.650

Reputation: 330