1834483 Members
3718 Online
110067 Solutions
New Discussion

Application Hang-up

 
bven
Occasional Advisor

Application Hang-up

Hi,

Appreciate any inputs on my inquiry.

We have around 100 HP-UX workstations (C3700 & C8000) running on CAD systems (CATIA/UG/IDEAS). Most of the issues we encounter is workstations hang-up, what we usually do is just reboot the workstation and the user can already continue working but I really wanted to troubleshooting on what really caused of the hang-up. First is I want to know how to check a certain application is still running or not. What is the command to do this?

Any input is highly appreciated. Thanks.

BTV
6 REPLIES 6
Christian Tremblay
Trusted Contributor

Re: Application Hang-up

To check why the system hung, you should check the system log for any errors once it's back up: /var/adm/syslog/OLDsyslog.log

To check if an app is still running, use the ps -ef|grep

Steven E. Protter
Exalted Contributor

Re: Application Hang-up

Shalom,

The only way to tell what the last response was is to check /var/adm/syslog/syslog.log or the backup that is made after boot.

It would be interesting if the machine is hung if you try a remote login to it and run top or performance management to see whats running at the time it is supposedly hung.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James George_1
Trusted Contributor

Re: Application Hang-up

Hi

To check your application / process

# ps -ef | grep

also, check the # top 10 command to see CPU utilization and see which process is taking the maximum resources.

there could be lot of other reasons like your network connections , disk utilization , memory etc for the " hang up"s.

rgds / James
forum is for techies .....heaven is for those who are born again !!
Ninad_1
Honored Contributor

Re: Application Hang-up

Hi,

What is the OS version ?
You can use ps -eaf to see all the processes running on your system.
You can use glance - but since its a work station I am not sure if you will have glance installed - just check if you have /opt/perf/bin/glance - thats a wonderful utility.
You can see which are the max CPU using processes as
UNIX95= ps -e -o "pid,user,pcpu,args" | sort -nr -k 3 | more

Are there any error logs in syslog ?

regards,
Ninad
bven
Occasional Advisor

Re: Application Hang-up

Thanks for all the inputs. By the way, using the ps command, how can you tell if a certain application is still running. For example, a user will report that his application is not anymore working, he can't even click on the menu button...he wants to know if his apps is still processing or not.

I hope my question makes since. Thanks.
bven
Occasional Advisor

Re: Application Hang-up

Thanks for all the inputs. By the way, using the ps command, how can you tell if a certain application is still running. For example, a user will report that his application is not anymore working, he can't even click on the menu button...he wants to know if his apps is still processing or not.

I hope my question makes sense. Thanks.