Re: console logoff (was: System Improvement Ballot enhancements for FTP)
- From: donna garverick <donna_garverick@xxxxxxxxx>
- Date: Wed, 3 Aug 2005 09:20:12 -0700
--- "Johnson, Tracy" <Tracy.Johnson@xxxxxxxxxx> wrote:
> So, everyone who has a console has seen the message that says
> HH:MM/#Snnnn/pin/LOGOFF ON LDEV xx ?
>
> Now, how many times has someone come up to you and asked when did so
> and so log off the system? Huh!
as we discussed last(?) week, it is quite the challenge to capture
logoffs -- given all the different ways it can be done. you could
always write a udc for 'bye' with the understanding that it's not a
complete solution.
i wrote a little something awhile ago for *logons* (since folks around
here seem to be more interested in who is on the system than not). in
my system logon udc, i have the following:
if hpjobtype = "S"
announce
endif
here's the announce script:
setvar _an_where 'unknown'
# a telnet (23) or vt connection
if hpremipaddr > ''
setvar _an_where hpremipaddr
if hplocport = 23
setvar _an_where _an_where + " (T)"
else
setvar _an_where _an_where + " (V)"
endif
elseif hpdtcportid > ''
# dtc connection
setvar _an_where hpdtcportid + " (D)"
elseif hpldevin = 20
setvar _an_where 'console (20)'
elseif hpldevin = 21
setvar _an_where 'modem (21)'
endif
tellop $$$/!hpjobname/!_an_where/!hpintrodate/!hpintrotime
deletevar _an@
this very nicely ties a session (id and number) to an ip address (in
most cases) and puts it (ultimately) into the system console logs. the
'$$$' makes searching the logs very easy.
hth - d
Donna Garverick, HP-CSA Sr. System Programmer
dgarverick -at- longs -dot- com
925-210-6631 Longs Drug Stores
Come, my friends, 'Tis not too late to seek a newer world.
Tho' much is taken, much abides; and tho'
We are not now that strength which in old days
Moved earth and heaven, that which we are, we are.
"Ulysses", A. Tennyson
>>>MY opinions, not Longs Drug Stores'<<<
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
.
- References:
- Re: System Improvement Ballot enhancements for FTP 6.5/7.0/7.5
- From: Johnson, Tracy
- Re: System Improvement Ballot enhancements for FTP 6.5/7.0/7.5
- Prev by Date: <plug> Virtual Array's
- Next by Date: Re: Disc capacities
- Previous by thread: Re: System Improvement Ballot enhancements for FTP 6.5/7.0/7.5
- Next by thread: Re: System Improvement Ballot enhancements for FTP 6.5/7.0/7.5
- Index(es):
Relevant Pages
|