Discussion:
bug#29968: Was "ps ef" intending to be "ps -ef"?
Bob Proulx
2018-01-03 21:09:14 UTC
Permalink
Thanks. I installed the attached slightly-simpler patch into Gnulib, and it
should appear in the next Gzip release.
- cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef; netstat -n'
+ cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef'
I saw this in passing and it looks like there was another previous bug
there already. I see "ps auxww; ps ef;" and I think immediately that
the original intention must have been "ps auxww; ps -ef;" since that
would be the normal idioms for BSD style and SysV style ps.

Which I think means this change is begging to be made:

- cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef'
+ cmds_='date; date +%N; free; who -a; w; ps auxww; ps -ef'

Bob
Paul Eggert
2018-01-03 21:31:37 UTC
Permalink
Post by Bob Proulx
- cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef'
+ cmds_='date; date +%N; free; who -a; w; ps auxww; ps -ef'
Thanks, I installed that, along with similar fixes to build-aux/mktempd.
Bob Proulx
2018-01-03 22:34:22 UTC
Permalink
Post by Paul Eggert
Post by Bob Proulx
- cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef'
+ cmds_='date; date +%N; free; who -a; w; ps auxww; ps -ef'
Thanks, I installed that, along with similar fixes to build-aux/mktempd.
Awesome! Thanks!

Bob

Loading...