http://qs321.pair.com?node_id=11148527


in reply to Re^2: Mechanism for ensuring only one instance of a Perl script can only run?
in thread Mechanism for ensuring only one instance of a Perl script can only run?

"… return no processes at all."

From README.freebsd-kvm of the current version of Proc::ProcessTable:

"FreeBSD 5.X not mounting /proc by default. Procfs is vulnerable system and its use is not recommended in future. In addition, mapping processes space to /proc is not correct (at least, in 7 of 7 my freebsd servers with FreeBSD5 installed). So, I decided to write this code. This module works via the kvm system."

And it should be possible to obtain the PIDs of the children of every loc-start command.

«The Crux of the Biscuit is the Apostrophe»

  • Comment on Re^3: Mechanism for ensuring only one instance of a Perl script can only run?