of the users mouse activity? applications? or just...
# linux
h
of the users mouse activity? applications? or just general system CPU usage?
b
For users mouse activity ,and application
h
sorry, couldn't help you with that use case.
b
Ok thanks
Machine active/inactive(idle) times query available in osquery ?
h
SELECT (SUM(user) + SUM(nice) + SUM(system) + SUM(idle) * 1.0) AS tsb, SUM(COALESCE(idle, 0)) + SUM(COALESCE(iowait, 0)) AS itsb FROM cpu_time;
full example in the link to medium I posted
though you will have to run this query periodically to check the difference in times. In order to correctly calculate usage.
b
Ok thanks for your help