Hi, I was just thinking what a nice module to write. What should I name it? Did a search on 'System' in CPAN and found these modules:
Sys::CpuLoad,
Sys::Load and
System::Index (for a moment I'll not distinguish between CPU usage and 'load').
System Index has an original approach of having some fixed functions by which an index for memory, CPU and disk-usage is calculated. This might tell you more than CPU-usage or load (I'm presuming here you want to know more about system performance, not only CPU-usage). I've seen machines with loads over 200 that had no performance problems (lots of processes in the run-queue that only needed a short slice of processor time). CPU usage will tell you something about CPU usage (duh), I mainly use that to estimate if the CPU is a bottleneck (if usage is >80% most of the time).
My point: If somebody is 2.20 meters long that is an indication that he/she might be a good basketball player, but you have to take into account a lot more then heigth alone.
update: fixed the System::Index link, I can't find it via search.cpan.org, only via kobesearch.cpan.org
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.