Quitting Processes................

Discussion in 'macOS' started by Bobdude161, Aug 30, 2006.

  1. Bobdude161 macrumors 65816

    Bobdude161

    Joined:
    Mar 12, 2006
    Location:
    N'Albany, Indiana
    #1
    I made a similar post a few weeks ago but no one replied to my question. So I'm trying again.

    I just woke my Mac up after a 4 hour nap while it was running a screensaver and as soon as the screen came on it was acting like it was gonna crash on me. Everything was EXTREMELY slow and would hardly respond. I waited and waited for activity monitor to come up and saw that the two Lexmark drivers I have installed were hogging every ounce of processing speed. One was running at 40% and the other was at 30%. This always happens if I don't delete these process right after I startup. They exponentially start to take up more CPU.

    So! My question once again is, is there a way to completely restrict these processes from coming up at startup? I don't need the processes to print. They are used to watch if one of the printer's buttons are being used, which I don't. Please help me. Lexmark is giving me hell!
     
  2. cait-sith macrumors regular

    Joined:
    Apr 6, 2004
    Location:
    canada
    #2
    You'll have to go into Terminal and edit the file /etc/hostconfig -- this contains a list of programs started at boot. Find the offending program and change it from -YES- to -NO-.

    The actual startup script is in either /System/Library/StartupItems or /Library/StartupItems. If you can find the name of the offending program in that directroy, and open up the script in that directory of the same name (e.g., open the text file /Library/StartupItems/StupidPrinter/StupidPrinter), you can find the name of the config variable used in /etc/hostconfig.

    Reference:

    http://developer.apple.com/document.../additionalfeatures/chapter_10_section_4.html
     
  3. Bobdude161 thread starter macrumors 65816

    Bobdude161

    Joined:
    Mar 12, 2006
    Location:
    N'Albany, Indiana
    #3
    It sounded like it could work but none of the drivers were listed. :( The cookie is still availible!
     
  4. OutThere macrumors 603

    OutThere

    Joined:
    Dec 19, 2002
    Location:
    NYC
    #4
    Have you checked the Lexmark website to see if there are update drivers that aren't messed up?
     
  5. cait-sith macrumors regular

    Joined:
    Apr 6, 2004
    Location:
    canada
    #5
    What is the name of the process? Is it a kernel driver or an actual program?

    If it's a process, do this (as super user):

    find / -name "name of the process" -print

    That will show you the path to the process.

    Then try this:

    chmod a-x /path/to/that/file

    That will keep the system from executing the file.
     
  6. Bobdude161 thread starter macrumors 65816

    Bobdude161

    Joined:
    Mar 12, 2006
    Location:
    N'Albany, Indiana
    #6
    You sir have won:

    THE COOKIE OF CHAMPIONS!!!!!

    [​IMG]

    Congrats!!!

    Thanks cait-sith!!!
     

    Attached Files:

Share This Page