@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@Author: VishwaPrabhakar Singh vtechcoder@gmail.com @@Type : Shell and batch script @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Here are instruction to use the scripts to run the script in Unix/Linux environment follow these steps 1-Open terminal in the extracted file location or use cd command to triverse theres 2-type "sudo -i" 3-enter your root password 4-to run the script use this command ./cpustat.sh (press enter)
to run the script in windows environment use the following steps 1-click on start menu (or press windows start button from keyboard) 2-type command promt press enter 3-use cd command to triverse to the location of the extracted directory. 4-use this command to run the script cpustat.bat (press enter)
This script uses bash shell and it calles some prefined fucntion in the shell and use them as argument fot its own function to get the desired result. There is an extra feature in the script it fetch all the system info data and store that in text file so you can share it via email or other.
In respect to the Windows .bat file this script use the internal cmd list function of the Disk Operating System DOS of the windows operating system to get the desired result. This script migh look simple but when you will run it you will realise its not this script basically echos the output of the several command and arguments described in it but in combine shows us the overall status of the computer.
The End thank for Reading