Web Hosting Talk







View Full Version : RedHat 7.1 - Monitor Shutdown


mkaufman
11-04-2001, 11:11 AM
On my RedHat 7.1 box, I usually have monitoring software running to check if sites are up and how much data is going through it etc..

After 20 or so minutes pass, the monitor goes blank and I have to move the mouse or hit a key to get it back. Any idea how to stop it from going off at all?

jks
11-04-2001, 11:53 AM
Originally posted by mkaufman
On my RedHat 7.1 box, I usually have monitoring software running to check if sites are up and how much data is going through it etc..

After 20 or so minutes pass, the monitor goes blank and I have to move the mouse or hit a key to get it back. Any idea how to stop it from going off at all?

Are you using X or just console?

(the screenblankers are configured differently for X and console)

mkaufman
11-04-2001, 12:03 PM
Console

jks
11-04-2001, 12:29 PM
Originally posted by mkaufman
Console

Try making a shell script like this:

#!/bin/bash
echo -e "\33[9;0]" > /dev/console

Make it executable:

chmod a+x nameofscript

And run it.