-   Linux - Enterprise (
-   -   stop x windows? (

ginda 02-13-2007 09:53 AM

stop x windows?

I am testing a few services on two red hat servers, i was wondering would stopping x windows on the server improve performance and speed? and what is the best way to do this i.e. chkconfig it?

Thanks in advance

theNbomr 02-13-2007 10:59 AM

Have you monitored the CPU usage with something like top? If it is low, like less than 50% with few or no peaks at or above 90-95%, then it will probably not improve server performance. Server performance is often limited by disk & network throughput, so performance improvements shoud be focused on those areas. You can stop the X server gracefully, generally through a desktop control/menu, or ungracefully with Ctrl-Backspace. Your distro may have it configured to automatically restart after being killed. You can force the system to boot into console-only mode by adjusting the runlevel to 3. In /etc/inittab, find a line near the top of the file that resembles this:

Change the '5' to '3'. Subsequent re-boots will be console-only mode. You can enter runlevel 3 with the command 'init 3' (as root).
--- rod.

TheMoose 06-23-2007 09:16 PM

Huge thanks.

Was looking for that to install Nvidia latest drivers.

Again thanks:D

All times are GMT -5. The time now is 04:56 PM.