commit 33a3da36cd2cf11f6ee181603b5b72d73aef18e8 from: mischa date: Mon May 27 13:55:26 2024 UTC forgot the CPU load :) commit - fdd9b9db6dc67854569c8be478f4c656e412271d commit + 33a3da36cd2cf11f6ee181603b5b72d73aef18e8 blob - 646225f5dd3d3ba7718f1bc8f9fff634aefbefe5 blob + 09c2a6eee4c17cee288099c1d29c7b96918daefd --- load.sh +++ load.sh @@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # LOAD=45 -OUT=$(ps -uU _vmd | awk -v var="${LOAD}" '$12 !~ /\// && $3 > var {print $12}') +OUT=$(ps -uU _vmd | awk -v var="${LOAD}" '$12 !~ /\// && $3 > var {print $12, $3"%"}') if [ "$OUT" ]; then echo $(hostname) echo ${OUT}