A useful simple application indicator to show various system information such as:
- File system disk space usage
- Network activity
- Memory usage
- CPU usage
- Swap space usage
It also has a very useful “Run what you want and display the result” usage – I used it here to show if the internet is up or down – for example, your router could be working fine, but your ISP has pulled the plug on you!
If you come up with any interesting scripts, drop a comment with a paste.ubuntu.com link and share with others the fruit of your labours 🙂
The original maintainer has not released a version since Ubuntu Raring and for later Ubuntu versions. No code commits in the launchpad PPA has been made since first quarter 2013. I presume the project has been mothballed.
Thus I have forked the project, fixed a few bugs and made it available for 14.04 Trusty users. Feel free to check out the code on GitHub and help out with the maintenance. N.B. I don’t know how to use bzr on Launchpad so sorry in advance to the maintainer … if you want the code back grab it!
I’ve reproduced the answer from my Ask Ubuntu article here – attribution is obviously with Stack Exchange since that’s where the answer was written.
how to for 14.04
It requires an indicator from my PPA together with a custom ping test script:
sudo add-apt-repository ppa:fossfreedom/indicator-sysmonitor
sudo apt-get update
sudo apt-get install indicator-sysmonitor
mkdir -p ~/scripts && cd ~/scripts
Copy and paste the code below into the new file and save & close.
Give the file execute permission:
chmod +x pingtest.sh
Start the indicator
Then in the indicator-preferences click New:
Then enter the details as shown:
i.e. use the command
Click OK, followed by the following actions 1,2,3 & 4:
if ping -c 1 -W 2 google.com > /dev/null; then