Would this readout make better sense?

$ zhypinfo
  No    Layer               Type        Name         IFL     CP
  ------------------------------------------------------------------
  2.2   z/VM_Guest          guest       myguest        2      0
  2.1   z/VM_Resource_Pool  pool        pooltest       3      0
  2.0   z/VM                hypervisor  myzvm          8      0
  1     partition           guest       S38LP43       10      0
  0     machine             host        S38           34     10

Then you wouldn't need two columns of numbers. The levels are simply 
embedded in the sequence numbers. Counting would be consistent with the -l 
and -L outputs, of course. Omitting the second column of numbers also 
frees up more space for the text or even another column.

Are the underscores necessary? Maybe "z/VM guest" instead? (Or are they 
for parsing?) Or maybe you don't even need the "guest"/"resource pool" 
additions in the Layer column when you've already got a Type column and 
decimalized sequence numbers. And would it make sense to print the 
hypervisor release level in the Layer column, e.g. "z/VM 7.2"?

I don't like unnecessary jargon, so I highly prefer "partition" and 
"machine." I thought about "physical," but sometimes the machine/CEC/CPC 
isn't physical (zPDT, QEMU). Or use "base" if you prefer. But, honestly, 
we really don't need 58 questions per month about what a CEC is, which 
seems inevitable, doesn't it? So let's avoid that. And how about a little 
more insight in the Type column for partition and machine?

What happens with SMT2 v. SMT1 in this readout? (Should something happen?)

Putting these suggestions all together except for the SMT2 one, plus some 
others, here's what you might end up with:

$ zhypinfo
  #     Layer             Type          Name        IFLs    CPs
  ----------------------------------------------------------------
  2.2   Linux 4.18        guest         myguest        2      0
  2.1   z/VM 7.2          pool          pooltest       3      0
  2.0   z/VM 7.2          hypervisor    myzvm          8      0
  1     partition         z/VM          S38LP43       10      0
  0     machine           z14           S38           34     10

I like "#" a little better as a column label (or maybe "Seq."), and I've 
pluralized IFL and CP.

"Fun" question: what should a z/OS Container Extensions readout look like?

If the machine is reporting back something beyond the known model 
generations, then you could print ">z15" or "z15+" or "z16?" until 
zhypinfo is updated. When zhypinfo is updated you then insert the model 
generation without the question mark and update the question mark to be 
"z17?" (for example). Loop, repeat.

- - - - - - - - - -
Timothy Sipples
I.T. Architect Executive
Digital Asset & Other Industry Solutions
IBM Z & LinuxONE
- - - - - - - - - -
E-Mail: [email protected]

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to