I want to know how to detect when a computer is shutdown, restarted, put to sleep or hibernate in linux.
I wish to do something before these events occur.
Can someone please tell me how to do this in labview?
If you could please give me an example, I would really appreciate it.
Thanks.