Amiga.org
Operating System Specific Discussions => MorphOS => MorphOS -- Application questions and support => Topic started by: XDelusion on June 25, 2010, 10:16:31 PM
-
So how does one kill a program that will not close and is hogging up memory?
OWB does this sometimes when you try to download a file and it tries to load it as a web page instead.
-
I usually use scout to kill the process and exorcist to get rid of any screens or windows if the app is already dead. Both can be found at OS4depot IIRC.
-
And this will work with MorphOS?
-
Get Scout for MOS on Aminet
http://aminet.net/util/moni/Scout_mos.lha
-
Get Scout for MOS on Aminet
http://aminet.net/util/moni/Scout_mos.lha
Iirc scout requires plethora of 3rd party MUI classes. If it fails to start you can use Tools/Snoopium to find out which.
-
So how does one kill a program that will not close and is hogging up memory?
OWB does this sometimes when you try to download a file and it tries to load it as a web page instead.
On MorphOS you can use iKill, it's a shell command included with the system, it will take taskname as an argument, with no arguments the pointer changes to a crosshair, be careful where you click or hit escape if you change your mind.
-
So how does one kill a program that will not close and is hogging up memory?
OWB does this sometimes when you try to download a file and it tries to load it as a web page instead.
What kind of link does that for you? If it happens, it's most likely because the server doesn't set the proper mimetype and sends for instance a binary file as text/plain, which OWB would try to display, by default.
Fortunately, you can change that behaviour by going to OWB mimetype settings, and adding the extension/mimetype for the link, and set the action to download or ask (similar to ibrowse mimetype settings).
But anyway, OWB shouldn't crash while viewing plain text files (unless it's really really big and webkit runs out of memory, not even sure it would).
-
Is there a way to kill running programs or processes in worbench 3.1 from the shell?
-
Is there a way to kill running programs or processes in worbench 3.1 from the shell?
Most probably yes (Aminet is your friend), but why would you want to use the shell? Isn´t it easier to click on a process, than to type its name or even find the PID, etc?
I used ARTM on 3.1 .. which is of course a GUI program. But there are a lot of other softwasres that can do the same thing.
-
Some programs run in their own screen and can't be clicked on.
-
And this will work with MorphOS?
Oh, I didn´t notice the cat on your AV is actually chasing butterflies:kitty:.
Well sorry, I currently don´t play in the blue team. Maybe there is something better than Scout on MOS.
Anyways - usually you don´t get back all of your resouces when the polite "break" isn´t working and you really have to kill the process. Good software should not require the user to do such things, right?
-
Some programs run in their own screen and can't be clicked on.
Why not?
-
If I'm wrong, by all means correct me, it'll make me a happy camper.
-
If I'm wrong, by all means correct me, it'll make me a happy camper.
Shell windows are MUI and you can move them (jump) to any public screen, alternatively some hotkey launching of iKill would allow you to start it on any screen.
-
But if they are pubscreens, then it's hardly "their own screen" :)
-
Shogo does not use MUI. It is in it's own screen. I can't click on it from the desktop obviously.
-
Shogo does not use MUI. It is in it's own screen. I can't click on it from the desktop obviously.
Ikill can also use an argument when used from shell: the task name. Not sure it's particularly handy, though.
There's also "freeze" command, to freeze and unfreeze a task from shell. And finally, you can also freeze tasks with scout, and once related tasks are frozen, you can in theory hope to close related screens/windows manually without trouble.
-
EDIT: Never mind, I catch your meaning now.
Does iKill have docs somewhere?
-
EDIT: Never mind, I catch your meaning now.
Does iKill have docs somewhere?
Not AFAIK, but from a users viewpoint the operation is fairly simple, I think the "i" in the name stands for intuition, so getting rid of intuition windows + related tasks is pretty much what it does. The single argument you can give it on the command line is a taskname, you can use the TaskList command to see current task states. There is no safe way to reclaim resources from dead tasks, so once you've saved whatever you're working on you should probably consider rebooting.
-
Tasklist, the secret command I needed to make sense of all this. Thank you!
-
So how does one kill a program that will not close and is hogging up memory?
OWB does this sometimes when you try to download a file and it tries to load it as a web page instead.
I use this on 3.9 with pretty good success. Some things crash pretty bad and when you try to kill them the system reboots.
http://aminet.net/package/util/misc/Murderer
Have know idea how/if it would work on MorphOS.
-
Seems to take a little while to load on MorphOS, but it does indeed load. :)
Will give it a go next time I have a crash seeing as it has a GUI, otherwise I will just have to resort to the command line method.