I need help starting a Terminal command at start-up to help silence CPU fan

I have a 24" iMac (Early 2009) and the CPU fan runs at full RPMs - NOTE: it is a refurbished model. I think that the person who did the refurbishing either messed up the CPU Temp Sensor or something, because the CPU temps are fine and the fan kicks on right after start-up chime.
Anyways, I have found a terminal command (see below) that, when used in conjunction with smcFanControl, will force my CPU fan to run at 1200 RPM. I need a way to either auto-launch this Terminal Command at start-up, or an easier way to launch it because having to type it out in Terminal every boot and reset is getting old.
Terminal Command:
/Applications/smcFanControl.app/Contents/Resources/smc -k F2Mx -w 3cf0
Any help would be greatly appreciated!

You shell script should look something like this:
#!/bin/bash
your command line
Construct this in your favorite text editor and save as plain text, not .rtf.  Call the file anything you want, but here I'll call it slowfan.
In terminal type,
chmod +x /path/to/slowfan
where /path/to/slowfan is the path to the slowfan file.  You could drag the file into the terminal after typing the chmod +x followed by a space.  This step is only to mark the text file (script) as executable.
Now you can run Platypus and set up a simple app with admin privleges.  Then test the app.  If it works you can then add it to your login items.
If you decide to use applescript (do shell script descibed earlier) then you could just use the full pathname to whereever you saved the script and save that as a applescript application.  Again test it and then add to your login items.  I would bother adding an alias to .bash_profile.  That just adds to the complextity.
As you can see, with Platypus you only have the single app it creates to deal with.  The script is enclosed in the generated app bundle for easy updating if necessary later on.  With the applescript method you will need to keep track of two spearate files; the applescript and the shell script.  Actually three, the app too.

Similar Messages

  • Help with CPU fan please!

    Just got all my components today to put a new computer together and the CPU fan doesn't seem to fit in the motherboard.
    I have an MSI K8N Neo4-f motherboard, my first instinct was that it was the wrong CPU fan (it came in the retail box of an AMD Athlon X2 4400+), the things that clip it on at the side doesn't seem to go quite low enough to actually reach the bit were it clips on to the fan socket.
    We have bought another CPU fan and run in to exactly the same problems
    The only thing we can figure is that it might be the wrong retention device as the instructions seem to indicate attaching one which we didn't understand too well as it was already attached when we got it. PLEASE HELP!

    MAybe you've reseat the fan wrongly.

  • Need help regarding CPU upgrade of an MSI GE60

    Hi! I'm new to the forums and I was wondering if you guys could help me out,
    So I'm interested in buying an MSI GE60 0NC-i3185+ 3rd generation Intel® Core i3 - 3110M 2.40 GHZ, here in our country, the Philippines, I was wondering if I can upgrade it's cpu to an i7?
    Thank You for your help and sorry for my bad English.

    I'm not quite sure why you would want to upgrade it to an i7 after you buy it? Wouldn't it make more sense to get the one that already has it in it? Simply because you'll be getting more of a discount on the CPU since aftermarket prices tend to be rather ridiculous for mobile CPU's.......
    Is it possible? I can't say 100%. If it's using the same socket (37.5mm x 37.5mm (rPGA988B)) then yes, it's most likely upgradeable, but again, I don't have a GE60 so I can't say it will be.

  • Need help with CPU microcode for L410

    I have been having some speed issues with my T3000 powered L410. I have friends with the same laptop, theirs have been upgraded with T6600 & a T6500 cpu with no issues.
    As I had a spare T7500 laying around [that I know to be a good processor] I thought I'd do a swithout and swap them over....no issues doing that....turned it on and it started to boot up  **SUCCESS HE THOUGHT !! ** then I got the following error message "02F0: CPU ID: FB No Microcode Update Loaded For Alternate Processor" Press <F1> to Setup. Following that procedure results in no way [I can see] to cure issue. Prior to changing the CPU I used System Update to check BIOS was the latest available; I used the Windows utility to upgrade the BIOS; BIOS report was successful update; and is reported as version 1.52 6JET94WW
    Can anyone suggest a fix for this problem.....it seems weird that the PC recognises during the boot:
    CPU = 1 Processors Detected, Cores per Processor = 2
    Intel (R) Core(TM) 2 Duo CPU T7500 @ 2.2GHz

    The T3000 is a Penryn class CPU and T7500 is Merom class. One uses digital sensors and one uses analog. I am not surprised it doesn't work, although they will fit in the same sockets, as you can see.

  • I need help witht the fan and usb.

    Ok Hi. a few weeks ago i finished doing one of the updates my computer gave me and by the way im not very computer literate sorry. and ever since then the fan run all the time very loudly and the bottom heats up pretty hot. and on top of that the usb ports dont work. i tried plugging in my ipod and it didnt show up in itunes or on my desktop. any help?

    Yeah this is a sign of some kind of hardware or management failure, it's possible one of your fans is no longer working. When you reboot hold "D" and run the diagnostics to see if perhaps there is something you can do about it. But my best advice is to not turn it on at all because that many things going wrong at once is a very serious problem.
    Call your local Applestore and see if they have an opening for you.
    Message was edited by: UnlivedPhalanx
    Message was edited by: UnlivedPhalanx

  • I need help with SMC fan control?

    I recently installed smc fan control but everytime I open it I can't get the minimum fan speed below 4200 rpm's, anyone have any ideas what I should do?

    You don't need smc fan control, just Mac, more accurate to say SMC automatically control fan at proper speed.
    If it's not proper speed you think, resetting SMC could solve it.
    Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support

  • I need help replacing the fan on my Pavilion DV7

    Whare can I get instructions for replacing the fan in my Pavilion DV7?

    Hi:
    Here is the link to the service manual for your PC. Component R & R instructions for the fan can be found in Chapter 4, Page 99.
    http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01918142/c01918142.pdf
    Paul

  • Need Help! CPU shows 100% constantly in performance monitor

    We have a new Dell t620 server running server 2012 std. running AD DS, dhcp, dns and the performance monitor shows constant 100% CPU load, while the processes in task manager can show very little CPU useage. By the way this is a Intel Xeon E5-2620 6 core
    CPU, with 32GB ram which shows normally using only about 2GB ram at the same time. If I do a shutdown and restart I am getting the same 100% CPU load.
    Does anyone know what might be causing this behavior?
    We have other identical servers which show usually zero to low CPU load, performing the same functions.
    Is this a known problem with server 2012 std.?

    This server is now in service on a network. So I cannot shut it down during business day.
    What is really strange is when I open task manager it shows almost all the CPU useage in APPS, which consist of task manager and resource monitor, with task manager sometimes even going to 100% CPU useage.
    While memory, harddisk and ethernet are showing like low useage.
    Do you all think it could be memory or a bad CPU? This is a 1 week old Dell server.
    Does anyone know if there is a good memory checker that can be run from windows while server is in service?
    Thank you for your assistance.

  • Need help silencing an ALSA warning printf: The dmix plugin supports o

    ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
    I get this when running espeak. I think espeak is doing nothing wrong; the problem is likely with the configuration files that were installed on my system as part of installing ALSA.
    I have not changed them at all, and the sound card is your run-of-the-mill Intel HD Audio with a Realtek codec.
    Something in some configuration file causes dmix or ALSA to print this warning, probably somewhere in /usr/share/alsa. But I can't figure out where. Any ideas?

    See config in my sig, and its "capture.pcm" line.

  • Terminal command to make expanded print dialog box the default

    I saw this somewhere back under Tiger, but I can't remember where.
    I need to know the terminal command to make the expanded print dialog box the default. I'm getting tired of clicking the blue arrow to expand the box.
    If anyone can direct me, I'd sure appreciate the help!
    Karen

    Hi Karen
    I believe the command is this:
    defaults write -g PMPrintingExpandedStateForPrint -bool TRUE
    Thanks to macosxhints.com...
    Matt

  • Need help with a terminal command

    Ever since Lion, or maybe even earlier, I am fighting a losing battle against memory leaks on my MacBook Pro. Safari for example takes over time 2GB+ for just 2 or 3 tabs open with almost no extensions active. Really strange.
    Someone told me about the "purge" command in Terminal to free some of the sequestered memory, so I am doing this a few times a day to be able to use Photoshop, Keynote, Premiere and other stuff concurrently without opening and closing apps like I did 10 or 15 years ago, remember those days?
    So here are my 2 questions:
    Will this frequent "purge" command harm anything in the long run?
    If no, is it possible to automate this "purge" Terminal action somehow? Maybe a desktop icon to click, or fully automated? I am a designer, not a coder, so I would need help with that.
    Thank you for your input!
      Model Name:          MacBook Pro
      Model Identifier:          MacBookPro8,2
      Processor Name:          Intel Core i7
      Processor Speed:          2.3 GHz
      Number of Processors:          1
      Total Number of Cores:          4
      L2 Cache (per Core):          256 KB
      L3 Cache:          8 MB
      Memory:          8 GB
      Boot ROM Version:          MBP81.0047.B27

    Hello, do any modifier keys work, like Optio/alt?
    Could you have Firmware password protection in Mac OS X ...
    http://support.apple.com/kb/HT1352
    It would block usage of all the startup keys, like C, N, T, D, CMD+s, CMD+Option+p+r, CMD +v, Option, and Shift, as well as booting from anything but the Hard Drive.
    Force Removing Password Protection
    1) Add or remove DIMMs to change the total amount of RAM in the computer.
    2) Then, the PRAM must be reset 3 times. (Command + Option + P + R).
    http://www.securemac.com/openfirmwarepasswordprotection.php

  • I need help, How could I add Aliases to Local Administrator account via terminal commands???

    I need help, How could I add Aliases to Local Administrator account via terminal commands???
    I want to use commands to add alias for existing administrator account remotly by using ARD.
    Thanks.

    Hi,
    a Windows Domain Controller does not have any local user or groups. So you might add the user to the admin group at Domain level.
    B RGDS,
    Gregor
    Edited by: Gregor Gasper on Jan 9, 2009 1:44 PM

  • Can't seem to sync my phone with iCal because I get a message that says:No writable calendar. I tried the suggestions I found in Help including a Terminal command to no avail.

    Can't seem to sync my phone with iCal because I get a message that says:No writable calendar. I tried the suggestions I found in Help including a Terminal command to no avail.

    I can only suggest you now need to somehow link your mobile to sync with the new calendar 'On my Mac'.
    I have a work Blackberry whose calendar I sync with an iCal calendar 'On my Mac' using a usb lead and the Blackberry Desktop Manager for Mac. This free piece of software from Blackberry, automatically starts up as soon as I connect the usb to the iMac and it then prompts me to select which calendar 'On the iMac', which is writable, that I want my Blackberry to sync to.

  • Need Terminal Command to Erase External HD

    I used the Disk Utility to partition an external Western Digital hard drive with one
    partition for the Time Machine and the other for SuperDuper. Something happened
    when the Disk Utility made the partitions. Now the two empty partitions show up
    on the desktop but the Disk Utility cannot do anything. I suspect the directory is
    hosed. The DU cannot Repair or even Erase the external drive. The DU hangs (does
    not respond) and I have to use Force Quit. FYI, DU fails when it tried to unmount
    the partitions.
    I am not very skilled in terminal commands and would appreciate some specific
    commands to Erase the external WD hard drive. When I open the terminal it has
    me at the user level. What is the command to view the external drive, then what
    command is needed to ERASE it. Once erased I think the Disk Utility should be
    able to do its thing.
    All of this needed to create a Time Machine backup drive

    aRKay wrote:
    Select the top line for the drive in DU's sidebar, click the Partition tab, then
    use the Current pop-up menu to select 1 Partition, and click Options and select GUID.
    I tired that before making the posting. When I click on partition, it cannot unmount
    either partition and DU hangs (does not respond).
    Try booting up from your Install disc and using it's copy of Disk Utility. (Boot from the disc, select your language, then on the next screen select Utilities in the Menubar, then +Disk Utility).+
    I would like to jump start the drive from the terminal if possible.
    II'm not well-versed in UNIX. You might get some help with that in the UNIX forum, in the +Mac OSX Technologies+ forum, at: http://discussions.apple.com/forum.jspa?forumID=735
    Maybe I need a 3rd party utility to fix what DU hosed? Again, I suspect the director his hosed.
    +Disk Warrior+ is thought by many to be the "gold standard" of such apps, and as probably a good investment, but is about $100. Whether it can fix this, I have no idea.

  • Need a Terminal Command

    Hi, I have no idea how to use terminal so I need code I can copy and paste. I am running iFreeMem and its crashed. These type of apps do not show up in the force quit box so I have no idea how to force quit it. My only idea was Terminal but I don't know how to do it.
    Can someone please help? Has this ever happened to anyone? I just read some articles that made me decide to trash the app altogether, but I need to get it closed first. :o)
    I have to many things going on to shut the computer down at the moment and the iFreeMem screen is in the way of everything (floats on top). Thanks in advance!

    You must know either the correct case sensitive name of the application, such as iFreeMem. If you do then the Terminal command is:
    killall iFreeMem
    Press RETURN.
    However, even though iFreeMem is an application it may fork a process with a different identifier. If so the above command will fail. In this case you need to find the PID - Process IDentifier. In the Terminal enter, top, and press RETURN. If the process is in the listing then you get the PID from the lefthand column. Use the same killall command but with the PID instead of the application name.
    If you cannot find a PID, then you need to restart the computer. If the application runs automatically then you need to uninstall its components. See the following:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash. Applications may create preference files that are stored in the /Home/Library/Preferences/ folder. Although they do nothing once you delete the associated application, they do take up some disk space. If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application. In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder. You can also check there to see if the application has created a folder. You can also delete the folder that's in the Applications Support folder. Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item. Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder. Log In Items are set in the Accounts preferences. Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab. Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS. Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term. Unfortunately Spotlight will not look in certain folders by default. You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead. Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder. Usually with the same name as the program or the developer. The item generally has a ".pkg" extension. Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are also several shareware utilities that can uninstall applications:
    AppZapper
    Automaton
    Hazel
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQ on removing software.

Maybe you are looking for

  • Wireless internet not working on my mac for new network..

    Im visiting my boyfriend and for some reason my macbook wont pick up his wireless network. All other pc computers in the house seem capable apart from mine. I usually use wireless via my airport router at home. Here it's Tiscalli. At first it asked m

  • Sales Report problem with 2LIS_11_VAHDR, 2LIS_11_VAITM and other DS

    Hi Experts, I need your help in following topic. I have a requirement to build a big (overall) sales report in BI (NW2004s). I would like to use BI Content because I'm running out of time and try to use all preconfigured stuff if possible. In the req

  • Why do premium movie channels alter the widescreen aspect ratio?

    Why do channels like HBO HD and Cinemax HD change the aspect ratio of movies?  I have seen movies that I own on dvd or blu-ray that are 2:35:1 or 2:40:1 aspect ratio (meaning very wide and you see some thin black bars at the top and bottom of your sc

  • A Taxing CFDIRECTORY Problem...

    Hello, I am having a problem and I can't get it. This is the output I want: CFOUTPUT <folder name="Folder_1" file="../clients/Proj105/content/Folder_1"> <pic image="../clients/Proj105/content/Folder_1/Picture1.jpg"/> <pic image="../clients/Proj105/co

  • G5 Dual 2GHz refuses to boot on AirPort Extreme Card Installation?

    I was wondering if anyone has heard of this before. I just got an AirPort Extreme Card from Apple that has been refurbished. I installed it in my G5 and then on power-on, the system hangs before the chime even sounds? I remove it and everything is ba