On Tuesday 12 February 2008 11:11, Anders Johansson wrote:
On Tuesday 12 February 2008 20:04:18 Dave Crouse wrote:
Many versions of ps truncate lines at a certain length if they can't determine the terminal size.
I know that, I even said so. That's not what's happening here.
Now it's started truncating individual fields (in this case the name of the program), instead of truncating the whole line
This is not something it has done before
It seems it's just trying to be clever. The examples you gave were of applications that were swapped out, so ps doesn't have access to the real command line and instead prints only the program's base name as recorded in the process table. This is signified by enclosing that name in square brackets. The cleverness, such as it is, then, is not discarding the trailing square bracket and truncating the string inside the square brackets. And as ever, when run through a pipe, a default width must be used, since the output is not going (directly) to a terminal.
Anders
-- Madness takes its toll
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org