#!/bin/bash

#this shell is used for cli command "show system cpu-usage"
#no input parm.


if [ ! -f /tmp/system/cpuusage ]
then
echo 18 > /tmp/system/cpuusage
fi

cpuusage=`cat /tmp/system/cpuusage`
echo  "CPU usage: ${cpuusage}%"

exit 0

