On Thu, 6 Apr 2000 [EMAIL PROTECTED] wrote:
> Please find this question and answer to me.
Searching...
> ques-> Watching all people logging in and out and report as people come and
> go - a sort of incremental who.
Question found...
Processing query...
> Also display statistics of people logged in and logged out every 2
> minutes.
Additional query accepted...
Generating solution...
Why not parse /var/log/messages for lines with (login) in them. It will
give you the date and time of login as well. You could have something
like tail -f
For the report, write a small script that does a w -fush and call it from
a crontab every two minutes.
Philip
--
It is undignified for a woman to play servant to a man who is not hers.
-- Spock, "Amok Time", stardate 3372.7
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener