Reference

slmon(1)

program for monitoring system's performance in realtime.

NAME

slmon - program for monitoring system's performance in realtime.

SYNOPSIS

slmon [options]

DESCRIPTION

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

SEE ALSO

SLmon home page http://slmon.sourceforge.net

Download:

Libgtop

ftp://ftp.gnome.org/pub/GNOME/stable/sources/libgtop/

S-Lang

ftp://space.mit.edu/pub/davis/slang/

LICENSE

Copyright (C) 2000, 2001, 2002 Krzysztof Luks <[email protected]>.

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., 675 Mass Ave, Cambridge, MA 02139, USA.

BUGS

1.

slmon uses too much cpu time in process mode

Please send all bugreports to [email protected].

AUTHOR

Krzysztof Luks <[email protected]>

History

--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).