Menu

#3 Can't access `cmndline'

open
nobody
None
5
2003-12-05
2003-12-05
Anonymous
No

There are process that runs every minute:

my (@ps);
my $t = new Proc::ProcessTable;
foreach my $p ( @{$t->table} ){
push(@ps, $p->cmndline);
}

Sometimes I get the following error:
"Can't access `cmndline' field in class
Proc::ProcessTable::Process"

This happens from 2 to 10 times per day. Is this a bug
or feature? :)

FreeBSD 4.6, FreeBSD 4,8 anf FreeBSD 5.1.
perl 5.8.0
Perl::Process 0.39.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.