XCPUSTATE(1) USER COMMANDS XCPUSTATE(1) NAME xcpustate - display CPU states (idle, nice, system, kernel) statistics SYNTAX xcpustate [-_t_o_o_l_k_i_t_o_p_t_i_o_n ...] [-_c_o_u_n_t iterations] [- _i_n_t_e_r_v_a_l seconds] DESCRIPTION _X_c_p_u_s_t_a_t_e displays bars showing the percentage of time the CPU spends in different states. On a machine running Berkeley Unix, or a derivative (Suns with SunOS, microVaxen with Ultrix), the bar indicates the proportions of idle, user, nice, and system time with increasing levels of gray scale (from left to right) On an Iris4D, there may be more than one bar, one for each CPU, and each bar indicates the proportions of idle + wait, user, kernel, sxbrk and interrupt time for each cpu. OPTIONS _X_c_p_u_s_t_a_t_e accepts all of the standard X Toolkit command line options, plus: -_c_o_u_n_t iterations The number of times it should update the display. Default is forever. -_i_n_t_e_r_v_a_l seconds the interval in between updates. Default is 1 second. X DEFAULTS For _x_c_p_u_s_t_a_t_e the available class identifiers are: CPUStateMonitor - the application Form - enclosing the entire application, and sub-Forms enclosing Label/Bar pairs. For _x_c_p_u_s_t_a_t_e, the available name identifiers are: xcpustate - application name The outer Form is "form". The Forms enclosing the Label/Bar pairs are "formN", where N is the index number, starting with the top pair as zero. Each Label name is the same as the label string. Each Bar name is "barN". For _x_c_p_u_s_t_a_t_e, the available resources are: X Version 11 Last change: 13 July 1988 1 XCPUSTATE(1) USER COMMANDS XCPUSTATE(1) name interval, class Interval corresponds to the -interval option. Takes an integer value. name count, class Count corresponds to the -count argument, also takes and integer value. NOTES _X_c_p_u_s_t_a_t_e was designed for a multiprocessor (a Silicon Graphics Iris4D/240) - it happens to work for conventional BSD uniprocessors. It is meant to be easy to port, and extend to monitor a wide variety of statistics. SEE ALSO xperfmon, xload AUTHOR Mark Moraes, University of Toronto (Thanks to Chris Sieben- mann for the code for BSD systems) X Version 11 Last change: 13 July 1988 2