IBM Support

Gathering IBM DataPower Gateways CPU and memory information

Question & Answer


Question

Is there a very simple method to collect basic information on DataPower CPU utilization and memory usage?

Answer

Yes. CPU and memory information can be captured every 5-10 seconds by creating a logging target in the default domain with the correct event subscriptions. 

In the Web GUI, in the default domain:
  1. Choose Administration from the navigation list on the left, and then look under heading Device
  2. Choose Statistics Settings and make sure statistics are enabled.
  3. Choose Throttle Settings and turn the Status Log option on by clicking on the On radio button
  4. Create a logging target in the default domain
    • A File type log target with a file name in the logtemp:/// folder or on the RAID drive is recommended to allow log entries to be written locally to the appliance with very low overhead.
    • Add the following Event Subscriptions to the logging target:
      system debug
      slm debug
      screenshot of logging target event subscriptions tab
  5. The logging target file will contain information about CPU and Memory statistics
  • The logging target will contain message 0x80400051 showing CPU information. The CPU message is logged every ten seconds.
    20210218T193749.848Z [0x80400051][system][debug] : tid(143): cpu usage: 1%(10 sec) 0%(1 min) 0%(10 min) 0%(1 hour) 0%(1 day)
    20210218T193759.849Z [0x80400051][system][debug] : tid(143): cpu usage: 0%(10 sec) 0%(1 min) 0%(10 min) 0%(1 hour) 0%(1 day) 
  • The logging target will contain message 0x804000a1 showing memory information. This message is logged every 5 to 10 seconds:
    20210218T193810.902Z [0x804000a1][slm][debug] throttle(Throttler): tid(2079): Memory(162147013/164498652kB 98.570421 free) Pool(52665) Ports(127642/127850) Temporary-FS(861/1024MB 84.082031 free) File(OK)
    20210218T193815.946Z [0x804000a1][slm][debug] throttle(Throttler): tid(2079): Memory(162151165/164498652kB 98.572945 free) Pool(59413) Ports(127645/127850) Temporary-FS(861/1024MB 84.082031 free) File(OK)

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"ARM Category":[{"code":"a8m50000000CdneAAC","label":"DataPower->Resource \/ Stability (RS)"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

Modified date:
08 June 2021

UID

swg21622125