dot

packages and services management
Log | Files | Refs | README

commit 162349b3034a94980c13edee1db1f4cbde43bca7
parent f2e5e750b963bf021427b603cab0e3bf67d2d8ff
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Tue,  8 Aug 2017 16:42:29 +0200

monitor/bin/monitor-step: tested on SunOS (thanks Gandi.net!).

Diffstat:
Mmonitor/bin/monitor-step | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/monitor/bin/monitor-step b/monitor/bin/monitor-step @@ -8,9 +8,10 @@ # 4. cpu usage case "$(uname)" in -(Linux ) mem=free cpu=id bi=bi bo=bo b='' ;; -(*BSD ) mem=fre cpu=id bi='' bo='' b="$disks" ;; -(Solaris) mem=free cpu=id bi='' bo='' b="$disks" ;; +(Linux ) mem=free cpu=id bi=bi bo=bo ;; +(*BSD ) mem=fre cpu=id bi='' bo='' ;; +(Solaris) mem=free cpu=id bi='' bo='' ;; +(SunOS ) mem=free cpu=id bi='' bo='' ;; esac vmstat "${1:-15}" 2 |