Subject: | |
From: | |
Reply To: | |
Date: | Wed, 17 May 2000 12:24:23 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 10:27 AM -0700 5/17/00, [log in to unmask] wrote:
>Hello! Forgive the "newbie"-ness of my question...I was wondering if anyone
>knew of any easy way to find out the last time a user logged on to MPE
>(besides doing a showjob exec, which would show if they were logged on right
>now). I have a feeling that I have some very inactive users, and would like
>to boot them off the system. Thanks!
If you're using one of several available third-party logon security
packages for MPE, then this information is tracked in the package's
database.
If you don't have a package but would like to start tracking this
information from here forward in a way that you control, then add some code
to your system wide logon UDC which writes who, date, and time information
to a file (or database).
If you still need information about past logons, and/or don't want to alter
your logon UDC to gather information in the future, then the easiest place
to look (perhaps the only place) is the system log files. You can read the
log files by running sysdiag->logtool. There are also several third-party
packages you can use to read and analyze your log files.
However, in order for any of the log file options to provide the
information you're looking for, you need to have system logging option 102
(Job Initiations) turned on. Also, if you want to gather more data than
just the last time someone logged on, for example, how long they were
logged on or how much CPU they used, then you also need to make sure
logging option 103 (Job Termination) is also turned on.
The logging options are configured in SYSGEN, but require a reboot if you
change them there. However there is a nifty *free* tool called SYSLOG
available at
http://www.allegro.com/software/
which you can use to turn logging options on and off while the system is
running.
Barry Lake [log in to unmask]
Allegro Consultants, Inc. www.allegro.com
(408)252-2330
|
|
|