Creating a Log file to log activity time in Ubuntu mint
How can I create a log file to detail the time spent on each activity on my Linux box, or is there already a log file available for viewing?
Many thanks David |
last will show you some information, is this what you are looking for?
|
Rather than looking into log files, you can one thing, just install this package -
Code:
$ sudo apt-get install acct Code:
$ sudo service acct start Also check the man page of ac before using it. Code:
$ man ac |
And to see the commands executed by a particular user you can check with this command -
Code:
$ lastcomm <username> |
Great I will give it a go. Thank you to everyone who replied. Many thanks
D |
All times are GMT -5. The time now is 07:19 PM. |