z/VM

z/VM

z/VM

This leading hypervisor for critical workloads can run thousands of Linux on Z virtual machines on one mainframe and can host z/OS, z/VSE and z/TPF.

 View Only
  • 1.  How can I have acounting at z/VM ?

    Posted Wed October 11, 2023 05:23 AM

    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
    ------------------------------


  • 2.  RE: How can I have acounting at z/VM ?

    Posted Thu October 12, 2023 02:01 AM

    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
    ------------------------------



  • 3.  RE: How can I have acounting at z/VM ?

    Posted Thu October 12, 2023 08:03 AM

    One potential solution in this area is a product from Macro4 called CMAP. See https://www.macro4.com/products/cmap/ for more information.

     

    Romney

    ____________________________

    Romney White

    Senior Technical Staff Member

    IBM Z: Architecture and Technology

    607-761-5110

     






  • 4.  RE: How can I have acounting at z/VM ?

    Posted Thu October 12, 2023 12:54 PM

    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
    ------------------------------



  • 5.  RE: How can I have acounting at z/VM ?

    Posted Thu October 12, 2023 04:36 PM

    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
    ------------------------------