Mailinglist Archive: opensuse (3572 mails)

< Previous Next >
Re: [opensuse] ps vs. grep
  • From: Aaron Kulkis <akulkis00@xxxxxxxxxx>
  • Date: Tue, 12 Feb 2008 14:01:51 -0500
  • Message-id: <47B1ED1F.50509@xxxxxxxxxx>
Anders Johansson wrote:
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

Hmmmm. Sounds like it's time to see what the hell is going
on over at the FSF. Such a thing should DEFINITELY not be
the default behavior, but turned on only by an environment
variable or command line flag.




Anders




--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References