RE: Semi OT: cpu always 100%

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 


Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 0406.024.281, RPR Mechelen, ING  310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB

-----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of ESGLinux
> Sent: vrijdag 22 mei 2009 8:55
> To: General Red Hat Linux discussion list
> Subject: Semi OT: cpu always 100%
> 
> Hello,
> 
> I have marked this question as Semi OFF Topic because I think its not
> Red
> Hat specific issue but a related product.
> 
> I use tomcat on a  Red Hat Enterprise Linux AS release 4 (Nahant Update
> 4).
> What happens to me is that suddenly the process of tomcat gets 100% CPU
> and
> stays at that level of usage for ever. I suspect there is a problem
> with my
> application (I´m not asking about this, that´s my problem :-( )
> 
> What I want to know is, how can I see, for example, the thread of
> tomcat is
> consumming the cpu (I have tried the thead options of ps) and if is
> there
> any way to inspect what is doing a thread.
> 
> On the other hand, the server has 2 cpus (in /proc/cpuinfo) and when I
> run
> top I see values of the more than 100%. I think this means one CP at
> 100%
> and the other the rest of the cpu. Is there any way to see the actual
> value
> of cpu usage per cpu?
> 
> Thanks in advance

For the last question: while running top hit '1' to see CPU usage per processor:
1,I       Toggle SMP view: '1' single/separate states; 'I' Irix/Solaris mode

Regards

Bram

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux