-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zname & zhypinfo: Add initial versions
Adding two new commands zname and zhypinfo to print information about IBM Z hardware and virtualization layers respectively. The commands are being held rather simple and basic to have a fast start. Future extensions will be based on user feedback. zname might replace some of the tools distributors came up with on their own, while zhypinfo was actively asked for in a discussion on the Marist mailing list. Signed-off-by: Stefan Raspl <[email protected]>
- Loading branch information
Stefan Raspl
committed
Nov 25, 2020
1 parent
a135780
commit 67bf5ac
Showing
12 changed files
with
605 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
.\" Copyright IBM Corp. 2020 | ||
.\" ---------------------------------------------------------------------- | ||
|
||
.TH ZHYPINFO 8 "September 2020" "qclib" "System Administration Commands" | ||
|
||
.SH NAME | ||
zhypinfo \- Print information about virtualization layers on IBM Z. | ||
|
||
.SH SYNOPSIS | ||
|
||
.B zhypinfo [OPTION] | ||
|
||
.SH Description | ||
.B zhypinfo | ||
prints information about virtualization layers on IBM Z in a | ||
tabular format. | ||
.P | ||
.B Notes | ||
.IP \[bu] 2 | ||
Not all information might be available, and unavailable | ||
data is indicated by a dash '-'. | ||
.IP \[bu] | ||
Some environments might map certain CPU types to CPUs of other | ||
types, including specialty engines. | ||
.IP \[bu] | ||
CPU Pools can define fractions of logical CPUs. | ||
|
||
|
||
.SH OUTPUT | ||
.SS "#" | ||
Index number of the respective layer. | ||
.SS "Layer_Type" | ||
Type of virtualization layer. | ||
.SS "Lvl" | ||
Virtualization level, where each layer of category 'HOST' constitutes a | ||
new level. | ||
.SS "Categ" | ||
Cathegory the virtualization layer belongs to. | ||
.SS "Name" | ||
Name of the respective entity. | ||
.SS "IFLs" | ||
Number of logical IFLs defined for the layer. | ||
.SS "CPs" | ||
Number of logical CPs defined for the layer. | ||
.SS "Total" | ||
Sum of logical CPUs in the layer. | ||
|
||
|
||
.SH OPTIONS | ||
.TP | ||
.BR "\-h, \-\-help" | ||
Print usage information and exit. | ||
.TP | ||
.BR "\-j, \-\-json" | ||
Dump all available data in JSON format. Known limitation: No character set | ||
conversion or proper escaping is performed. | ||
.TP | ||
.BR "\-l, \-\-layers" | ||
Print number of layers. | ||
.TP | ||
.BR "\-L, \-\-levels" | ||
Print number of virtualization levels. | ||
|
||
.SH RETURN CODES | ||
Successful \fBzhypinfo\fR commands return 0. | ||
If an error occurs, \fBzhypinfo\fR writes a message to stderr and | ||
completes with a return code other than 0. | ||
.P | ||
.SH SEE ALSO | ||
.BR zname (8) |
Oops, something went wrong.