Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to keep track the server activities (e.g last night) within a specific time range, any tool or method recommended? thank you.

share|improve this question

migrated from stackoverflow.com Mar 10 '11 at 3:20

This question came from our site for professional and enthusiast programmers.

3  
Please specify what type of server, and what type of activities you want to know about. –  gutch Mar 10 '11 at 3:03
    
You must be SUBSTANTIALLY more specific with your question: What do you want to know? You could put a video camera in front of the box and get information on "activities" ("The server sat there all night, blinking its lights"), but that would hardly be useful :-) –  voretaq7 Mar 10 '11 at 15:52

3 Answers 3

the only time-stamped info I can think of would be logs: /var/log/syslog, /var/log/apache2/access.log, and the like. login info would be viewable more readily using last or lastlog. $HOME/.bash_history for each user can show non-timestamped data; check the ctime and mtime to see when the inode or data was last updated.


of course, all that stuff is unreliable if anyone besides you has root access; everything is capable of being erased and/or edited.

share|improve this answer

If your looking on a network level you could try nagios, a nice open source monitoring tool, you can create custom scripts to monitor specific aspects as well check port availability, server uptime etc.. information can be presented in graph and diagram format.

There is a plugin specifically to monitor between certain servers between certain times.

share|improve this answer

If your server is a web server, and you want to track visitors' pattern, you can try Google Analytics. It is free & powerful.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.