• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

How do I kill a hung application

Started by nigel, 2008.01.28, 23:09:24

Previous topic - Next topic

nigel

Hi all

I am having issues with netscape navigator 4.something in my os/2 virtual machine

When i boot up it automatically opens and hangs, its status bar is normally saying something like contacting Host.netscape and it never completely loads

I have tried

Selecting netscape from the window list and selecting close
Pressing the close button in the top right of the netscape window
typing Kill -9 in to the console (Yeah OK it was a guess)
Kicking the computer

I have heard mention of a "top" command, but i can't find any info on it, so anyhelp would be appreciated

Saijin_Naib

TOP is a commandline tool developed by (I think?) Paul Ratcliffe that allows you to see process CPU usage and other metrics, and also end them. It works pretty well with killing hung apps, but some times, apps can NOT be killed without a reboot, a limitation of OS/2 and the SIQ.

TOP:
http://hobbes.nmsu.edu/cgi-bin/h-viewer?sh=1&fname=/pub/os2/util/process/top211.zip

RobertM

Hi,

Find the most recent version of CADH.ZIP on Hobbes, install that (follow instructions), install an additional process killer to add "hard kill" option (see CADH instructions for details). Then, once it is installed and running, simply press <CTRL> <ALT> <DEL> and a list of options will come up... hit the one for process list ("L" I think), hit a key when the list is on the screen until you get the kill options on the bottom, select "C", "K" or "H" (Close, Kill or Hard Kill), enter the process number for Navigator (or whatever one you want to kill), hit enter. Hit "ESC" till you are returned to the desktop.

-Robert


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


nigel

Thanks Guys

Is there a way using the inbuilt tools of OS/2, as it is phenomanally slow, as in it can take 10 minutes from me pressing the menu button till the menu appears, Rebooting is one of the things i have tried, but everytime i reboot netscape tries to open and promptly hangs, so i am thinking trying to install anything is probably going to be nigh on impossible, i am also half way through a failed upgrade using OS2MT, which i can stop, but also starts up oin the reboot

I was looking at doing a reinstall, however as my CD appears to be no longer readable, that option appears to be out (although i am going to try the CD in an old 4X CD player and see if it works), I am just annoyed as i purged all my back-ups a week ago to make room for music

nigel

#4
Ok I'm back

I have discovered if I close the problematic OS2MT install as soon as it starts, netscape gets a little further and i can close it, (however on reboot they both come back)

The system is still sluggish so i get the top command installed and ran it 10 minutes later it came up

and it is showing opera is hogging 99.7% of the CPU time

ok

pkill 44

has killed it

now the system seems to to be working quickly again

now we reboot, and the OS2MT install thingie starts then fails, close that and It seems to all be at normal speed, although the opera browser no longer work

RobertM

Hi nigel,

I have these two lines in my config.sys which may help:

SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
SET RESTARTOBJECTS=StartUpFoldersOnly


You will probably find one or both of those lines in your config.sys... and may need to modify them instead of add them. They prevent programs that were running on shutdown from being restarted on reboot.

Another option for the AUTOSTART line is:

SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS,CONNECTIONS

either way, unless you have Netscape (or OS2MT) in your startup folder, that should prevent them from loading on reboot.

-Robert


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


El Vato

Quote from: nigel on 2008.01.29, 07:35:54
[...]
although the opera browser no longer work
Opera for OS/2 depends on Odin (Win32 interface) to execute and is unstable.  On real hardware I experienced that high CPU usage quirk that you describe and stopped using it.  Executing Opera in a virtual environment layer simply exacerbates that problematic browser.

My suggestion: install Firefox for OS/2 instead of Opera.  The former's performance is decent even under a VirtualPC  Warp 3 Connect virtualized instance.  But first, follow RobertM's advice so that upon a reboot of your machine no application(s) will be automatically restarted.