[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Commands Reference, Volume 6

wlmstat Command

Purpose

Shows wlm class status.

Syntax

wlmstat [-l class] [-c | -m] [interval] [count]

Description

The wlmstat command symbolically displays the contents of wlm data structures fetched from the kernel. If a count is specified, wlmstat loops count times and sleeps interval seconds after each block is displayed. A summary of operation is also displayed after each loop.

Flags

-l class Class name. If not specified, all classes are displayed, along with a summary for appropriate fields.
-c Show only CPU statistics.
-m Show only memory statistics.
interval Specifies an interval in seconds (defaults to 1).
count Specifies how many times wlmstat will print a report (defaults to 1).

Display

Results are tabulated, with the following fields:

Name Class name
CPU Percentage of total CPU time comsumed by the class.
MEM Percentage of physical memory consumed by the class.

Examples

  1. To get a printout of wlm activity right now, type:
    wlmstat

    This produces the following output:

         Name  CPU  MEM
          nyc   65   2
       system    1  13
      default    0   7
       procsA    7   4
       procsB   13   5
      student   10  67
  2. To get a report for class student, enter:
    wlmstat -l student
  3. To get a report for class student updated every second, and this for one minute, enter:
    wlmstat -l student 1 60
    This produces the following output:
         Name  CPU  MEM
      student    9   12
      student    9   14
      student   10   17
      student    9   22
      student    9   27
      student   10   30
        .......

Errors

No error can be reported by wlmstat.

Related Information

The wlmcntrl command.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]