Tristan469
12-21-2001, 08:48 AM
I posted this in another thread but I felt that I should post it on it's own just because.. Any comments or additions are entirely welcome... Flames, however; are not! =)
For anyone that isn't really familiar with Linux, here is a great way to speed up compile times..
KILL X!!!!! (X being the gui environment)
Anytime I have to compile anything, I switch to a command window (ctrl+alt+F1), login and then do a
/sbin/telinit 3
This will switch the run level of your system to just above bare minimum... Some times I have to go kill X manually with an app called TOP...
type at the command line->
top
and then wait... you will see a bunch of prcesses in a list..
press the letter 'k' and it will ask for a PID (process ID) then look in the list and get the PID of "X".. it will be listed under the command column.. Enter the PID, hit enter and then it will ask for a signal to use... simply type '-9' and hit enter... X is now shut down... type q and then follow the guide to compile eveything...
Once you're done, and want to switch your run level back to normal, type
/sbin/telinit 5
then press ctrl+alt+F7 to take you to the gui login..
This works for RedHat and Mandrake and maybe others.. I have both mandrake8.1 and redhat7.1 installed on two sperate machines both running SEQ for my two window's boxes..
hope this helps someone...
For anyone that isn't really familiar with Linux, here is a great way to speed up compile times..
KILL X!!!!! (X being the gui environment)
Anytime I have to compile anything, I switch to a command window (ctrl+alt+F1), login and then do a
/sbin/telinit 3
This will switch the run level of your system to just above bare minimum... Some times I have to go kill X manually with an app called TOP...
type at the command line->
top
and then wait... you will see a bunch of prcesses in a list..
press the letter 'k' and it will ask for a PID (process ID) then look in the list and get the PID of "X".. it will be listed under the command column.. Enter the PID, hit enter and then it will ask for a signal to use... simply type '-9' and hit enter... X is now shut down... type q and then follow the guide to compile eveything...
Once you're done, and want to switch your run level back to normal, type
/sbin/telinit 5
then press ctrl+alt+F7 to take you to the gui login..
This works for RedHat and Mandrake and maybe others.. I have both mandrake8.1 and redhat7.1 installed on two sperate machines both running SEQ for my two window's boxes..
hope this helps someone...