From 941288a85098c489a268d40adddd4751545d057e Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 4 Mar 2016 11:53:00 +1300 Subject: Import fix for cpu clock rate. Uses https://bugs.freebsd.org/bugzilla/attachment.cgi?id=167629&action=edit Thanks to xavi.garcia@gmail.com --- minimunin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimunin b/minimunin index ada2a3e..881d6be 100755 --- a/minimunin +++ b/minimunin @@ -239,7 +239,7 @@ cat <<-EOF EOF ;; cpu) - cdef=`get_sys kern.clockrate` ; cdef=${cdef#*stathz =}; cdef=${cdef% *}",/,100,*" + cdef=$(get_sys kern.clockrate) ; cdef=${cdef#*stathz = }; cdef=${cdef% *}",/,100,*" cat <<-EOF graph_title CPU usage graph_order system interrupt user nice idle -- cgit v1.2.3