DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦a8dc21a83⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Show_Snapshot_Times, seg_0039bd

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



procedure Show_Snapshot_Times (Log_File : String := "<IMAGE>";
                               Not_Before : Integer := 7;
                               Not_After : Integer := 19;
                               Report_Per_File : Boolean := False;
                               Response : String := "<PROFILE>");
-- Takes a log file as would appear in !Machine.Error_Logs and analyses the
-- time spent in snapshots.  Filters the snapshots to exclude those occurring
-- before Not_Before or after Not_After.  Not_Before => 7, Not_After => 19
-- would only process snapshots that occurred between 7:00 in the morning and
-- 7:00 in the evening.  Report_Per_File will cause a separate analysis of each
-- file.  This can be useful for comparing a series of files.
-- All times are reported in seconds.
-- Snapshots requiring more than 2 minutes are displayed as the time of the
-- snapshot along with the length.
-- RMS is Sqrt (Sum (Times**2)).
-- A sample output might be:
--
-- 03:11:11 90/01/10 => 131
-- Value           Attribute
-- =====  ===========================
--    42  Snapshots
--    41  Average length
--    49  RMS
--     1  Over 2 minutes
--
--     8  Snapshots lasting 0.. 14
--     8  Snapshots lasting 15.. 29
--     8  Snapshots lasting 30.. 44
--     9  Snapshots lasting 45.. 59
--     5  Snapshots lasting 60.. 74
--     2  Snapshots lasting 75.. 89
--     1  Snapshots lasting 90.. 104
--     1  Snapshots lasting 120.. 134

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=13 rec1=00 rec2=01 rec3=00a
        [0x01] rec0=10 rec1=00 rec2=02 rec3=000
    tail 0x20f004f3e808c83623ad4 0x42a00088462060003