zname - Obtain information about the IBM Z hardware

Red Hat Enterprise Linux 9.2 LPAR mode z/VM guest KVM guest

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

Read syntax diagramSkip visual syntax diagram zname -n-a-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.