- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- VMS Logins and logouts
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 12:27 PM
тАО04-17-2008 12:27 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 01:25 PM
тАО04-17-2008 01:25 PM
SolutionAuditing is probably the best:
$ SET AUDIT/AUDIT/ENABLE=LOGIN=ALL
$ SET AUDIT/AUDIT/ENABLE=LOGOUT=ALL
The former writes an audit record for any login, the latter a record for any logout.
Use ANALYZE/AUDIT to find events.
ACCOUNTING records have both the login and logout times for the process they're recording, but obviously the login isn't recorded until the process has logged out. Since a power failure or system crash will stop the process without an accounting record, you'll lose all record of a process which was logged in at the time. With auditing you'll at least be able to identify which processes were logged in.
In OOTB OpenVMS there is no "hook" to catch a logout and (say) execute some code. There are numberous ways of implementing such a mechanism with variable reliability.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 01:43 PM
тАО04-17-2008 01:43 PM
Re: VMS Logins and logouts
Besides accountng.dat Process Termination records, there is auditing for logouts (if selected), but that doesn't catch process deletions caused by $stop/id=xxx. Auditing for process DELPRC will catch that.
$ set audit/audit/enable=process=(DELPRC) ! you may want additional items
We use /enable=process=all which results in these being audited:
CREPRC,DELPRC,SCHDWK,CANWAK,WAKE,SUSPND,RESUME,GRANTID,REVOKID,GETJPI,FORCEX,SIGPRC,SETPRI,PRCTERM,CPU_CAPABILITIES,PROCESS_CAPABILITIES,PROCESS_AFFINITY,SET_IMPLICIT_AFFINITY
Accounting and auditing are the only reliable sources of process termination times that I am aware of in the general case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 01:47 PM
тАО04-17-2008 01:47 PM
Re: VMS Logins and logouts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 01:48 PM
тАО04-17-2008 01:48 PM
Re: VMS Logins and logouts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 01:53 PM
тАО04-17-2008 01:53 PM
Re: VMS Logins and logouts
The point is that a time stamp of 17:05:01.23 on NODEA didn't necessarily occur before something with a timestamp of 17:06:23.89 on NODEB (hopefully your clocks wouldn't be over a minute different from each other, but I have seen that on clusters that have been up for a long time).
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 02:57 PM
тАО04-17-2008 02:57 PM
Re: VMS Logins and logouts
OpenVMS is fairly limited here, but there are other solutions to the requirement. Network monitoring or out-board monitors comes to mind, for instance. Though distributed auditing tie-ins with OpenVMS itself are lacking, it can be done. (Few folks now work locally on hard-wired connections, after all.)
Probably the most reliable mechanism is to implement a simple system monitor task; a process that watches user activity, and writes records for significant changes. Supplement what OpenVMS is doing here.
Poke around for previous discussions, too.