-1

Possible Duplicate:
bash process uses 90% CPU, comes back on computer restart

A bash script is starting on my Macbook air. (I bought it yesterday).

The script is taking about 20% of my cpu.

It starts every time I restart the machine.

I want to know what it's running ... but I don't know how to find out.

[I can very slowly find my way around terminal, but I've not done unix stuff for about 15 years ... and then I was no expert.]

10
  • What script is it? There might be a very good reason why it's running. Jun 23, 2012 at 12:57
  • Kenneth: that's what I'm trying to figure out. I can see it in Activity Monitor, it's taking 20% of my CPU, and I have no idea why. Jun 23, 2012 at 12:59
  • How do you know it is running and which user is running it?
    – mmmmmm
    Jun 23, 2012 at 12:59
  • 1
    Not enough detail in the question. Why do you assume it's a bash script? How are you measuring 20% CPU usage - is the script staying alive long enough for you to see it in Activity Monitor?
    – username
    Jun 23, 2012 at 13:00
  • 1
    -1, this question is unclear. Please at least tell us the name of that script. It's impossible to even guess what happens if you can't supply that important piece of information. What does the Activity Monitor show about that script? Please edit your question and add more info. Maybe also show the output of ps auxww related to that script.
    – slhck
    Jun 23, 2012 at 13:08

1 Answer 1

0

Maybe you just left Terminal.app running when you shut down your Mac? In Lion open apps are reopened when you reboot

1
  • 1
    I figured it out (thanks to this: bash process uses 90% CPU, comes back on computer restart). It was Amazon's Send To Kindle application. I installed it, but it didn't uninstall a script. I've reinstalled it and now the problem has gone away. Thanks everyone. Jun 23, 2012 at 13:16

Not the answer you're looking for? Browse other questions tagged .