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?

1
  • 1
    There 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
    Jul 4, 2010 at 8:43

4 Answers 4

3

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

3

I've always used:

/usr/ucb/ps -auxwww
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). :)

2
  • No -w is not working, it says not a valid option. It works on IBM AIX but not on Sun Solaris
    – goutham
    Jul 1, 2010 at 22:52
  • 1
    @goutham: /usr/ucb/ps contains the "other" version, which supports the -w option.
    – Ether
    Jul 1, 2010 at 23:09
1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .