App-MultiModule-Tasks-ResourceWatcher

 view release on metacpan or  search on metacpan

NOTES  view on Meta::CPAN

    a. On its own, and we notice it's no longer there
    b. We terminate it.
2. On an interval, so other tasks can graph/monitor

Back to my inner purist: one very likely use case is to use this to monitor/graph resources for various processes not related to MultiModule.  In that case, it will make a lot of sense to accept regexes.

How to gather:

Look at P9Y::ProcessTable

Yah, this looks good:
#!/usr/local/toolsx/bin/perl

use Modern::Perl;
use Data::Dumper;
use P9Y::ProcessTable;
 
my @process_table = P9Y::ProcessTable->table;

say Dumper \@process_table;



( run in 0.451 second using v1.01-cache-2.11-cpan-64827b87656 )