
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:
- 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.
- 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.
- 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”.
- This command will create the necessary configuration files for compilation.
- Next, run the command “sudo make” and then “sudo make install”.
- After the installation is complete, you need to add the user that will start the service. To do this, run the command “useradd istat”.
- 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”.
- 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”.
- Finally, start the service: “sudo /usr/local/bin/istatd start”.
Leave a Reply