Need linux terminal command

PHP

New Member
Joined
Jan 27, 2021
Messages
2
Reaction score
0
Credits
18
Can I get total inactivity time of keyboard, mouse in a day from the system boot time?
 


Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
3,730
Reaction score
3,334
Credits
18,238


Google is your friend.
Search for : Linux terminal inactivity time
 
OP
P

PHP

New Member
Joined
Jan 27, 2021
Messages
2
Reaction score
0
Credits
18


Google is your friend.
Search for : Linux terminal inactivity time
thanks for your reply. I have almost tried everything. but those are giving the overall working time instead of idle time. For ex, I have used "w" command, my system login tme 2021-01-27 10:13. current time is 3:13 PM. If i run this command it shows IDLE as 5:05 m. But I have only taken 45 mins break. so need exact idle time from system.
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
3,881
Reaction score
2,623
Credits
28,039
finger
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
6,612
Reaction score
5,370
Credits
19,520
Moving this to Command Line.

Wizard
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top