LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Read information about user activity (https://www.linuxquestions.org/questions/programming-9/read-information-about-user-activity-779452/)

zawart 01-02-2010 02:35 PM

Read information about user activity
 
Hi,
I wonder if there is any chance to read the last time when the actually logged user have changed the mouse cursor and stroke the key.
Any help will be greatly appreciated.

MrChilly0 01-02-2010 04:20 PM

Are you looking for a keylogger? Everything that a user does is dumped into a file that you can access....

worm5252 01-02-2010 04:31 PM

You can run who to see who is logged in and when they logged in. I don't know how you would know when they pressed a key or moved the mouse without a keylogger though

zawart 01-02-2010 05:04 PM

I think I have found it.
Code:

/dev/input/mice
/dev/input/event1

and I have to only watch these files :cool:, thanks for help !


All times are GMT -5. The time now is 06:14 PM.