PS Command output is truncated in solaris. I tried the below command after googling out. It doesn't work. Not sure what needs to be done

/usr/ucb/ps awwx

link|improve this question
What do you mean "truncated"? Have you read the manual? – Matthew Flaschen Jun 3 '10 at 0:41
"It doesn't work" doesn't work. – Dennis Williamson Jun 3 '10 at 2:44
feedback

migrated from stackoverflow.com Jun 3 '10 at 0:52

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

1 Answer

up vote 3 down vote accepted

Solaris 10 and later no longer make /usr/ucb/ps setuid-root by default, and you need root privileges to poke into the address space of other users processes to get the full set of arguments.

Run it as root or the process owner to see more than 80 characters of the command line.

For further reference:

link|improve this answer
Thanks a lot for the info – user38993 Jun 3 '10 at 3:28
feedback

Your Answer

 
or
required, but never shown

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