NAME

xload - system load average display for X

SYNOPSIS

xxllooaadd [-_t_o_o_l_k_i_t_o_p_t_i_o_n ...] [-scale _i_n_t_e_g_e_r] [-update _s_e_c_o_n_d_s] [-hl _c_o_l_o_r] [-highlight _c_o_l_o_r] [-remote _h_o_s_t]
[-jumpscroll _p_i_x_e_l_s] [-label _s_t_r_i_n_g] [-nolabel] [-lights]

DESCRIPTION

The xload program displays a periodically updating histogram of the system load average.

OPTIONS

Xload accepts all of the standard X Toolkit command line options (see _X_(_7_)). The order of the options in unimportant. _x_l_o_a_d _a_l_s_o _a_c_c_e_p_t_s _t_h_e _f_o_l_l_o_w_i_n_g _a_d_d_i_t_i_o_n_a_l _o_p_t_i_o_n_s_: _<_p_> _<_d_l _c_o_m_p_a_c_t_> _<_d_t_> _<_b_>_-_h_l _c_o_l_o_r _o_r _-_h_i_g_h_l_i_g_h_t _c_o_l_o_r_<_/_b_> _<_d_d_> _T_h_i_s _o_p_t_i_o_n _s_p_e_c_i_f_i_e_s _t_h_e _c_o_l_o_r _o_f _t_h_e _s_c_a_l_e _l_i_n_e_s_. _<_d_t_> _<_b_>_-_j_u_m_p_s_c_r_o_l_l _n_u_m_b_e_r _o_f _p_i_x_e_l_s_<_/_b_> _<_d_d_> _T_h_e _n_u_m_b_e_r _o_f _p_i_x_e_l_s _t_o _s_h_i_f_t _t_h_e _g_r_a_p_h _t_o _t_h_e _l_e_f_t _w_h_e_n _t_h_e _g_r_a_p_h _r_e_a_c_h_e_s _t_h_e _r_i_g_h_t _e_d_g_e _o_f _t_h_e _w_i_n_d_o_w_. _T_h_e _d_e_f_a_u_l_t _v_a_l_u_e _i_s _1_/_2 _t_h_e _w_i_d_t_h _o_f _t_h_e _c_u_r_r_e_n_t _w_i_n_d_o_w_. _S_m_o_o_t_h _s_c_r_o_l_l_i_n_g _c_a_n _b_e _a_c_h_i_e_v_e_d _b_y _s_e_t_t_i_n_g _i_t _t_o _1_. _<_d_t_> _<_b_>_-_l_a_b_e_l _s_t_r_i_n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_3_> _I_n _a_d_d_i_t_i_o_n _t_o _t_h_e _r_e_s_o_u_r_c_e_s _a_v_a_i_l_a_b_l_e _t_o _e_a_c_h _o_f _t_h_e _w_i_d_g_e_t_s _u_s_e_d _b_y _x_l_o_a_d _t_h_e_r_e _i_s _o_n_e _r_e_s_o_u_r_c_e _d_e_f_i_n_e_d _b_y _t_h_e _a_p_p_l_i_c_a_t_i_o_n _i_t_s_e_l_f_. _<_d_l _c_o_m_p_a_c_t_> _<_d_t_> _<_b_>_s_h_o_w_L_a_b_e_l _(_c_l_a_s_s BBoooolleeaann))<> <> IIff FFaallssee tthheenn nnoo llaabbeell wwiillll bbee ddiissppllaayyeedd.. <> <> WWIIDDGGEETTSS <> IInn oorrddeerr ttoo ssppeecciiffyy rreessoouurrcceess,, iitt iiss uusseeffuull ttoo kknnooww tthhee hhiieerraarrcchhyy ooff tthhee wwiiddggeettss wwhhiicchh ccoommppoossee _x_l_o_a_d. In the notation below, indentation indicates hierarchical structure. The widget class name is given first, followed by the widget instance name.


XLoad  xload
     Paned  paned
          Label  label
          StripChart  load


ENVIRONMENT

DISPLAY
to get the default host and display number.
XENVIRONMENT
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.

FILES

/usr/X11R7/lib/X11/app-defaults/XLoad
specifies required resources

SEE ALSO

X(7), xrdb(1), mem(4), Athena StripChart Widget.

BUGS

This program requires the ability to open and read the special system file _/_d_e_v_/_k_m_e_m. Sites that do not allow general access to this file should make _x_l_o_a_d belong to the same group as _/_d_e_v_/_k_m_e_m and turn on the _s_e_t _g_r_o_u_p _i_d permission flag.

Reading /dev/kmem is inherently non-portable. Therefore, the routine used to read it (get_load.c) must be ported to each new operating system.

Copyright © X Consortium
See _X_(_7_) for a full statement of rights and permissions.

AUTHORS

K. Shane Hartman (MIT-LCS) and Stuart A. Malone (MIT-LCS);
with features added by Jim Gettys (MIT-Athena), Bob Scheifler (MIT-LCS), Tony Della Fera (MIT-Athena), and Chris Peterson (MIT-LCS). DG/UX support by Takis Psarogiannakopoulos (XFree86 Project).