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.

  • 3
    Please specify what type of server, and what type of activities you want to know about.
    – gutch
    Mar 10, 2011 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, 2011 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.


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.


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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