The bars are three graphical tools, cpubar, netbar and iobar that display various performance metrics in real time on Solaris based systems.
They are unsupported and closed source binaries. Use at your own risks.

cpubar




cpubar $Revision: 1.33 $, $Id: cpubar.c,v 1.38a 2013/07/01 19:27:34 jlliagre Exp $, compiled Jul 23 2013

Usage: cpubar [-0 winID] [-1 winID] [-2 winID] [-D dateformat] [-H height] [-F font] [-fhqRZ] [-n name] [-r record] [-X posx] [-Y posy] [-x rx] [-y ry] [interval]

-0        : Display graph in given window [internal]
-1        : First follower window [internal]
-2        : Second follower window [internal]
-D        : date format (default '%d/%m/%Y %T')
-f        : show screen refresh freq.
-H        : Height of a bargraph (default 100 pixels)
-h        : This help.
-n        : use name instead of hostname as label
-q        : quiet mode (no help zone)
-R        : Display graph in root window
-r        : History interval for max and average in seconds (default 60)
-X        : Initial window position (x axis)
-Y        : Initial window position (y axis)
-x        : readout x position in root window mode (default 5 pixels)
-y        : readout y position in root window mode (default 35 pixels)
-Z        : do not show the average CPU
interval  : Delay in seconds between each refresh, floating point accepted, (default .25s)
font      : default value '-b&h-lucida*typewriter-medium-r-normal-sans-10-0-0-0-m-0-iso8859-1'/'-b&h-*-bold-r-*-*-10-*-*-*-m-*-*-1'
CPU:
Blue      : idle %
Orange    : idle %, i/o in progress (disabled with Solaris 10+)
Red       : kernel %
Green     : user %
B&W bar   : average
Red bar   : maximum
Processes:
r         : run queue (processes waiting for a CPU to run)
b         : blocked queue (processes waiting for a pending IO to resume)
w         : wait queue (processes suspended, traced or swapped out)
p/s       : new processes launched per second
RAM:
Blue      : Free
Cyan      : Free (zfs cache) (Solaris Express build 94+)
Orange    : Used by processes
Red       : Used by kernel
sr        : scan rate (potential ram shortage)

VM:
Blue      : Free
Green     : Allocated only (reserved)
Red       : Allocated and used

Interactive commands:
left button  : drag mouse to move
right button : quit
space bar    : suspend program
'f'          : faster refresh
'g'          : slower refresh
'q'          : quit

'r'          : restart



Properties:
Some customizations can be made by editing '[.]theBars.properties' file
This file is first searched in the current directory, then in your HOME directory.
If the file doesn't exist, a sample file with default values is automatically created.
Currently, only some color settings are supported


If called as allbars, launch cpubar, netbar and iobar.
In that case, the -S option is supported and put all the windows in a single one.


Send comments to: jlliagre@gmail.com

http://jlliagre.free.fr/


netbar


Netbar $Revision: 1.39 $, compiled Jul 23 2013

Usage: netbar [-h] [-o file] [-I] [[-d device] | [-a] [-g|i pattern]] [-m mode] [-r history] [[-l] [-f] [-s speed] [-S last|avg|max] [-X posx] [-Y posy] [-H height] [-F font] [interval [count]]

-h        : This help.
-o        : output to log file (percollator format, 1st interface only for now)
-I        : display also inactive interfaces (reported speed=0)
-d        : Select the network device to monitor (default all).
-a        : Include loopback interface.
-g        : show only devices matching pattern (ex: -g "ge").
-i        : show only devices *not* matching pattern.
-m        : Overhead display mode (0: none (default), 1: Ethernet, 2: Ethernet+TCP/IP)
-r        : sample history size (used for average and peak values display, default is 60s)
-l        : Use linear scale, can't use with -m 1 or 2 (default = log)
-f        : synchronize bar scales (only meaningful with linear scale)
-s        : set fixed 100% bandwidth in Mb/s
-S        : Select numeric values to display (default avg)
-X        : Initial window position (x axis)
-Y        : Initial window position (y axis)
-H        : Initial bargraph height (default 100)
interval  : Delay in seconds between each refresh (default 250ms, 1s if -o used)
count     : number of samples to display (default unlimited)
font      : default value '-b&h-lucida*typewriter-medium-r-normal-sans-10-0-0-0-m-0-iso8859-1'/'-b&h-*-bold-r-*-*-10-*-*-*-m-*-*-1'

Remarks: Speed and interval can be expressed as floating point values.
The left area is the input data load.
The right area is the output data load.
The orange area is the ethernet header+trailer overload (if overhead mode != 0).
A red bar in the middle (from top) represents the collision rate.
A white bar in the middle represents the error rate.
The blue area represent available bandwidth.
Scales up automatically when load exceed 100%.
The loopback interface data is inaccurate (due to incomplete reporting).

Interactive commands:
left button  : move window (drag)
middle button: change readout (max/avg/last)
right button : quit
space bar    : suspend program
's'          : toggle scale (log/lin)
'z'          : reset scale to smallest
'q'          : quit

Properties:
Some customizations can be made by editing '[.]theBars.properties' file
This file is first searched in the current directory, then in your HOME directory.
If the file doesn't exist, a sample file with default values is automatically created.
Currently, only some color settings are supported


Send comments to: jlliagre@gmail.com

Note:

There is a specific version of netbar for Solaris 11 named netbar-s11 that should work on Solari 10 too. It displays by default both the physical devices (eg: e1000g0) and the Solaris 11 datalinks (ex: net0), including unplumbed devices. Use the filtering option to limit the display to the wanted devices (ex: ./netbar-s11 -g "e1000g[2-4]" will show e1000g2, e1000g3 and e1000g4.)

iobar


iobar $Revision: 1.38 $, compiled Jul 23 2013

Usage: iobar [-h] [-c columns] [-tqRv] [-a] [[-u] [-d device] | [-g|i pattern]] [-r history] [-X posx] [-Y posy] [-H height] [-S last|avg|max] [-l] [-F font] [-o file] [interval]

-h        : This help.
-c        : (Maximum) number of devices per line (default 25) .
-t        : Transparent mode.
-q        : Doesn't display hostname
-R        : Use root window
-v        : Verbose mode.
-a        : Include floppy and blkdev devices.
-u        : Do not sort devices.
-d        : Select the only device to monitor (default all).
-g        : Show only devices matching pattern (ex: -g "sd").
-i        : Show only devices *not* matching pattern.
-o        : Output statistics in a file.
-r        : History interval for max and average (default 60s)
-X        : Initial window position (x axis)
-Y        : Initial window position (y axis)
-H        : Initial bargraph height (default 100)
-S        : Select numeric values to display (default avg)
-l        : Use linear scale (default = log)
interval  : Delay in seconds between each refresh (default .25)
font      : default value '-b&h-lucida*typewriter-medium-r-normal-sans-10-0-0-0-m-0-iso8859-1'/'-b&h-*-bold-r-*-*-10-*-*-*-m-*-*-1'

Remarks: Rate and interval may be expressed as floating point values.
The left area is the read data throughput.
The right area is the write data throughput.
The red bar in the middle represents the disk usage (%).
The white bar in the middle represents the disk wait queue occupation (%).
The yellow bar to the right represents the disk service time (a_svct, full scale=100ms).
In linear mode, scales up automatically when load exceed 100% of current scale.

Interactive commands:
left button  : move window (drag)
middle button: change readout (max/avg/last/none)
right button : quit
space bar    : suspend program
's'          : toggle scale (log/lin)
'n'          : toggle symbolic/qualified name
'z'          : reset scale to smallest
'q'          : quit

Properties:
Some customizations can be made by editing '[.]theBars.properties' file
This file is first searched in the current directory, then in your HOME directory.
If the file doesn't exist, a sample file with default values is automatically created.
Currently, only some color settings are supported


Send comments to: jlliagre@gmail.com


Download:
SunOS 5.10+ x86
SunOS 5.10+ SPARC


Author: Jean-Louis Liagre
Send bugs/comments/rfe to jlliagre at gmail dot com