DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Performing basic system monitoring and tuning

Setting colors using the sysmonitor file

You can set colors for the System Monitor by directly editing the /usr/X/lib/app-defaults/sysmonitor file. This procedure sets colors for all users on the system, globally.

Add a line to the file for each option you desire. For example:

   *SarOption0*foreground: red
   *SarOption1*foreground: yellow
   *SarOption2*foreground: magenta
   *SarOption3*foreground: blue
Each line corresponds to an option in the ``List of Selected Options'' in the System Monitor. For example, if you want to assign the first option, ``CPU Usage - User Time'', to use the color red, you would type the first line as listed previously. The second option, ``CPU Usage - System time'', would use the second line, and so on.

The colors specified in the defaults file will override any color selections selected or saved using the System Monitor.

You must restart the System Monitor before the changes take effect.


NOTE: To view a complete list of allowed colors browse the /usr/X/lib/rgb.txt file. It displays the red, blue, and green color value columns as numbers and lists the allowed color names in the right-hand column.


Next topic: Setting colors using the .sys_mon file
Previous topic: Customizing System Monitor colors

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004