1825775 Members
1896 Online
109687 Solutions
New Discussion

cpu full

 
joe_91
Super Advisor

cpu full

Hi Again:

This morning one of the user did something which put one of the process running way at 100% cpu. since the users log from pc it is very difficult to say what they did(like clicking on x) but they launch xmotif apps from pc thru xemulator. I have attached the lsof output. Can someone look into it and point out may be the rootcause of the process running away. This lsof was taken after the user logged out but still had his process running. Any help would be appreciated.

Thanks
Joe.
9 REPLIES 9
Pete Randall
Outstanding Contributor

Re: cpu full

Joe,

I think you would be better off looking at top or glance (or even sar) to see what process is the top CPU hog.

Pete

Pete
PIYUSH D. PATEL
Honored Contributor

Re: cpu full

Hi,

Check out with top, glance or sar to find out what process is occupying the CPU resources and then use the lsof command.

Piyush
Steve Steel
Honored Contributor

Re: cpu full

Hi

2 lines to neatly print the progs using cpu


1 UNIX95= ps -e -o pcpu -o ruser -o vsz -opid -o args|head -n1
2 UNIX95= ps -e -o pcpu -o ruser -o vsz -opid -o args|grep -v %CPU| sort -
nr|tail -n +2|head -n 20


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Shahul
Esteemed Contributor

Re: cpu full

Hi

Still Ur CPU is loaded? If yes, Please use #top command and see which process is loading CPU. Or do U have any diagnostic software installed which gives the history ? Or U monitor CPU load alway by using top or sar or w command. Then U will be able to find out what went wrong.

Best of luck
shahul
Steve Steel
Honored Contributor

Re: cpu full

Hi

Is there anything in

1)/var/adm/syslog/syslog.log

2)/var/dt/Xerrors

3)For the user

$HOME/.dt/startlog $HOME/.dt/errorlog

From when this happened.


Check you patch level.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
harry d brown jr
Honored Contributor

Re: cpu full

Joe,

What is

\hich\af2\dbch\af23\loch\f2



??


live free or die
harry
Live Free or Die
joe_91
Super Advisor

Re: cpu full

Hi All:

Thanks much for the response. I forgot to mention. the process which was running away was UAM.Harry, you can omit the first coloumn as i think it came out of word wrapping.

Thanks
Joe.
Tim D Fulford
Honored Contributor

Re: cpu full

I'm no expert here but it looks like "chrislee" is doing everything here!!!!!

I think you have 3-4 X type services
ctxclipbo[ard]:27893
ctxwm:27894
ctxlogin:27790
ctxXtw:27789

The two below programs seem to have the most files open.
DSBS_CW:27920
UAM:28493
I think they are using "ccia" [whatever that is] and are accessing the data/logical volumes /dev/vg01/lvdata and /dev/vg01/lvnet

From the above your probably saying "I know all this" or "he's got that wrong". But the information you have given is not the whole story.

As far as what is using the CPU... you cannot say as the output looks at all the open files.

I would suggest

1 - look at "top", if you can post it.
2 - Look at the Applications that use the most CPU in glance (if you have it), see if they are doing anything weird.

Tim
-
Martin Johnson
Honored Contributor

Re: cpu full

It has been my experience that if a PC loses it's connection, some application loop, trying to re-establish the connection. Using top or glance will show you these processes.

If you have Measureware, you can add to the /var/opt/perf/alarmdef file to send an alert when a process CPU utilization is more than 90%.

Marty