Showing posts with label monitor. Show all posts
Showing posts with label monitor. Show all posts

Wednesday, June 22, 2011

How to disable monitor standby in Linux

To check if your video card support DPMS just run
xset q
and see the result:
You should get something similar to this output:
DPMS (Energy Star):
Standby: 1200 Suspend: 1800 Off: 2400

DPMS is Enabled
Monitor is On

To disable these settings just run:
xset dpms 0 0 0

Or disable DPSM with
xset -dpms

Run again
xset q
to check the new settings

If you to make these settings permanents just add these rows to your xorg.conf

Section “ServerFlags”
Option “blank time” “0″
Option “standby time” “0″
Option “suspend time” “0″
Option “off time” “0″
Option “dpms” “false”
EndSection

Friday, March 20, 2009

sar system monitoring tool in Fedora

sar is powerful system monitoring tool but not so easy to configure.
in Fedora you can find it in sysstat package. to install it as root: yum install sysstat

to initialize it, launch as root these commands: /usr/lib/sa/sa1 1 1 and /usr/lib/sa/sa2 -A
now you'll have in /etc/cron.d/sysstat the following commands:

# Run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib/sa/sa1 -d 1 1
# 0 * * * * root /usr/lib/sa/sa1 -d 600 6 &
# Generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib/sa/sa2 -A

The sa1 script collects and stores binary data in the system activity daily data file, and sa2 writes a daily report in the /var/log/sa/ directory.