How can we get the user's idle time, defined as the time during which the user hasn't struck the keyboard or even made a mouse movement in Ubuntu 22.04. It should display with the username, the user's login, logout time & idle time interval of the user within the whole day.
Can anyone let me know, how can we do that?
I want this idle time of the user so that I get the details of the user who is idle for minutes/hours at that specific day time interval, in a whole day.
Is there any script or command to get the details of the user for the particular date & time at which the user was idle?
Asked by Mahesh Garole
(1 rep)
Nov 10, 2023, 10:06 AM
Last activity: Nov 22, 2023, 01:32 PM
Last activity: Nov 22, 2023, 01:32 PM