On Wed, Mar 26, 2008 at 09:18:59PM +0100, Frans Pop wrote:
> In Debian Installer we're seeing a regression in pidof. For certain
> processes it no longer returns the PID.
>
> # ps ax | grep [d]ebian-installer
> 452 root 1408 S /bin/sh /sbin/debian-installer
> 5594 root 1964 S /bin/sh /sbin/debian-installer
> /bin/network-console-m
> 5641 root 1964 S /bin/sh /sbin/debian-installer
> /bin/network-console-m
> # pidof debian-installer
> #
This matches the behaviour of the sysvinit pidof:
| $ pidof sh
| 8402
| $ pidof test.sh
| $ ps x | grep test.sh
| 8402 pts/4 S+ 0:00 /bin/sh ./test.sh
Bastian
--
The best diplomat I know is a fully activated phaser bank.
-- Scotty
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]