System stats. Anywhere

Linfo is a PHP application that displays the hardware and realtime health of your rig.

Screenshots

Screenshot 01 Screenshot 02

Information Shown

  • CPU Type
  • RAM Usage
  • PCI/USB devices
  • Hard drives
  • File system mounts
  • Network devices
  • Temps/Voltages via hddtemp/mbmon
  • Software raid arrays (either by mdadm or gmirror)
  • System load / number of processes, threads
  • Linux distribution, if possible
  • ...

System Requirements

Global

  • PHP 5+
  • PHP PCRE library. You almost definitely already have this.
  • That's it :P

Linux

  • 2.6 Kernel Series
  • Somewhat modern Linux system with /proc and /sys mounted
  • PHP5+
  • Should be web server agnostic, as long as PHP is supported
  • Can connect to hddtemp and/or mbmon daemons for temps/voltages/fan speeds
  • Since the Linux version works exclusively by parsing /proc and /sys and connecting to daemons, it does not need to be able to call external programs.

FreeBSD

  • Ability to call external programs, such as sysctl and gmirror

Other non-Linux

  • Ability to call external programs

Project Goals

  • Provide info such as disk space, temperatures, cpu, ram, etc
  • Be very fast; generation in under a second is most desired.
  • Call very few external programs (like df/load/uptime/etc), if any. (parse the file system for info, if possible)
  • Linux version not use external programs at all and rely exclusively on /proc and /sys and connecting to locally listening daemons. (except for extensions, listed below)
  • Don't go nuts with eye candy. Don't use ajax. Make viewing the info on text only browsers possible and easy.
  • Any javascript ever used must be extremely subtle and degrade gracefully
  • Don't give info that can be exploited and turned into a security risk, especially not names and command line arguments given to running programs.
  • Prefer speed over code conciseness.

Development

Download
Linfo Version 1.9 (07/10/2013)
View Demo
Open-Source
Licensed under the GPL
Lightning fast
Built to use as little resources as possible to get the information you need.
Cross-Platform
Runs on Linux, Windows, FreeBSD, OpenBSD, NetBSD, Darwin (Mac OS X), Solaris, Minix, Cygwin and more.
Extensions Support
With the release of 1.5, Linfo is now extendable via extensions. You can browse them here.