Skip to content

Tag: s390x

Trying to use awk to parse lscpu output but can’t get it right

Essentially what I want is to extract the byte size of the L3 cache from lscpu. The tricky part is that the units lscpu uses is not consistent across versions and what I need has to work with all versions (including the versions before the –bytes option was available). lscpu from what I can see will either use K, KiB,

Is there a way of coding IBM’s BAL on ZLinux?

I am trying to learn IBM’s basic assembly language and I was wondering if there was a way of assembling BAL code on a Linux guest running on a mainframe? I have nasm and as installed, but I think these are normally used for Intel processors rather than Z. Answer There is a tool chain in Linux so that you