Here is how the cdm information is found and alerted on:
Below are the commands that are used:
- On Unix--> /proc/uptime
- On Windows--> We determine the uptime from the 'System' performance monitor (perfmon) and calculate the boot time from there.
Perfmon Counter->System-> "System Up Time"
System Up Time is the elapsed time (in seconds) that the computer has been running since it was last started. This counter displays the difference between the start time and the current time.
There is a file in the cdm folder which contains the uptime value. If the value obtained is different from the value in the file then an alarm is sent.
keywords: boot reboot cdm uptime calc calculate alarm counter System Up Time