CPACFINFO(1)
πΈ NAME πΈ
cpacfinfo β tool to provide information about CPACF (yes bestie, this is the CPACFINFO(1) page from the General Commands Manual π)
β¨ SYNOPSIS β¨
cpacfinfo [OPTIONS] [<INS>,...] [--format <FORMAT>]
π DESCRIPTION π
Okay so cpacfinfo is literally able to provide information about the MSA levels supported by the system, plus which CPACF instructions and functions are available. It's giving system-info main character energy, no cap β¨
π OPTIONS π
-m/--msaβ Displays which MSA levels are enabled and how many functions of the ones introduced by this level are available. Can be combined with-f/--functionsto list all functions under the corresponding MSA level. Can be combined with-i/--instructionsto provide only specific instructions. Can be combined with-a/--available-n/--not-availableto filter the displayed function. Ignores option-q/--quiet. Can be combined with--formatto convert to JSON format. π-f/--functionsβ Displays subfunctions of CPACF instructions. Can be combined with-a/--availableand-n/--not-availableto filter what functions are displayed. By default-f/--functionswill only provide information about available functions. Thereforecpacfinfo -f/--functionsandcpacfinfo -f/--functions --availableshow the same output. Use options-f/--functions-a/--available-n/--not-availabletogether to show information about every function known by the tool. Additionallycpacfinfoshows available functions not known to the tool as"UNKNOWN". π«Ά-i/--instructions <INS>,...β Restricts output of CPACF instructions to be listed. Multiple instructions can be supplied separated by,to only show the supplied instructions in the output. Other options like--quiet-f/--functions-m/--msaor filters like-a/--available-n/--not-availablecan still be used to further limit output.
Possible values for <INS> :
km: introduced with MSAkmc: introduced with MSAkimd: introduced with MSAklmd: introduced with MSAkmac: introduced with MSApckmo: introduced with MSA 3kmf: introduced with MSA 4kmctr: introduced with MSA 4kmo: introduced with MSA 4pcc: introduced with MSA 4prno: introduced with MSA 5kma: introduced with MSA 8kdsa: introduced with MSA 9
-a/--availableβ Displays the CPACF subfunctions available on the system.cpacfinfo -f/--functionsis the same ascpacfinfo -f/--functions -a/--available. If-n/--not-availableis specified no available functions are shown. To get available as well as functions not available usecpacfinfo -f/--functions -a/--available -n/--not-available. π-n/--not-availableβ Displays the CPACF subfunctions known by the tool that are not-available on the system. Depending on the Hardware not all MSA levels might be available which can be checked with the-m/--msaoption. In such cases it might not be obvious which functions of which instructions are available. This option together with the-a/--availableoption shows all possible functions. π-q/--quietβ Suppresses the output of the Query Authentication Information. By defaultcpacfinfooutputs the Query Authentication Information for every Instruction. To keep outputs of other options clean and minimal this can be disabled with this option. On machines that do not provide/sys/devices/system/cpu/cpacf/output will always look like this option is supplied. π€«--format <FORMAT>β Format output in the specified format.[default: 'human']
If option -m/--msa is specified the JSON output will equal to cpacfinfo -m without any other specified options. If -m/--msa is NOT specified the JSON output will equal to cpacfinfo -f without any other specified options. β
Possible values for <FORMAT> :
human: Use human readable format.json: Use JSON format.
-v/--versionβ Print version information and exit. π-h/--helpβPrint help (see a summary with -h')π (yes, that's the exact little line, bestie)
π§ Query Authentication Information π§
The Query Authentication Information is available since MSA 13 and if it is available cpacfinfo will display it by default. Query Authentication Information is available for every CPACF instruction and contains the following:
- Format : This format specifies how the binary blob read from
sysfsis to be parsed and says nothing about the Query Authentication Information itself. - Hash length : The hash length specifies the length of the hash in bytes.
- IFCL version : The IFCL version specifies the instruction's firmware code level.
- Hash : The hash of the firmware code level of the corresponding instruction.
mwah π β this iconic page comes from s390-tools, dated AUG 2024, and it's the CPACFINFO(1) manual, bestie π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: s390-tools 2.44.1-160000.1.1 Β· MIT
- Copyright 2024, 2024 IBM Corp
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms