Hi, Simple networking help please
Hi,
I need to write a script that can list all people on my network. I need to further that by writing a script that will tell me who is logged into my machine, what they are doing on my system. Extend it to run every hour and record the results to file including date and time and then extend it once further to mail me the current log file. If anyone could help I would appreciate it |
you can use the w or who command to check the people that are logged on to you system. You can use the ps -U <username> to check what a user is doing
also check the commands lsof and fuser use cron to run your script at regular intervals (crontab ) |
All times are GMT -5. The time now is 06:47 AM. |