5. FILES › 5.4 LNX Information Area Files › 5.4.1 Linux Process Activity File (LNXLXP) › 5.4.1.4 LNXLXP Retrieval Examples
5.4.1.4 LNXLXP Retrieval Examples
LNXLXP EXAMPLE
The following example lists resources consumed by processes
running within a Linux guest on z/VM system that ended
between 10:10 and 10:59 am. Processes are grouped by the
users who executed these processes on the report.
DATA PROCESS;
SET DETAIL.LNXLXP01;
IF USER='LINUX1';
IF HOUR=10;
IF LXPTTIME GT 0;
PROC SORT ;
BY USER LNXLUSNM LNXPNAME ENDTS;
RUN;
PROC PRINT NOOBS;
BY LNXLUSNM;
VAR LNXPNAME LXPVTIME LXPSTIME LXPTTIME;
TITLE1"Processes that Executed in HOUR 10';
TITLE2"By User';
RUN;
TITLE "Top 20 Users by CPU Consumption";
RUN;