how to check the start and stop time of the machine being idle in c and linux?

Multi tool use
Multi tool use


how to check the start and stop time of the machine being idle in c and linux?



I want to schedule a job for idle router and so i want to detect whether my router is idle or not, what are the characteristics of an idle machine and how to check the start and stop time of the machine being idle in c ?i have already tried /proc/cpuusage top and meminfo , i still couldnt get the solution





have you tried this one: github.com/gpolitis/xidle
– zero3nna
Jul 3 at 8:07





no it didnt work and that doesnt match my requirement
– Swetha Ravichander
Jul 3 at 9:04









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

ub,6t 9P,WzxnUPigX1wDhTTsq,aUZKXe5aT3
KArbJ,tUKV8 Ih R6d,moUQNn,b7N f8Qta57iuqHGGWyE4tIU35I78FJjsn1 x qSw

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications