October 29th, 2003, 10:26 PM
unable to see the ps -ef full details
I am unable to see the command in ps -ef output. The last colomn of the ps -ef output consisting of the command is truncated. I need the full path of the process command. is there any way to acheive this
October 30th, 2003, 11:47 AM
I usually do a:
# export COLUMNS=1000
# ps -ef|less
(less will let you scroll horizontally then )
but if this works will depend on your specific versions of UNIX, "less" and "ps".
October 30th, 2003, 02:55 PM
This might work, depending on unix flavor:
ps -ef | fold
Will wrap long lines to next line.
November 3rd, 2003, 07:47 AM
If you are using solaris try /usr/ucb/ps -auxwww instead of ps -ef
it doesn't truncate the output like ps does.
November 12th, 2003, 12:47 PM
Hey I got this with the help of /usr/ucb/ps -auxww. That made my life easier. Thank you.
One more small help needed. I want to cut any one field ( I mean column) from the output of /usr/ucb/ps -auxww. I am unable to find the field separator to use "cut" command. can any body help me out to solve this. Thank you
I have the total output as follows
root 1695 2.3 0.2 4008 2936 ? S 13:32:41 0:01 /opt/opendeploy/bin/iwdeploy -fs /opt/opendeploy/conf/branches/SolarisFarm/content/technology/governance/iw.odclient.cfg -V 1 staging-to-s0056pdv
Now I want to cut the parts
Please let me know...