How to terminate rogue processes (e.g. Opera crash)

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

How to terminate rogue processes (e.g. Opera crash)

Post by offbeatdave »

Just had a situation where Opera crashed and I couldn't exit from it. All that I could do was move the pointer around. I'd tried a 'killall tango' via telnet but, as I thought it might, this left the pointer on screen, Opera running in the background and the Joggler unusable. I didn't want to reboot the Joggler as this one is very temperamental (it took me three days to reflash it and get it re-PnP-ed this week following a foolhardy reboot).

Anyway, a quick bit of Google-ing led me to the solution which I've popped below for anyone who may need it (and for my future reference!):

Telnet-ed in and ran

Code: Select all

ps aux | less
to display a list of running processes (exited the list by via :q when I reached the bottom).
I then found the rouge instance of Opera and its process number and ran

Code: Select all

kill -9 xxxxx

where xxxxx was the process number corresponding to Opera. I had tried without the -9 but that didn't work. Apparently the -9 ensures that the command is executed. This language for stopping processes from running is all rather aggressive isn't it?!
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
User avatar
Mevi
Posts: 774
Joined: Tue Oct 25, 2011 4:39 pm

Re: How to terminate rogue processes (e.g. Opera crash)

Post by Mevi »

offbeatdave wrote:I didn't want to reboot the Joggler as this one is very temperamental (it took me three days to reflash it and get it re-PnP-ed this week following a foolhardy reboot).
My two Openpeak Jogglers are 'delicate' and don't like to be messed about with. One is currently bricked and the other only boots XP and not boot either Buzz's Linux or the internal OS... many many reflashes later. I will eventually get PNP MKII working on at least ONE of my jogglers!! :D
I've Got The Moves Like Joggler

Windows XP Professional SP3 plus Tablet PC for O2 Joggler
http://www.jogglerwiki.com/forum/viewto ... ?f=2&t=305

How to build your own Windows XP for the Joggler
http://www.jogglerwiki.com/wiki/WindowsXP
gegs
Posts: 1146
Joined: Fri Mar 04, 2011 3:22 pm
Location: Edinburgh

Re: How to terminate rogue processes (e.g. Opera crash)

Post by gegs »

offbeatdave wrote:...I didn't want to reboot the Joggler as this one is very temperamental (it took me three days to reflash it and get it re-PnP-ed this week following a foolhardy reboot)...
Do you have any idea why this should be? I also had to reflash after a re-boot (shortly after installing PnP MkII for the first time). I used the original PnP reboot facility fairly often and never had a problem with it. Maybe I was just lucky.
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

Re: How to terminate rogue processes (e.g. Opera crash)

Post by offbeatdave »

Out my six Jogglers, the 2 o2 ones have always being indestructible, as has one of the Openpeak ones. 2 openpeak ones are usually OK but have been known to throw a wobbly on the odd occasion. The Openpeak one in question is very prone to not reflashing correctly for some reason. No idea why through!
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
User avatar
roobarb!
Posts: 1772
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: How to terminate rogue processes (e.g. Opera crash)

Post by roobarb! »

offbeatdave wrote:Out my six Jogglers, the 2 o2 ones have always being indestructible, as has one of the Openpeak ones. 2 openpeak ones are usually OK but have been known to throw a wobbly on the odd occasion. The Openpeak one in question is very prone to not reflashing correctly for some reason. No idea why through!
It would be great to figure it out, especially if I could tweak the reflashing tool to fix it, but my guess is that there are teeny hardware differences that have been tweaked over the life of the product, which would explain why the O2 ones are perhaps more solid than the OpenPeak ones (which must be earlier revisions).

Wouldn't it be nice if someone from O2 or OpenPeak involved in the Joggler's product development popped up on here one day and gave us a little background?

Anyone?

This is your invitation to say "Hi!" if you're reading this! :)
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
Post Reply