Joao,
I'm afraid not. The popular trick is to intercept the command by a wrapper with the same name, have that wrapper record the usage, and then invoke the (renamed) actual application. Since you mentioned NSS - when the application requires code in NSS, it will issue a DIAG 64 to attach that segment. That's something you could get from monitor data, for example.
The old-fashioned approach is just to remove (or disable) the application, and wait who is complaining... -Rob
------------------------------
Rob van der Heij
------------------------------
Original Message:
Sent: Thu October 12, 2023 05:27 AM
From: Joao Bertuzzi
Subject: How can I have acounting at z/VM ?
Thanks Rob for your reply.
I went throough z/VM commands but none show me such info, an idea wil be knowing the name of the program can we set a trap if that one comes up ? in z/OS we have SLIP command, do we have such thing in z/VM ?
Regards
------------------------------
Joao Bertuzzi
Original Message:
Sent: Thu October 12, 2023 02:01 AM
From: Rob van der Heij
Subject: How can I have acounting at z/VM ?
There are no facilities in z/VM to audit what programs are running in a virtual machine. The Control Program CP only provides a virtual machine and one can run CMS or Linux or z/VM in that without being questioned. There are some options to sample virtual machine details in the z/VM monitor to give a clue what a virtual machine is doing when using an excessive amount of resources. Some installations have created wrappers around some commands to post usage statistics in a central place.
------------------------------
Rob van der Heij
Original Message:
Sent: Wed October 11, 2023 05:23 AM
From: Joao Bertuzzi
Subject: How can I have acounting at z/VM ?
Hi,
Please anyone here can help me ? I need to findout when a program was executed or is being executed at z/VM env.
I can see some in the NSS but how can i know they are being used ?
Thanks in advance for any info
Regards
João Bertuzzi
------------------------------
Joao Bertuzzi
------------------------------