On linux I would be inclined to read from /proc/meminfo rather than spawning an external program - infact I thought I had started to write a module to do just that but can't find it anywhere
Update: I remember why I never did it now - because the already is one on cpan - Linux::Meminfo ;-)
/J\
In reply to Re: vmstat threshold script
by gellyfish
in thread vmstat threshold script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |