Many versions of ps truncate lines at a certain length if they can't
determine the terminal size.
Use the "w" option to stop the truncating :
-w Wide output. Use this option twice for unlimited width.
w Wide output. Use this option twice for unlimited width.
HTH's
Crouse
On 2/12/08, Anders Johansson
Here's a phenomenon I haven't seen before
I happened to see in the output from "ps aux" these processes
ajh 31091 0.0 0.0 0 0 ? Zs Feb10 0:00 [mpl] <defunct> ajh 31476 0.0 0.0 0 0 ? Zs Feb10 0:00 [mpl] <defunct> ajh 31882 0.0 0.0 0 0 ? Zs Feb10 0:00 [mpl] <defunct> ajh 32288 0.0 0.0 0 0 ? Zs Feb10 0:00 [mpl] <defunct> ajh 32474 0.0 0.0 0 0 ? Zs Feb10 0:00 [mpl] <defunct> ajh 32517 0.0 0.0 0 0 ? Zs Feb10 0:00 [mpl] <defunct> ajh 32627 0.0 0.0 0 0 ? Zs Feb10 0:00 [mpl] <defunct>
I didn't know what "mpl" was, and spent some time searching for it. Then, for whatever reason, I wanted to refresh the ps list, so I did "ps aux|grep mpl", and I got this
ajh 31091 0.0 0.0 0 0 ? Zs Feb10 0:00 [mplayer] <defunct> ajh 31476 0.0 0.0 0 0 ? Zs Feb10 0:00 [mplayer] <defunct> ajh 31882 0.0 0.0 0 0 ? Zs Feb10 0:00 [mplayer] <defunct> ajh 32288 0.0 0.0 0 0 ? Zs Feb10 0:00 [mplayer] <defunct> ajh 32474 0.0 0.0 0 0 ? Zs Feb10 0:00 [mplayer] <defunct> ajh 32517 0.0 0.0 0 0 ? Zs Feb10 0:00 [mplayer] <defunct> ajh 32627 0.0 0.0 0 0 ? Zs Feb10 0:00 [mplayer] <defunct>
So ps truncates individual fields in the output now based on the size of the output medium, instead of just cutting off the line?
That's something I have't seen before
Anders
-- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org