lcdinfo
Introduction
lcdinfo is a simple program that makes the LCD display of your Advantech FWA appliances more useful by printing system status information.
The program has been tested on the Advantech FWA-3660 platform, but it probably also works on other platforms of the same serie.
lcdinfo is available at http://www.net-track.ch/opensource/lcdinfo
License
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Installation
Installation follows the well-known configure, make, make install scheme:
- ./configure
- make
- make install
Usage
If you start lcdinfo without parameters, the following parameters are shown on the LCD display:
- int: number of interrupts handled per second
- ctxt: number of context switches per second
- cpu: percentage of time NOT spent in the idle task
Using the -i parameter, you can instruct lcdinfo to also show information about a specific interface (e.g. -i eth0). For every interface, lcdinfo informs about incoming (upper line) and outgoing (lower line) mbit/s, packets/s and errors/s.
Todo
- Other statistics: number of routes in the routing table, free and used memory etc.
- Keyboard: It would be nice to be able to select the parameter to show using the 5-key keyboard. Unfortunately, I haven't succeeded to read anything from this keyboard so far. (This is also partially due to the docs...)