tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pwait(1) added



On Wed, Mar 04, 2015 at 11:43:27AM +0100, Kamil Rytarowski wrote:
> Joerg Sonnenberger wrote:
> > On Tue, Mar 03, 2015 at 10:27:53PM +0100, Kamil Rytarowski wrote:
> > > Joerg asked in another mail for something non trivial for a basic process,
> > > something I would do in a high-level scripting language (Perl, Python).
> > 
> > There is no existing facility to get all the necessary data.
> > 
> > Joerg
> > 
> 
> What's missing in Perl CPAN archives? Perhaps this combo would do the job:
> https://metacpan.org/pod/Devel::DTrace
> https://metacpan.org/pod/Unix::Statgrab
> 
> DTrace for tracing spawning processes and threads,
> statgrap for helping to detect inactive jobs.

DTrace is extremely heavy and doesn't even cross-compile right now.
Seriously, it is a bug if such a moderately simple task requires a full
blown generic kernel interception mechanism.

Joerg


Home | Main Index | Thread Index | Old Index