/etc/last -R | grep tty/machine name/ip address (either one)
It helps to find out either ip address or machine name.
thanks
Ravi Yarlagadda
-----Original Message-----
From: milen@mobiltel.bg [mailto:milen@mobiltel.bg]
Sent: Tuesday, August 22, 2000 6:16 AM
To: Bhansali, Vinod; 'informix-list@iiug.org'
Subject: Re: Finding out the last 10 times a certain terminal IP address
was l ogged to the server
try something like following:
last |grep "any.IP.here" | head -n 10
or
last |grep "term_X.dept.com" | head -n 10
Best regards,
Milen
At 12:22 21/08/2000 -0700, Bhansali, Vinod wrote:
>Good morning,
>
>Is there anyway that I could find out the last 10 times a certain terminal
>IP address was login to the server?
>I know how to find out as to the user(last user-name), however, we wanted
to
>know the last 10 times for the IP address. If anyone could let me know how
>to find out this information I would very much appreciate it.
>
>Thanks for your help in this matter.
>
>System is IBM AIX 4.3
>
>Thanks and regards
>Vinod Bhansali
>Informix DBA
>First American Credco
>Phone : 619-938-7926
>Fax : 619-938-7200