It only shows the first 15 characters from /proc/pid/stat. But "ps -w pid" shows wide output. Why? Is this a bug? Thanks.
“ps -ew” won’t show wide output
ps
ps
It only shows the first 15 characters from /proc/pid/stat. But "ps -w pid" shows wide output. Why? Is this a bug? Thanks.
Best Answer
I don't think "wide output" means what you want. I created a script named
foo_foo_foo_foo_foo_foo_foo_foo_foo_foo_foo_foo_foo_foo.sh
and get the followingThe only thing
w
and-w
seem to do is let lines wrap if I shrink the window so it won't fit on a line: