I am in a need of software which can track login and logoff timings on user basis. If possible, software should be cross platform. If you know such software, please share.
I am in a need of software which can track login and logoff timings on user basis. If possible, software should be cross platform. If you know such software, please share.
In Linux we have a command for that last tty7 will show you a list of the users using tty7 (where your desktop resides):
Example:
The same way you can see who used
tty1
or any otherttys
(to see who logged into a command line console).If you want this information you can simply redirect the output to a file:
last tty7 >~/login.txt
and you will find a login.txt in your home directory.
So no need for fancy GUI tools. It is one of the basic instructions an administrator of a system needs to check for irregularities (like people trying to access the system that do not need to be on it).
edit.
The output shows: username, tty (7 is the desktop), screen number(not sure), date, -, 'down', time of active session. 'down' means turning the system off and when there is a time it probably means someone else turned it off (reboot issued from tty1) or that the power was turned of without a proper shutdown. The time between () is the time the system was on.
There are more options that might be of interest to you and might also be easier to read:
last reboot
At 5:14 I started this machine and it is now 20:47 and I am currently using it for 15h and 32 minutes. Yesterday I spent 0h47 and 4h43 on my notebook.
The 1st line now shows:
last reboot >~/lastreboot.txt
to put it to a text file.