Loadmeter project is a Linux/Solaris system resource monitor that uses very little memory, and is written using raw Xlib.
- Load average
- Disk usage
- Memory usage
In its normal state it displays a window with a coloured bar graph showing the load average for the past minute. This is also shown in digits at the top of the window. both are updated every second. A red 'notch' marks the maximum load since it was started, and can be reset by pressing button2 or hidden with button3. The blue notch shows the 5 minute load average.
By clicking with button1, a pop-up window appears showing the uptime, the capacity of each filesystem, and memory/swap usage. More detailed info on each filesystem is available by highlighting the corresponding one. The way this window pops down is intentional, just to make it interesting.
Any filesystems with higher usage than specified by the -warn option (default 90%) are shown with a (default)green background. The '-disk' option can also be used as an 'instant warn' feature.
Press Escape in the top level window to exit.
Loadmeter also has the ability to override window managers. Giving the option '-override' causes the top-level window to have the override_redirect bit set. This is useful for window managers that insist upon decorating standard clients (eg Enlightenment, at least up to DR0.9). If you've given this option, then you can still resize and move the window. During moving and resizing, the cursor displays the geometry.
Ctrl-button1 lowers the window.
Ctrl-button2 raises and moves the window.
Ctrl-button3 raises and resizes the window.
A SIGUSR1 sent to the process will also raise the top level window.
There is also a '-parent' switch, which can be used to specify another window (in decimal or hex form) to use as the parent for the toplevel one (default is the root). This is useful for banking several together inside another window for easy positioning, etc. The 'lower' function doesnt work if -parent is specified. Also note that you can't use both -override and -parent at the same time.
-disp < display> Specify which X server to connect to
-geom < +x+y> Specify position on the screen
-sync Call sync() when checking disk usage
-numfont < font> Use for the load digits
-labelfont < font> Use for the hostname label
-popupfont < font> Use for the cursor and popup window
-popupbg < colour> Use for the popup background
-popupfg < colour> Use for the foreground of the popup
-warnbg < colour> Use for the high disk usage warning colour
-meter < colour> Use for the disk usage meter bar
-warn < pct> Min percent capacity reqd to highlight a filesystem
-label < label> Bargraph label to use instead of the hostname
-name < name> Name of the app to present to the WM
-bh < blockheight> Height of individual bargraph blocks (in pixels)
-override Always override window manager
-parent < window> Use as the parent for the toplevel window
-noshrink Don't do fancy popup window shrinking
-disk Show a warning when disk usage exceeds '-warn' value
-nogeom Disables displaying the window geometry in the cursor whilst moving/resizing the main window.