What is "Bash"?  And why is it using 15-20% of my CPU?

I went to the apple store today and they expressed concern about "Bash" in my Activity monitor taking up so much CPU (and causing my fan to run all the time).  They didn't know what it was.  Does anyone know what it is and how to get rid of it?
Thanks! Kate

bash is the standard shell under OS X – meaning it is the standard program to interface with the operating system’s Darwin underpinnings (technically, /bin/sh is the standard shell, but that has been a copy of /bin/bash since OS X 10.3). It is the process that is launched when you open a Terminal.app window – an interactive shell.
bash can also be launched without a terminal window – a non-interactive shell –, for instance to execute shell scripts, often denoted by the file suffix .sh. That is the case here – bash is running the script /usr/bin/stkLaunchAgent.sh, and something in this script is keeping your system busy.
Now, /usr/bin/stkLaunchAgent.sh is not part of an OS X install – it is some kind of third party addition and as such is not present on my system, meaning I can only guess, but I’d say:
from its name part “LaunchAgent” and the fact it starts with your system, that it is triggered by a LaunchAgent – a small definition file used by OS X’ launchd, the system mechanism for starting scripts and non-interactive programs on schedule, boot or other events. That part I‘d qualify as an educated guess.
from the fact your troubles began with the installation of your Vertex SSD, and the fact that the crucial difference between SSDs and HDs is the first do not take kindly to defragmentation and similar low-level interventions into their structure, that the script launched by the agent in question might be trying to do some operation on the drive the Vertex SSD does not accept – which keeps the script running and bash busy. Now, that part is only a wild, wild guess, but…
  How to find out what the script does:  Open a Terminal window and do open -e /usr/bin/stkLaunchAgent.sh to have a peek into the shell script (that command will open it in TextEdit – terminate it in Activity Monitor first) – that should give you the means to see what exactly is running.
How to get rid of it:
You’ll have to get rid of the LaunchAgent, if it is indeed one. launchd LaunchAgent files are in plist format and found in
~/Library/LaunchAgents – for the current user account only
/Library/LaunchAgents – for all user accounts
/System/Library/LaunchAgents – system level agents (should not by rights be found here!)
They are usually named in reverse domain notation (tld.domain.process.plist). Depending if the user account of your runaway bash is yours or not, you should look in one of the first two locations above for a likely plist (if you have Xcode installed, you can QuickLook them easily). The correct procedure to stop it is to remove it from launchd’s process list through
launchctl unload tld.domain.process
which will unload and stop the process (note you omit the plist suffix).
There is also a GUI for handling launchd files, Peter Borg’s Lingon (make sure to get “Lingon”, not “Lingon 3”, which is a dumbed down version safe for vanilla use), which might be more convenient than manually rooting through the file locations.

Similar Messages

  • What is MRP and why it is used?

    hi
    this question was asked in an interview can some one explain in detail for me
    What is MRP and why it is used? If there are 2 Lakhs of items is it feasiable to run MRP since running of MRP for 2 lakhs of item is time consuming, if yes then how it is been done?
    thanx

    Dear Bashir,
    1.MRP is material requirements planning which plans the required quantity of depedent material's along with the required date.
    2.MRP procedure is sub divided into a normal MRP,Master Production Scheduling and Consumption Based Planning.
    3.Cosnumtion BAsed planning is further sub-divided into Time Phased Planning,Reorder Point Planning and Forecast based
    Planning.Reorder point planning can be automatic or Manual.
    4.MRP type is differentiated using the MRP type value assigned in the MRP1 view of the material master.
    5.Some of the MRP types are PD - MRP,M0,M1,M2,M3 - MAster Production Scheduling related,VB - Manual reorder point
    planning,VM-Automatic reorder point planning.
    6.It is possible to take the MRP for the whole plant/for a specific MRP area using the batch MRP job.
    7.MDBT is the T Code for scheduling the MRP job or it can be scheduled for the program RMMRP000 using the T Code SM36
    and the results can be checked using SM37.
    Regards
    Mangalraj.S

  • What is powerd and why is it using so much cpu

    When I check the activity monitor, it is almost pegged out. Because of this other things run slowly. So, what is "powerd" and why is it all of a sudden using so CPU?

    It is something related to power management, but it shouldn't be running away like that.
    Select it in Activity Monitor and then Quit it using the "X in octagon" button. You should only need Quit, but try force quit if needed.
    It will restart, but hopefully it won't start running away. If it does, there is likely something else causing it to do that.

  • What are Hierachies and why do we use them?

    Hi All,
    I need some insights regarding Hieracrchies,and why do hierachies are used?
    Thanks in Advance,
    Sravani

    Hi Sravani,
    why do hierarchies are used?
    To represent our Organization / Information in  STRUCTURE (Structural way......)
    BI 7.0  DATA SOURCES won't support hierarchy loading.
    U have to use 3.x data source and info source to load it.
    loading  hierarchies in :
    http://help.sap.com/saphelp_nw70/helpdata/EN/80/1a6729e07211d2acb80000e829fbfe/frameset.htm
    hope it helps.......
    Regards
    chandra sekhar

  • What is BitLocker and Why Should We Use It in Windows 7 Ultimate & Windows 8 ?

    Hello ppl. Today, I'll try to tell you about BitLocker function in Windows 7 Ultimate & Windows 8 in clear words. When we save a document in our harddisk folders these info are easily can be acquired by a hackers if your system is insecure though a good hacker can beat all kinds of antivirus and firewall software. But !!!
    If your data are saved encrypted on your harddisk, it is impossible to see that data though these clever guys stole your sensitive info. Because the data can not be seen without a log in password if they have been saved with encryption!!! So here is what BitLocker does!!!
    BitLocker saves all your information by encrypting them so you dont have to worry about your sensitive data anymore! Even if they are stolen by other ppl, it's impossible to see your valued work sheets or other personal data such as pics and bank account information as long as you have a good BitLocker password like A3#Be$%Er or whatever.
    BitLocker is a standart feature added to Windows 8 but you should upgrade to Windows 7 Ultimate to use it in Windows 7.
    I'll also start a topic about how to activate BitLocker in Windows 8 shortly.
    I try to tell in clean words when I create a topic to help those who have basic knowledge about IT. I hope this helped. If you still have questions about BitLocker please dont hesitate to ask me about them. 

    Hi
    Thank you for your post . This is a good information which can help users to be protected from hackers
    Cheers!!!

  • Nsurlsessiond - what is this and why does it use alot of data?

    Hello
    Firstly
    I was in a public library, uploading to my dropbox account, and all of sudden my network speed indicator/ montior showed heaps of download and fast too.
    but i was not downloading anything.
    I was upping to my dropbox account.
    In activity monitor i noticed this service was operating "nsurlsessiond"
    What is this service?
    In my connection alert it tells me nsurlsessiond tried to establish a connection to apple-dnld.vo.llnwd.net on TCP port 80 (http)
    Secondly, i was using my own wifi, and saw this nsurlsessiond service consuming heaps of data. Again I was upping to my dropbox account. About 1gb this time.
    Now I have blocked communciation to "nsurlsessiond"
    What is the impact of blocking such communication?
    please see details of service in screenshot
    Now after this experience, I am wondering is it apple policy to have communication from our macbook's to somwhere without us knowingly allowing it?  I thought apple was respective of our privacy, or has this changed?
    thankyou for your help and time.
    regards
    10.10.2
    dropbox v3.4.4
    macbook pro
    Message was edited by: seaseasea added screenshot
    Message was edited by: seaseasea
    added device and osx

    i couldnt say. it was just that i happen to be only upping, to dropbox, and then saw downloading on the monitor.
    that was triggered as odd.
    i rarely look at what services are going on... only if my macbook slows down or something else odd.
    in both cases i was only upping to dropbox.
    i dont do alot with my macbook, other than upping to dropbox laterly.
    thankyou for your thinking and help.

  • Ubd activity - what is it, and why is it using 87% of my processors, and killing my battery?

    I have only seen two threads that have the term ubd and battery.  I've shut off my bluetooth, my wifi, and all of my apps, and ubd still fluctuates between 7% and 87% with no explanation.  I have a new MPB (non-retina), and my battery lasts perhaps 1 hour doing emails and internet.  I can't go unplugged at all and expect to do photoshop or any other processor-intensive app.  I'm on 10.8.3, and I've got 16GB of RAM, and a 1TB 7200RPM internal hard drive.  My wife's 13" mbp is 3 years old, and she is on 10.7, and she gets 4 hours of usage in lightroom and photoshop, so what the heck is going on?
    Also, I don't use antivirus or other firewall apps, in case you're wondering.  I like to keep background stuff to a minimum.
    It would be great if the mac support folks could chime in, and thanks in advance for anyone who might be able to help.
    Thanks!

    Best to post in the macbook pro forum
    Direct you to the proper forum for MacBook :
    MacBook Series Forumshttps://discussions.apple.com/community/notebooks?view=discussions
    Mac OS X Forums
    https://discussions.apple.com/community/mac_os?view=discussions
    http://www.apple.com/support/macbookpro
    We are not notebook users.
    What does Activity Monitor show for process that are the most active running?
    There is an Apple article or user tip on what can cause battery drain, like those on the RIGHT "More like this"

  • What is "uninstalld" and why does it take up nearly 100% of CPU?

    I recently upgraded from 2 to 4GB of RAM because my iMac was running slow. It works better now but my activity monitor shows only 45MB free right now even though I'm only using Safari. In the monitor window it says that "uninstalld" (without the e) is taking up 99.3% of CPU. How can that be and what can I do about it? Thanks.

    Select that process and kill it in Activity Monitor, see if it comes back.

  • What is kernel_task? And why does it use so much memory?

    I have an iMac 27 inch late 2009 purchased new in July 2010. It has a 3.08 Ghz Intel Core 2 Duo Processor and 4 GB of Memory. I recently upgraded to Yosemite and just now was unable to save an Excel document to an external hard drive with plenty of space with the warning I did not have enough memory. I went to my activity monitor and indeed there is very little memory and at the top of the usages of memory is kernel_task?  I don't know what that is and why it requires so much system memory.
    Also, there is an installation I aborted for an app I realized I didnt need and for some reason something it out there still taking system memory and I get a message when I shut down that it can't install. How do I delete that.

    DNS (Domain Name Service) is the Internet "address book" of web sites. Whenever you go to a site such as http://apple.com your browser must make calls to the DNS server specified in your Network Settings to translate "apple.com" into Apple's IP (Internet Protocol) address of 17.178.96.59. Any time you access any Internet resource (such as sending or receiving email, playing multi-player games, using a browser, Using any app that accesses data on the Internet such as news, weather, stocks, etc) one or more DNS lookups must be made. Many web sites have content from several different sites. Each site referenced on the page must also be looked up. Each query is small (~100 bytes), but they can add up.

  • What is "Directory Service" and why does it "use up 194%" ?

    What is "Directory Service" and why does it "use up 194%" on my istat CPU app monitor?
    Ever since I installed Leopard I've noticed this happening more and more - especially when I install an external hard drive or unplug my ethernet line - this is plainly weird and never happened under Tiger - the temperature shoots up to 84° also - I always to a restart to get rid of it but it's kind of worrying....anybody have any ideas?
    Message was edited by: Host

    Had this happen myself.
    It does have something to do with Spotlight/searching. Should go away after a while, or so I have heard from other users, 'cause it hasn't stopped driving me and my fan mad yet.
    Am going to have my MacBook index and follow-up on indexing and whatever else it feels is necessary to finally allow me to search in peace over the weekend while locking it away where I can't hear it.
    Hopefully that does the trick.
    If it wasn't for things working better/faster and most things looking better I might actually consider taking Leopard off again ...

  • I have been trying to use an apple wireless keyboard with my ipad 2.  I will be typing then suddenly the ipad will repeat the key strock about twenty times.  It drives me crazy.  What is happening and why?

    I have been trying to use an apple wireless keyboard with my ipad 2.  I will be typing along and suddenly the ipad will take off and repeat the key stroke about twenty times rapid fire.  It really makes me crazy.  What is happening and why?  Help

    Found this thread by searching the forum. I hope it helps.
    https://discussions.apple.com/thread/5471311

  • Lastfmhelper? What is it and why is it always "not responding"?

    When ever I pull up Activity Monitor lastfmhelper is always red and not responding. Anyone have any idea what it is and why it's misbehaving? I noticed this because my 10.5.2 iMac Core 2 Due will all of the sudden become unresponsive. When I brought up Activity Monitor lastfmhelper was, as I said, red and "Not responding".
    Thanks

    It is not an OS X component so it must be from a third-party software product you've installed. A Google search only turned up a reference to a Windows file. There is a web radio site, Last.fm. You may be using software to access the site or installed software from the site to listen to their internet broadcast. If this rings a bell, then locate the software and uninstall it. It my not be compatible with Leopard.
    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. Most applications create preference files which 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 located 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.
    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.
    There are also several shareware utilities that can uninstall applications:
    AppZapper
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at www.versiontracker.com or www.mackupdate.com.
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • How and why do I use Xpn files in Photoshop cc 2014

    How and why do I use Xpn files in Photoshop cc 2014. in windows & SP2. I have been given about 20 .XPN files with a Photoshop course. I believe they are PS presets. I have no idea what to do with them.
    Thanks

    To be honest, i don't what those are either, as far as photoshop is concerned.
    Is the course specific to one subject or a general photoshop course?
    Here's a list of some of the most common kinds of photoshop files and the relevant extensions
    http://www.zuberphotographics.com/content/downloads/file-extensions.htm

  • What is Enhancement and why is it required in SAP?

    What is Enhancement and why is it required in SAP?
    Message was edited by:
            Rajalekshmi V

    Hi,
    SAP designed some standard scenmarios to meet most of the clients requirements. But still it won't suit the clients exact business spcifications, so we ned this enhancements.
    it's basically to enhance the Std SAP as per the clients requirements.
    An enhancement includes one or more components (function exits, menu enhancements, screen enhancements). For enhancements, you are recommended to observe the following naming convention.
    We add fields using the Screen exits, desing menu's using menu exits and Function exits to enhance the std functionality of the programs.
    reward if useful
    regards,
    Anji

  • Hai every body, can any one tell what is Adobe Forms, why it is used,?

    hi ,
       can anyone tell what is adobe forms?when and why it is used ?
    Can i have step by step  screen cams  for adobe forms, please help me.

    Hi,
    Welcome to SDN.
    If you click on the eLeaning tab at the top of this page then choose 'SAP Interactive forms by Adobe' on the left hand column you will find loads of training material on this topic.
    Regards,
    Nick

Maybe you are looking for

  • I need help!!!! My iTunes has gone wild Itunes 10.5.3 starts, skips,fast forward and open by itself randomly?

    One day out of the blue, Itunes began to open by itself interrupting pandora and playing at the same time with other videos and/or music that is playing on my computer. I have called The guys from mac support and they re started my computer, deleted

  • Listeners are going down frequently..

    Hi, I have two node cluster databases.in that cluster 5 databases are running. We have configuared 2 listeners for each database and registered in OCR.But frequently some listeners are going down or UNKNOWN state from first node only. everything is r

  • Tooltip widget - fonts display/preview as italic

    Tooltip widget - i am using web fonts such as helvetica and arial and applying Bold, but when you preview or the site is live they display as italic...why?

  • I can not reset my new Airport Extreme

    I i recieved my new Airport Extreme about a week ago.  Right after I set this one up I noticed some issues with my wifi.  I was replacing an older model Airport Extreme and just had Airport Utility swap info for me. I figured that maybe that's where

  • Give me help,thank you!

    will report articles about Oracle.I have seen two blogs :one is (http://www.killtest.com.tw),the other one is (http://www.ciscoblog.org) But I didn't understand the meaning of these articles about Oracle in the blogs.Who knows it please tell me ?Than