home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / top201.zip / TOP.OPT < prev    next >
Text File  |  1999-04-25  |  4KB  |  104 lines

  1. #
  2. # All lines beginning with # (in column 1) are ignored. (As are blank lines)
  3. #
  4. # Top option file
  5. # ===============
  6. #
  7. # If you make changes to this file, and they appear not to have worked, then
  8. # the chances are that at least of the options has been incorrectly defined
  9. # In this case TOP will use the following default values.
  10. #
  11. # Options MUST be seperated by at least one space.
  12. #
  13. #=============================================================================
  14. # Refresh n = Rate in seconds (1 to a very big number)
  15. Refresh 2
  16. #=============================================================================
  17. # Names L|S = Long or Short process names
  18. Names L
  19. #=============================================================================
  20. # Sort U|P|N|H|T|I|O = CPU Usage|PID|Name|tHreads|Total CPU|prIority|nOne
  21. Sort P
  22. #=============================================================================
  23. # Revsort Y|N = Reverse Sort order
  24. Revsort Y
  25. #=============================================================================
  26. # Summary P|M = Process|Memory
  27. Summary P
  28. #=============================================================================
  29. # Colours
  30. #
  31. # The following colours are available when defining display colours
  32. #
  33. # BLACK BLUE RED GREEN MAGENTA CYAN BROWN YELLOW WHITE
  34. #
  35. # The above colours can be defined as FG foreground or BG background
  36. # Colours can be modified with BRIGHT and/or FLASH
  37. #
  38. # So, a full colour may defined as
  39. # BG_BLUE+FG_WHITE+BRIGHT or BG_WHITE+FG_RED
  40. #
  41. # The thing to remember is the syntax:
  42. # BG_colour+FG_colour[+BRIGHT][+FLASH]
  43. #
  44. Summary_Colour  BG_BLUE+FG_WHITE+BRIGHT
  45. Headings_Colour BG_BLUE+FG_CYAN+BRIGHT
  46. Keys_Colour     BG_WHITE+FG_BLUE
  47. Body_Colour     BG_BLUE+FG_WHITE
  48. #=============================================================================
  49. # CPU Usage Range
  50. #
  51. # You could define up to 100 ranges - one for each percentile, but I'm sure
  52. # no-one has that much spare time (now there's a challenge!)
  53. #
  54. # Any ranges not completed will default to BG_BLUE+FG_WHITE
  55. #
  56. # NOTE: THE ORDER IS CRITICAL!
  57. # Ranges must be in ascending order
  58. #
  59. # Here are the defaults (you may or may not want the extra commented lines
  60. #
  61. # Logging can be Y or N - If Y then a circular log file is generated for this
  62. # range of CPU usage (partially done)
  63. #
  64. #      Upper
  65. #      Limit Logging Colour
  66. Range     1  N       BG_BLUE+FG_WHITE
  67. Range    11  N       BG_BLUE+FG_GREEN
  68. Range    34  N       BG_BLUE+FG_GREEN+BRIGHT
  69. Range    51  N       BG_BLUE+FG_MAGENTA+BRIGHT
  70. Range    67  N       BG_BLUE+FG_YELLOW
  71. Range    81  N       BG_BLUE+FG_RED
  72. Range    91  N       BG_BLUE+FG_RED+BRIGHT
  73. Range   100  N       BG_RED+FG_WHITE+BRIGHT
  74. #=============================================================================
  75. # Logfile name
  76. Logfile TOP.LOG
  77. #=============================================================================
  78. # LogNewprocs Y|N = Log new processes
  79. LogNewprocs Y
  80. #=============================================================================
  81. # To ignore a process enter partial names here
  82. #Ignore PMSHELL TOP
  83. #=============================================================================
  84. # NOT to log a process when it reaches a range limit
  85. NoLog TOP
  86. #=============================================================================
  87. # DisplayMode MAXMIN|DETAILS|BARCHARTS
  88. # Maxmin shows cpu max and min usage values
  89. # Details shows threads and priority
  90. # Barcharts shows barcharts
  91. # (You only need to specify the first character)
  92. DisplayMode BAR
  93. #=============================================================================
  94. # Rows can be any valid number (test first using mode co[cols],[rows]
  95. # Columns can be 40, 80 or 132 (some video adapters allow other numbers)
  96. #Rows 25
  97. #Columns 80
  98. #=============================================================================
  99. # Some barchart display characters
  100. # Comment out Bar_Max NOT to get the Max bar remembered
  101. Bar_bg .
  102. Bar_fg █
  103. Bar_Max ▒
  104.