[CentOS] determine state of monitor using /proc/acpi directory and centos 5