Hi everyone.
I am using Perl and the module Net::DNS for performing a zone transfer.
My problem is that I create a resolver object that seems to ignore the "timeout" parameter I set.
I put the code here:
-----------------------
#!/usr/bin/perl -w
use Net::DNS ;
my $res =...
Could you help me?
how can i get the *current* cpu load?
I know there is a command called "uptime", but it shows an average of 15 past seconds at least..I'd need the current load.
How can I get statistics about how long a process was running, and how long a procedure/function was...
whats the range of numbers displayed by uptime's "load average"? i mean, looking up the "load average", how can i get the percentage of cpu load?
Thank you.
how can i get the current cpu load under linux?
The command "uptime" gives something for the past 1,5 and 15 minutes, but i'd need the *current* state.
Thank you.
hello..
whats the meaning of a "sleeping" process in linux?
is there a (short and to the point) web source of information that i could read for knowing more about linux processes and their state?
thank you so much.
I would appreciate if someone could help me letting me know if there is a perl function that can return the pid number of a process. That is, if a perl script is process number xxx, a call to that function should return xxx. I know that exists "getppid" that returns the pid of your...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.