Help for this page

Select Code to Download


  1. or download this
    sub get_memory_tot {
            return $WAI->kBToMB($WAI->getMem()->{'MemTotal'} );
    }
    ...
    sub get_swap {
            return $WAI->kBToMB( $WAI->getMem()->{'SwapTotal'});
    }