Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
zaxxon
Hi,
just noticed that the calculation of used Paging Space is done wrong:
expr 100 * / ps_size
It should be:
expr 100 * / ps_size
Or you could just grab the used size in percent from the output of "lsps -a".
Also expr does not allow floats which will cause a problem anyway. awk will work.
Multiple allocated Paging Spaces are pretty but could happen and are not considered.
Cheers
zaxxon
just noticed that the calculation of used Paging Space is done wrong:
expr 100 * / ps_size
It should be:
expr 100 * / ps_size
Or you could just grab the used size in percent from the output of "lsps -a".
Also expr does not allow floats which will cause a problem anyway. awk will work.
Multiple allocated Paging Spaces are pretty but could happen and are not considered.
Cheers
zaxxon