Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
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 '10 at 8:43
add comment

migrated from stackoverflow.com Jul 3 '10 at 6:31

This question came from our site for professional and enthusiast programmers.

4 Answers

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

share|improve this answer
add comment

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). :)

share|improve this answer
    
No -w is not working, it says not a valid option. It works on IBM AIX but not on Sun Solaris –  goutham Jul 1 '10 at 22:52
1  
@goutham: /usr/ucb/ps contains the "other" version, which supports the -w option. –  Ether Jul 1 '10 at 23:09
    
Yes that works! Thank you very much! –  goutham Jul 2 '10 at 0:50
add comment

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

share|improve this answer
add comment

I've always used:

/usr/ucb/ps -auxwww
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.