My apologies I should have supplied a bit more information. In the SMF manual there is chapter 8 (Chapter 8. z/OS UNIX System Services accounting) which talks about the different ways Unix information is collected. By no means am I an expert on the different parts of the SMF type 30 records or how the Unix information is collected.
https://www.ibm.com/docs/en/SSLTBW_2.5.0/pdf/ieag200_v2r5.pdf Paul -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Seymour J Metz Sent: Wednesday, June 26, 2024 7:06 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: CPU and I/O statistics for BPXBATCH executions? There are several issues for Unix measurement. 1. If the installation chooses to run multiple processes in a single AS, I know of no way to separate the data for individual processes. Is there a new SMF record type for that purpose? 2. The converse issue is aggregating all of data for processes spawned by a single job. Is there anything in the type 30 to identify the original job? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Paul Feller <000005aa34d46684-dmarc-requ...@listserv.ua.edu> Sent: Tuesday, June 25, 2024 9:35 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: CPU and I/O statistics for BPXBATCH executions? Peter, from what I recall I believe the information around Unix System Services stuff along with zIIP activity should be available to the IEFACTRT exit. There is information in the SMF 30 record related to Unix activity and zIIP activity. I'm guessing it's a matter of updating the exit to pull the data from the proper SMF 30 fields. My guess would be that no one considered updating the exit as new stuff got added to the different parts of the SMF 30 data. I'm guessing you are talking about the IEF032I (or IEF033I) message when you refer to the JESSYSMSG message. I don't really know if IBM tries to account for any of the activity in Unix land or activity on the zIIP. Paul -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Farley, Peter Sent: Tuesday, June 25, 2024 7:30 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: CPU and I/O statistics for BPXBATCH executions? Hi All, Just a question of curiosity. In recent days I have been running some ad-hoc BPXBATCH jobs that executes some "cp" commands to copy a few z/OS data files down to a Unix directory, then a python script which uses that data. While the job is running I can use SDSF DA and PS to see the various Unix parts running, but at the end of the job the shop-local IEFACTRT report in the JESMSGLG output only seems to account for the actual BPXBATCH CPU time and I/O count. The much more significant Unix I/O and CPU values are not included in that report as far as I can tell. Similarly, the JESYSMSG end-of-step output messages for the BPXBATCH step again only seem to account for BPXBATCH usage alone, and not any of the Unix CPU or memory usage. Is there data available to an IEFACTRT routine or the JESYSMSG end-of-step processing to report Unix usage in a batch step at all? Or is that only available in DCOLLECT output (to which I do not have and cannot get any permissions from local security due to zero trust rules)? Or am I seeing the python-on-ZIIP capability here, and the CPU isn't reported because it is done on a ZIIP (though that would not explain the I/O count being so low when I know the python script does quite a lot more I/O)? If it matters, we're on z/OS 2.5 here at a reasonably current RSU I believe, but I don't know the exact level. HW is z15. Peter This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu <mailto:lists...@listserv.ua.edu> with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN