|
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 User : jackjohn ( 502) PHP Version : 5.3.17 Disable Function : NONE Directory : /usr/bin/ |
Upload File : |
#!/bin/bash
shopt -s nullglob
exec 2>&1
LANG=C
echo SUSPEND LOG
cat /var/log/pm-suspend.log
echo ======
echo SYS POWER
ls -lA /sys/power
echo ======
echo SYS POWER STATE
cat /sys/power/state
echo ======
echo SYS POWER DISK
cat /sys/power/disk
echo ======
echo HAL INFO
lshal | egrep "(system.hardware.(product|vendor|version)|system.firmware.version|power_management.quirk)"
echo ======
echo ETC PM
ls -lAR /etc/pm
for dir in /etc/pm/*
do
echo DIR ${dir}
for file in ${dir}/*
do
echo FILE $file
cat ${file}
echo ======
done
echo ======
done
echo UNAME
uname -a
echo ======
echo RPM
rpm --qf '%{name}-%{version}-%{release}\n' -q kernel pm-utils hal hal-info gnome-power-manager vbetool radeontool hdparm
echo ======
echo FEDORA RELEASE
cat /etc/fedora-release
echo ======