How busy is the system, really?

“How busy is the system, really?” is a question you should be able to answer with a number, not a feeling. On a lot of boxes, the honest answer is a shrug and a glance at a screen. Let’s do better than that.

You can sample your actual CPU utilization directly:

SELECT ELAPSED_TIME,
      AVERAGE_CPU_UTILIZATION,
      CONFIGURED_CPUS,
      AVERAGE_CPU_RATE
 FROM TABLE(QSYS2.SYSTEM_ACTIVITY_INFO());

That service samples the system over a short interval and returns your real, current CPU utilization across the configured processors. Run it a few times during a busy period, and you get something far more valuable than a single glance: a picture of how your machine actually behaves under load.

Why does this matter beyond curiosity? Because nearly every important conversation about your system eventually needs this number. Are we sized correctly? Do we need more capacity, or do we have headroom we are paying for and not using? Is the slowdown users are reporting actually the CPU, or is it something else entirely, like memory faulting or the disk imbalance we have talked about in previous weeks? You cannot answer any of those honestly without knowing your real utilization, and “it feels slow” has never once won a capacity budget.

This also connects to something I have been living with on the Power11 side. When you genuinely understand your utilization, you can have a precise conversation about whether a hardware refresh is justified, and what it would actually buy you. A machine running hot at peak with no headroom is telling you something specific. So is a machine that is barely working, which is useful to know in its own right.

Sample your CPU through a real busy period this week. Turn “it feels busy” into “we run at this percent at peak.” That number is the foundation of every good capacity decision you will ever make, plus you sound more intelligent.

Originally posted on LinkedIn. Join the conversation there.

Get new posts by email

Practical IBM i tips on SQL services, security and backup, sent when I publish. No spam, unsubscribe anytime.

Leave a Reply