Cross-posted to z/VM list.
I want to thank Rob for pointing out the new STRUCTURE capabilities in
the latest runtime version of Pipelines. His presentation shows enough
to get me started on more intensive processing of z/VM's accounting data.
To add something to the community, here is my first pass at accounting
card structure definitions. If anyone has updates/corrections/code for
these, please add them to the discussion on the z/VM list.
/Tom Kern
Rob van der Heij wrote:
Not on Linux, but new.... If you want to take advantage of the
opportunity to play with some modern pipelines stuff, have a look at
my presentation http://rvdheij.nl/Presentations/2008-V56.pdf (slides
46-49). That has a working example of how to process the account
records and apply a CPU rate per shift (in a single pipeline).
Rob
:acnthdr
userid 1.08
account 9.08
datetime 17.12
code 79.02
:acnt01
hdr struct acnthdr 1
connect d 29.04
ttime d 33.04
vtime d 37.04
pgread d 41.04
pgwrite d 45.04
reqio d 49.04
pun d 53.04
prt d 57.04
rdr d 61.04
totio d 73.04
:acnt02
hdr struct acnthdr 1
connect d 29.04
class d 33.01
type d 34.01
model d 35.01
feature d 36.01
:acnt03
hdr struct acnthdr 1
connect d 29.04
class d 33.01
type d 34.01
model d 35.01
feature d 36.01
ckd_cyls d 37.02
fba_blks d 37.04
blk_cnt d 41.04
:acnt04
hdr struct acnthdr 1
terminal 29.04
invldpwd 33.08
byuser 41.08
pwcnt d 52.02
acntlmt d 54.02
nethost 63.08
luname 71.08
ipadr1 d 71.02
ipadr2 d 73.02
ipadr3 d 75.02
ipadr4 d 77.02
:acnt05
hdr struct acnthdr 1
terminal 29.04
mdowner 41.08
mdaddr 49.04
mdtype d 53.01
nethost 63.08
luname 71.08
ipadr1 d 71.02
ipadr2 d 73.02
ipadr3 d 75.02
ipadr4 d 77.02
:acnt06
hdr struct acnthdr 1
terminal 29.04
invldpwd 33.08
mdowner 41.08
pwcnt d 52.02
pwlmt d 54.02
mdaddr 57.04
nethost 63.08
luname 71.08
ipadr1 d 71.02
ipadr2 d 73.02
ipadr3 d 75.02
ipadr4 d 77.02
:acnt07
userid 1.08
account 9.08
vscsvcna 17.62
code 79.02
:acnt08
hdr struct acnthdr 1
luname 49.08
ipadr1 d 49.02
ipadr2 d 51.02
ipadr3 d 53.02
ipadr4 d 55.02
nethost 57.08
terminal 65.08
:acnt09_ISFI
sysisfc 1.08
rec_id 9.04
datetime 17.12
code 79.02
:acnt09_ISFS
sysisfc 1.08
rec_id 9.04
conv_id 13.04
datetime 17.12
suser 29.08
datatype 60.01
isfsdata 61.08
code 79.02
:acnt09_ISFAE
sysisfc 1.08
rec_id 9.04
conv_id 13.04
datetime 17.12
inbytes d 29.04
outbytes d 33.04
datatype 60.01
isfsdata 61.08
code 79.02
:acnt09_ISFL
sysisfc 1.08
rec_id 9.04
datetime 17.12
inbytes d 29.04
outbytes d 33.04
unitaddr 37.04
num_attn d 41.04
num_coll d 45.04
num_writ d 49.04
num_read d 53.04
code 79.02
:acnt09_ISFT
sysisfc 1.08
rec_id 9.04
datetime 17.12
code 79.02
:acnt0I
hdr struct acnthdr 1
nethost 29.08
ipv6adr1 37.04
ipv6adr2 41.04
ipv6adr3 45.04
ipv6adr4 49.04
ipv6adr5 53.04
ipv6adr6 57.04
ipv6adr7 61.04
ipv6adr8 65.04
:acnt0A_LU
hdr struct acnthdr 1
target 29.08
subcode 78.01
:acnt0A_CR
hdr struct acnthdr 1
target 29.08
before 37.04
after 41.04
directry 45.04
subcode 78.01
:acnt0B
hdr struct acnthdr 1
connect d 29.04
class d 33.01
type d 34.01
model d 35.01
feature d 36.01
fba_blks d 37.04
blk_cnt d 41.04
subtype d 45.01
:acnt0C_00
hdr struct acnthdr 1
nicvdev 29.02
ipadr1 d 31.01
ipadr2 d 32.01
ipadr3 d 33.01
ipadr4 d 34.01
lanowner 35.08
lanname 43.08
outbytes d 51.08
inbytes d 59.08
datadesc 77.01
net_type 78.01
:acnt0C_01
hdr struct acnthdr 1
ctcavdev 29.02
ruser 35.08
rvdev 43.02
outbytes d 51.08
inbytes d 59.08
net_type 78.01
:acnt0C_02
hdr struct acnthdr 1
ruser 35.08
outbytes d 51.08
inbytes d 59.08
net_type 78.01
:acnt0D
datetime 17.12
proc_cap 29.08