My script... make it stop!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
LaylaW
 
Posts: 5
Joined: Tue Feb 04, 2014 8:32 pm

My script... make it stop!

Post by LaylaW »

Silly me, I wrote a script that uses setInterval() to call a function that causes the LEDs to flash a repeating pattern and then dropped the script into the autorun folder. Now I can't get into the Cloud 9 IDE. Can someone help me stop this script from running?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: My script... make it stop!

Post by adafruit_support_mike »

Use `ps ax` to get a list of all processes running on the system. Along the right-hand side of the listing will be the text string by which the process was executed, and your script's name should be there.

The number all the way at the left side of the line is the 'Process IDentifier' (PID) which the OS uses to keep track of the process.

Once you have that number, use `sudo kill -9 PID`, where 'PID' is the number from the appropriate line. That tells the OS to shut down that process immediately and without any negotiations.

Locked
Please be positive and constructive with your questions and comments.

Return to “Beagle Bone & Adafruit Beagle Bone products”