Hi Listers,
 
I am looking into the data a linux machine can put into the CP MONITOR.
For instance process mon_fsstatd gives us filesystem statistics in the
CP MONITOR. Most records within the CP MONITOR are fixed in length but
not this one. I'd like to process this data within a pipe but the
problem is that several fields within the records are variable in
length.
 
The first part of the record is fixed, 9.8 for the TOD, 25.8 for the
Userid. But once the filesystemdata starts, there are a few fields that
are of variable length. Basically a value contains two fields, the first
is the length, the second is the value, the size is the previous
mentioned length. Then the next value is once again a field with the
length and next the actual data. Obviously the start of the second value
depends on the length of the first value. 
To process this records within a pipeline it would require the pipeline
to get the length of the field, print the actual field and then proceed
with the next value but is has to be able to calculate the start of the
next field.
 
So something like:
 
65.2    size1
65+2.size1    printvalue1
65+2+size1.2    size2
65+2+size1+2.size2    printvalue2
65+2+size1+2+size2.2    size3
 
etc.
 
Actually, it is more or less the same as the raw data of MONWRITE where
the first part of the record gives the length of that record.
 
I can write my own rexx stage to process the records but can this also
be done without a custom stage?
 
 

Met vriendelijke groet/With kind regards, 
Berry van Sleeuwen 
Flight Forum 3000 5657 EW Eindhoven

( +31 (0)6 22564276

 
ÿþDit bericht is vertrouwelijk en kan 
geheime informatie bevatten enkel

bestemd voor de geadresseerde. Indien 
dit bericht niet voor u is bestemd,

verzoeken wij u dit onmiddellijk aan 
ons te melden en het bericht te

vernietigen.

Aangezien de integriteit van het 
bericht niet veilig gesteld is middels

verzending via internet, kan Atos 
Origin niet aansprakelijk worden 
gehouden

voor de inhoud daarvan.

Hoewel wij ons inspannen een virusvrij 
netwerk te hanteren, geven

wij geen enkele garantie dat dit 
bericht virusvrij is, noch aanvaarden 
wij

enige aansprakelijkheid voor de 
mogelijke aanwezigheid van een virus in 
dit

bericht.

 

Op al onze rechtsverhoudingen, 
aanbiedingen en overeenkomsten 
waaronder

Atos Origin goederen en/of diensten 
levert zijn met uitsluiting van alle

andere voorwaarden de 
Leveringsvoorwaarden van Atos Origin 
van toepassing.

Deze worden u op aanvraag direct 
kosteloos toegezonden.

 

This e-mail and the documents attached 
are confidential and intended solely

for the addressee; it may also be 
privileged. If you receive this e-mail

in error, please notify the sender 
immediately and destroy it.

As its integrity cannot be secured on 
the Internet, the Atos Origin group

liability cannot be triggered for the 
message content. Although the

sender endeavours to maintain a 
computer virus-free network, the sender

does not warrant that this transmission 
is virus-free and will not be

liable for any damages resulting from 
any virus transmitted.

 

On all offers and agreements under 
which Atos Origin supplies goods and/or

services of whatever nature, the Terms 
of Delivery from Atos Origin

exclusively apply. 

The Terms of Delivery shall be promptly 
submitted to you on your request.

 

Atos Origin Nederland B.V. / Utrecht

KvK Utrecht 30132762

Reply via email to