Serving statistics to the iPhone application from Linux, Solaris and FreeBSD
C++ C Shell
Latest commit eae1a63 Sep 28, 2014 @tiwilliam Merge pull request #42 from fredsherbet/master
Add missing instructions for install
Permalink
Failed to load latest commit information.
libfslabel Patches from Guntram Blohm - read CHANGELOG. Apr 14, 2010
probes
resource Fix issue #17 and kill some memory leaks (#24). Mar 24, 2011
.gitignore .svnignore -> .gitignore Jan 27, 2010
AUTHORS.txt Patches from Guntram Blohm - read CHANGELOG. Apr 14, 2010
CHANGELOG.txt
DEVELOPERS.txt Work-in-the-dark-commit >:) May 30, 2009
Makefile.am Package README.txt Apr 16, 2010
README.txt Fix typo Sep 18, 2014
argument.cpp Fix warning in qnap_temp.c and update copyright text. Apr 15, 2010
argument.h
autogen Remove autom4te.cache once autogen is complete. May 18, 2009
avahi.cpp
avahi.h Fix warning in qnap_temp.c and update copyright text. Apr 15, 2010
clientset.cpp Fix warning in qnap_temp.c and update copyright text. Apr 15, 2010
clientset.h Fix warning in qnap_temp.c and update copyright text. Apr 15, 2010
conf.cpp Resolve issue #18 (Build issues with 0.5.7 on Solaris 10) Jul 13, 2010
conf.h Fix warning in qnap_temp.c and update copyright text. Apr 15, 2010
configure.ac Bump to 0.5.9 Dec 27, 2011
daemon.cpp Fix issue #31 where istatd won't build on new gcc Jun 5, 2011
daemon.h Fix warning in qnap_temp.c and update copyright text. Apr 15, 2010
install-sh
isr.cpp Returning used disk space Sep 28, 2014
isr.h
main.cpp Fix bug where you in some cases got temperature for each voltage. Jun 5, 2011
main.h Fix warning in qnap_temp.c and update copyright text. Apr 15, 2010
socket.cpp Fix issue #17 and kill some memory leaks (#24). Mar 24, 2011
socket.h
socketset.cpp
socketset.h Fix warning in qnap_temp.c and update copyright text. Apr 15, 2010
stats.cpp
stats.h Fix warning in qnap_temp.c and update copyright text. Apr 15, 2010
switchboard.cpp Fix issue #17 and kill some memory leaks (#24). Mar 24, 2011
switchboard.h
system.h Fix issue #17 and kill some memory leaks (#24). Mar 24, 2011
token.cpp
token.h Fix warning in qnap_temp.c and update copyright text. Apr 15, 2010
utility.cpp Fix warning in qnap_temp.c and update copyright text. Apr 15, 2010
utility.h Fix warning in qnap_temp.c and update copyright text. Apr 15, 2010

README.txt

About istatd

istatd is a daemon serving statistics to your iStat iPhone application from Linux, Solaris & FreeBSD. istatd collects data such as CPU, memory, network and disk usage and keeps the history. Once connecting from the iPhone and entering the lock code this data will be sent to the iPhone and shown in fancy graphs.

What is iStat for iPhone?

iStat is a iPhone application developed by Bjango (http://www.bjango.com/). With iStat you can remotely monitor CPU, memory, disks, uptime and load averages from any Mac, Linux or Solaris computer from your iPhone. You can download iStat in iTunes App Store.

How to install

These steps assume you are logged in as root and have GNU build tools installed together with libxml2.

1) Download istatd-x.x.x.tar.gz

   # wget http://github.com/downloads/tiwilliam/istatd/istatd-x.x.x.tar.gz

2) Extract tar ball

   # tar -xvf istatd-x.x.x.tar.gz

3) Install dependencies

   istatd requires GNU build tools, libxml2 and libxml2-devel.
   Depending on your distribution these packages can be diffrently named.

   CentOS
   # yum install libxml2-devel autoconf

   Ubuntu
   # apt-get install libxml2-dev autoconf

4) Build istatd

   # cd istatd-x.x.x
   # ./autogen

   Here you can configure where you want your binary and config to end up (default /usr/local).
   # ./configure
   or
   # ./configure --prefix=/ --sysconfdir=/etc

   # make
   # make install

5) Add user and configure directories

   # useradd istat
   # mkdir -p /var/{run,cache}/istat
   # chown istat.istat /var/{run,cache}/istat

6) Configure your config to match your needs and system

   # cp resource/istat.conf /etc/
   # vim /etc/istat.conf

   Note: Don't forget to change your server_code.

7) Fire it up

   # /usr/bin/istatd -d