Execute script after hibernation
by gregors from LinuxQuestions.org on (#6GVFR)
Hi there!
I want a user script to check how long the last "hibernation phase" is gone. E.g. the question is "how long is this system awake?"
'uptime' just gives me the time since last boot - and reading the syslog requires a user to be a member of group adm (which I don't want).
TIA
Gregor
I want a user script to check how long the last "hibernation phase" is gone. E.g. the question is "how long is this system awake?"
'uptime' just gives me the time since last boot - and reading the syslog requires a user to be a member of group adm (which I don't want).
TIA
Gregor