HP3000-L Archives

April 2003, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Wyman, Alan" <[log in to unmask]>
Reply To:
Wyman, Alan
Date:
Thu, 24 Apr 2003 05:24:48 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (85 lines)
I have added the following lines to a logon udc to track the last logon date
and time.  By looking at the access date on the file I can see the
information you are looking for.  I can also see first logon by looking at
the create date.

#    Create/update last logon file
SETVAR logon "/SYS/lastlogon/!hpjobname" + "_!hpuser" + "_!hpaccount"
xeq /bin/touch !logon


Example:
ATLA/MGR.PRD: listfile /SYS/lastlogon/ALANW_MGR_PRD,-3
 ********************
 FILE: /SYS/lastlogon/ALANW_MGR_PRD

 FILE CODE : 0                   FOPTIONS: ASCII,BYTESTREAM,NOCCTL,STD
 BLK FACTOR: 1                   OWNER   : **
 REC SIZE: 1(BYTES)              GROUP ID: **
 BLK SIZE: 1(BYTES)              SECURITY--READ    :
 EXT SIZE: 0(SECT)                         WRITE   :
 NUM REC: 0                                APPEND  :
 NUM SEC: 0                                LOCK    :
 NUM EXT: 0                                EXECUTE :
 MAX REC: 2147483647                     **SECURITY IS ON
                                 FLAGS   : NO ACCESSORS
 NUM LABELS: 0                   CREATED : TUE, JUN 25, 2002, 12:58 PM
 MAX LABELS: 0                   MODIFIED: THU, APR 24, 2003,  6:51 AM
 DISC DEV #: 2                   ACCESSED: THU, APR 24, 2003,  6:51 AM
 SEC OFFSET: 0                   LABEL ADDR: **
 VOLCLASS  : MPEXL_SYSTEM_VOLUME_SET:DISC


Alan Wyman
Director Systems Technology
U.S. Foodservice - Eagan
(651) 683-4253

                 -----Original Message-----
                From:   HP-3000 Systems Discussion
<[log in to unmask]>@AHOLD   On Behalf Of Stan Sieler
<[log in to unmask]>
                Sent:   Wednesday, April 23, 2003 5:46 PM
                To:     [log in to unmask]
                Subject:        Re: [HP3000-L] Please help with MPE or MPEX
need

                Re:
                > I need to get a listing of all of the accounts on the unit
and list the last
                > dates accessed and modified with files access. I also have
a need to have
                > the sum of the disk space used on this.

                I'm not sure if MPEX has the ability to tell you when a user
last
                logged on.

                Our free SHOWACCT utility will tell you the last time a
given
                <username>.<accountname> logged on, but not in terms of
*dates*,
                but in terms of "how many bootups ago".

                Example:

                        ShowAcct: USERS WHEN
                        ...
                        STAN    .S021203   (15 bootups ago)

                In the above, STAN.S021203 last logged on 15 bootups ago.


                --
                Stan Sieler
                [log in to unmask]
                www.allegro.com/sieler/wanted/index.html

                * To join/leave the list, search archives, change list
settings, *
                * etc., please visit
http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2