Monitoring system resource usage by using the status command

You can monitor the use of system resources on the appliance by using the status command on the command line.

About this task

You can use the status command to view the following information about the system resources on the appliance:
  • The size and usage of the system memory
  • The CPU usage of the system
  • CPU average load (in 1, 5, and 15 minute averages)
  • The size and usage of the internal disk
  • The size and usage of the system volume
  • The number of FDCs and the disk space used
  • The disk space used by trace
You can use the status command to view the following information about the system resources that are used by a queue manager:
  • The queue manager name
  • The queue manager status
  • An estimate of the CPU usage of the queue manager
  • An estimate of the memory usage of the queue manager.
  • The amount of the queue manager file system used by the queue manager
For a high availability queue manager, the following additional information can be viewed:
  • The file system size for the queue manager
  • The replication status of the queue manager
  • The preferred appliance for the queue manager
  • Whether a partitioned situation has been detected, and if it has, the amount of 'out-of-sync' data held.
For a disaster recovery queue manager, the following additional information can be viewed:
  • The disaster recovery role (primary or secondary)
  • The disaster recovery status
  • The percentage complete if synchronization is in progress
  • The estimated time to completion if synchronization is in progress
  • The amount of out-of-sync data if the disaster recovery system is partitioned

Procedure

  1. Enter the IBM® MQ administration mode by entering the following command:

    mqcli

  2. View either the resource usage for the entire appliance, or for a specific queue manager:
    • To view the resource usage for the entire appliance, enter the following command:

      status

    • To view the resource usage for a specific queue manager on the appliance, enter the following command:

      status qMgrName

      Where:
      qMgrName
      Specifies the name of the queue manager that you want to view the resource statistics for.
  3. Optional: Exit the IBM MQ administration mode by entering the following command:

    exit

Example

The following example shows the command to view the resource usage for a queue manager QM1:
status QM1
This command results in the following output:

QM(QM1)                    Status(Running)
CPU:                       29.89%
Memory:                    336MB
QMgr filesystem:           137MB used, 4.0GB allocated [3%]