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

⟦aea147d98⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Accounting_Information, seg_001860

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



with Calendar;
package Accounting_Information is

    type Iterator is private;

    type Entry_Kind is (Session, -- Entry when a user logs out
                        Job);    -- Entry for a user Job (after logout)

-- Iterator Routines

    function Initialize (Accounting_Library : String := "!Machine.Accounting")
                        return Iterator;
    -- Utilizes filenames of the form <Accounting_Library>.Activity_@
    --

    procedure Next (Iter : Iterator);
    function Done (Iter : Iterator) return Boolean;

-- Information obtainable for each entry
    function Kind (Iter : Iterator) return Entry_Kind;
    function Username (Iter : Iterator) return String;  
    function Session (Iter : Iterator) return String;
    function Login_Time (Iter : Iterator) return Calendar.Time;
    function Logoff_Time (Iter : Iterator) return Calendar.Time;
    function Login_Duration (Iter : Iterator) return Duration;
    function Cpu_Used (Iter : Iterator) return Duration;
    function Total_Disk_Io (Iter : Iterator) return Natural;
    function Total_Jobs_Run (Iter : Iterator) return Natural;
    function Image (Iter : Iterator) return String;
private
    type Handle;
    type Iterator is access Handle;
end Accounting_Information;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1b rec1=00 rec2=01 rec3=04a
        [0x01] rec0=08 rec1=00 rec2=02 rec3=000
    tail 0x20100ea467da188f79fa8 0x42a00088462060003