zname - Obtain information about the IBM Z hardware

Ubuntu 22.04 LTS LPAR mode z/VM guest KVM guest

Use the zname command to display information about the hardware your Linux instance runs on.


1  zname
2.1! -n
2.1 -a
2.1 ? -c? -i? -m? -n? -u

Where:

-a or --all
prints all available information in the following order: Name, model, capacity, model, manufacturer.
-c or --capacity
prints capacity information.
-i or --cpuid
prints the CPU identifier.
-m or --model
prints model information.
-n or --name
prints the model name. This is the default.
-u or --manufacturer
prints manufacturer information.

Examples

  • To print the default information (the name), issue:
    # zname
    IBM z16
  • To print all available data, issue:
    zname -a
    IBM z16 A01 701 3931 IBM
    The sample output is for IBM z16, model A01, with a CPU capacity of 701, machine type 3931, and with IBM as the manufacturer.