Install iStat on Ubuntu

iStat is a monitoring application available for the iPhone that allows you to obtain basic information about the status of a Linux server.

For Mac OS X, there’s an application called iStat Server that allows a connection between your Mac and iPhone to obtain the statistics displayed in the widget of the same name.

However, I believe it’s much more useful as a server monitoring tool for Linux, something that can be critical for many network administrators.

Here are the steps to install the service on an Ubuntu server:

  1. Create a folder named “mkdir sources” in your “home” directory to store the program’s source code, or you can download the file to your designated directory.
  2. Download the latest version from http://github.com/tiwilliam/istatd/downloads to the “sources” directory you created in the previous step, or to your chosen directory.
  3. Extract the files from the package and navigate to the new iStat directory. Once you are in the directory containing the iStat files, run the following command: “./configure”.
  4. This command will create the necessary configuration files for compilation.
  5. Next, run the command “sudo make” and then “sudo make install”.
  6. After the installation is complete, you need to add the user that will start the service. To do this, run the command “useradd istat”.
  7. Now you need to create the directory where the process file will be stored. Run the command “sudo mkdir /var/run/istat” and change the permissions so that it is accessible by the user you just created: “sudo chown istat.istat /var/run/istat”.
  8. With this, your service is ready to start, but first, you must change the server code in the configuration file: “sudo nano /usr/local/etc/istat.conf”.
  9. Finally, start the service: “sudo /usr/local/bin/istatd start”.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get updates

Spam-free subscription, we guarantee. This is just a friendly ping when new content is out.