[CentOS] Re: My CentOs 4.1 desktop starts to freez ( non-responsive) with 100% cpu usage

Bryan J. Smith b.j.smith at ieee.org
Wed Aug 31 16:22:14 UTC 2005


mohamed yusuf <myusuf32 at yahoo.ca> wrote:
> Is there any tools to troubleshoot this ? I have tried
> top, system monitor..

And you're seeing no CPU?

What about vmstat and iostat?
Especially vmstat, unless you're doing audio, network and/or
disk, then iostat.

It's hard to pin-point I/O usage in Linux, but even desktops
today can literally feel the pinch of I/O.

> I have attache screen shoot of system monitor if it
> helps.

Well, _regardless_, I would run something like this:

  while true; do
    date >> /tmp/mystat.log 2>&1
    for i in `seq 1 100`; do
      vmstat 1 1 >> /tmp/mystat.log 2>&1
      iostat -d 1 1 >> /tmp/mystat.log 2>&1
      sleep 3 
    done
  done

>From a script, and call it in the background.


-- 
Bryan J. Smith                | Sent from Yahoo Mail
mailto:b.j.smith at ieee.org     |  (please excuse any
http://thebs413.blogspot.com/ |   missing headers)



More information about the CentOS mailing list