slmon1
Program for monitoring system's performance in realtime.
Usage
slmon [options]
Overview
SLmon is a tool for monitoring system's performance. It displays results using nice and (hopefully) readable text-based UI. Currently monitored are:
- o
-
CPU load (SMP is supported)
- o
-
network interfaces
- o
-
memory (including swap)
- o
-
uptime, date and time
- o
-
number of logged in users
- o
-
mounted filesystems
- o
-
processes
SLmon uses glibtop version >= 2 and libslang version >= 1.2.2 (this version however has a bug that makes it impossible to write a character in lower right corner, but otherwise it works okay).
Starting with 0.5.13 Glib library is needed.
Options
-
-v, --version -
Display version and copying and exit
-
-h, --help -
Display brief usage information
-
-f, --fs-unit=[kmg] -
Specify filesystem usage unit, where: b=bytes, k=kbytes, m=mbytes, g=gbytes
-
-m, --mem-unit=[bkmg] -
Specify memory usage unit, where: b=bytes, k=kbytes, m=mbytes, g=gbytes
-
-n, --net-unit=[bkmg] -
Specify network traffic unit, where: b=bytes, k=kbytes, m=mbytes, g=gbytes
-
-d, --mode=[mpnh] -
Start in mode 'M' where: m=main, p=process, n=network, h=histogram
-
-u, --update=<seconds> -
Specify update interval in seconds
Configuration files
SLmon looks for the configuration file in the following locations:
- /etc/slmonrc
- /usr/local/etc/slmonrc
-
if the previous one fails
- $HOME/.slmonrc
Options can be specified in the form of pairs: <key> = <value>. Lines beginning with '#' are treated as comments (note: all leading whitespaces are stripped). All subsequent definitions of a certain option overwrite previous declarations except for the net_dev option.
Available options (more to come :)):
- mode
-
Start certain mode: m=main, p=process, n=network, h=histogram.
- mem_unit
-
Specify memory usage unit [bkm].
- fs_unit
-
Specify filesystem usage unit [kmg].
- net_unit
-
Specify network traffic unit [bkmg].
- net_dev
-
Add a network interface to list of monitored interfaces.
- update_time
-
Specify update interval in seconds.
Files
/etc/slmonrc ~/.slmonrc Files with user defined options
History
- Debian 7 (Wheezy) to Debian 3.1 (Sarge): the text shown here
- Debian 3.0 (Woody)
--fs-unit since Debian 3.1 (Sarge);
--mem-unit since Debian 3.1 (Sarge);
--mode since Debian 3.1 (Sarge);
--net-unit since Debian 3.1 (Sarge);
--update since Debian 3.1 (Sarge);
-d since Debian 3.1 (Sarge);
-f since Debian 3.1 (Sarge);
-h since Debian 3.1 (Sarge);
-n since Debian 3.1 (Sarge);
-u since Debian 3.1 (Sarge).
--bold until Debian 3.0 (Woody);
--byte until Debian 3.0 (Woody);
--color-background until Debian 3.0 (Woody);
--color-gradient1 until Debian 3.0 (Woody);
--color-gradient2 until Debian 3.0 (Woody);
--color-gradient3 until Debian 3.0 (Woody);
--color-primary until Debian 3.0 (Woody);
--color-secondary until Debian 3.0 (Woody);
--color-status until Debian 3.0 (Woody);
--color-status-background until Debian 3.0 (Woody);
--cspace until Debian 3.0 (Woody);
--gauge_len until Debian 3.0 (Woody);
--height until Debian 3.0 (Woody);
--kbyte until Debian 3.0 (Woody);
--mbyte until Debian 3.0 (Woody);
--rspace until Debian 3.0 (Woody);
--usage until Debian 3.0 (Woody);
-? until Debian 3.0 (Woody);
-B until Debian 3.0 (Woody);
-E until Debian 3.0 (Woody);
-G until Debian 3.0 (Woody);
-H until Debian 3.0 (Woody);
-b until Debian 3.0 (Woody);
-k until Debian 3.0 (Woody).