top process full path
Does anyone know to show the full path of the process when issuing the top command?
I have a complicated command that I need to see the full command, not just a trucated version of it. top and top -c //does not show the full command either, just a trucated version |
Code:
302 root 16 0 58556 30m 4648 S 0.3 6.1 2:34.82 /usr/X11R6/bin/X -auth /usr/X11R6/lib/X11/xdm/authdir/authfiles/A:0-bL4c3e Cheers, Tink |
The command is trucated in top. After X amount of characters for command stat, top truncates the output.
Ex. After 60 characters top leaves the rest off. There has to be a way, because I have seen where the output I am looking for is produced. top -c still trucates the command. If there was someway I could turn on a wrap-around feature that would be nice. |
Ummm ... make the terminal wider?
Or use batch and redirect the output to a file... Cheers, Tink |
Try all those options before and nothing seems to work. I might have to call Shaggy and the gang on this one, it is a mystery.
|
Are you doing this in an xterm or what? What's the
echo $TERM ? I feel quite confident that the problem is due to your setup rather than a problem of top ... even deadrat/ fudora can't screw top up that badly ;) Cheers, Tink |
I agree, I think this is an issue with the terminal. That is the reason I am looking for some way either to wrap around or hortizontal scroll. It would not make sense at all for top to truncate when you specific the -c option.
echo $TERM = xterm. I have tried both in gnome-shell and xterm. I just cant find an option to extend hortizontal scroll. BTW, RH3.0AS |
Do you have to use top? Why not just issue a
Code:
ps ax That'll give you the entire command. |
All times are GMT -5. The time now is 12:12 AM. |