[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ps hang
Re: ps hang
Tue, 26 May 2015 15:30:28 +0200
Quoting Esa Peuha (2015-05-26 10:41:37)
> Here is a patch that should break the infinite loop.
Cool. Thanks for looking into this.
> Samuel Thibault <email@example.com> wrote:
> > ps -o %r
> > hangs, could somebody have a look?
Just to make sure I understand the problem. AIUI there are two
1. For ps-hurd, -o == --posix-format (for libps that means no '%'),
and -F == --format (the format described in ps.h):
teythoon@darnassus:~$ ps-hurd -o ppid $$
teythoon@darnassus:~$ ps-hurd -F %ppid $$
teythoon@darnassus:~$ ps-hurd -F %r $$
ps-hurd: r: Unknown format spec
teythoon@darnassus:~$ ps-hurd -o %ppid $$
2. `%r' is AIX for pgid. Our ps doesn't understand that, but the one
from procps does:
teythoon@darnassus:~$ ps-hurd -o %r $$
teythoon@darnassus:~$ ps.procps -o %r $$
I conclude that `ps -o %r' never worked, but hanging is of course not
an option. Samuel, did you mean that?
Also, ps-hurd is suid root. wtf...
- ps hang, Samuel Thibault, 2015/05/02
- Re: ps hang, Esa Peuha, 2015/05/26
- Re: ps hang,
Justus Winter <=