Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Future consideration
Workspace IBM i
Categories Performance Tools
Created by Guest
Created on May 19, 2020

Generate performance reports based on *HSTFILE, and also have the possibility of automate report generation if possible.

I would like to be able to generate reports based on historical data, and also be able to automate it's generation.


Use Case:

For instance, generate reports on the 1st of each month for the previous months, for CPU utilization, disk arm usage, disk response times and fault rates.


Idea priority Medium
  • Guest
    Reply
    |
    May 24, 2020

    Hi

    I agree, having a scheduler to produce collections of these performance reports would be a great idea.

    I wanted to check that you knew you can write your own, all PDi graphs including the Graph History ones have an option to show you the SQL that was used to generate the graph. You can take this SQL and use your own job to generate it. An example at the bottom of this comment.

    Hope this helps. #StaySafe
    Steve B
    IBM Champion, CEAC Member and Technical Director of i-UG.co.uk

    /** Historic Composite chart: CPU Utilization (Overview) */
    SELECT QSYS.DATETIME AS DATETIME,
    SYSSPTU,
    SYSCTA,
    COLPCTCPU,
    SYSPTU,
    COLPCTSCPU,
    SPURR_PURR_RATIO,
    CASE
    WHEN QSYS.NUM_DATA_POINTS > 1
    THEN 'NO'
    ELSE 'YES'
    END AS "IS_SINGLE_POINT",
    CASE
    WHEN QSYSDET.DATETIME2 IS NULL
    THEN 'NO'
    ELSE 'YES'
    END AS "HAS_DETAILED_DATA"
    FROM (
    SELECT MIN(DATETIME) DATETIME,
    AVG(SYSSPTU) AS SYSSPTU,
    AVG(SYSCTA) AS SYSCTA,
    AVG(SYSPTU / DOUBLE (SYSCTA) * 100) AS COLPCTCPU,
    AVG(SYSPTU) AS SYSPTU,
    AVG(SYSSPTU / DOUBLE (SYSCTA) * 100) AS COLPCTSCPU,
    AVG(DOUBLE (SYSSPTU / SYSPTU)) AS SPURR_PURR_RATIO,
    COUNT(*) AS NUM_DATA_POINTS
    FROM QPFRHIST.qapmhmsyst
    WHERE DATETIME >= '2020-04-24 00:00:00'
    AND DATETIME <= '2020-05-24 00:00:00'
    GROUP BY YEAR(DATETIME),MONTH(DATETIME),DAY(DATETIME),HOUR(DATETIME) / 6
    ) QSYS
    LEFT JOIN (
    SELECT DISTINCT j.DATETIME AS DATETIME2
    FROM QPFRHIST.QAPMHDJOBM j,
    QPFRHIST.QAPMHMSYST s
    WHERE s.DATETIME = j.DATETIME
    ) QSYSDET ON QSYS.DATETIME = QSYSDET.DATETIME2
    ORDER BY DATETIME