Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2008 17:25:45 +0200
From:      KES <kes-kes@yandex.ru>
To:        questions@freebsd.org
Subject:   ambigious 'top' results
Message-ID:  <1124988593.20081216172545@yandex.ru>

next in thread | raw e-mail | index | archive | help
Здравствуйте, Questions.

My system is overloaded, I run top to figure out which precess take
time. In both cases CPU/WCPU I do not see which process take all the
time. Which process take all processor time??

last pid: 24535;  load averages:  3.86,  3.07,  3.07    up 1+13:34:28  17:25:19
193 processes: 5 running, 187 sleeping, 1 stopped
CPU: 95.1% user,  0.0% nice,  4.9% system,  0.0% interrupt,  0.0% idle
Mem: 172M Active, 171M Inact, 97M Wired, 23M Cache, 60M Buf, 25M Free
Swap: 2048M Total, 115M Used, 1933M Free, 5% Inuse

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
 2942 mysql        42   4    0 52412K 22132K sbwait   0:00 22.80% mysqld
88534 root          1 -58    0  3288K   616K bpf      1:22  0.00% ipguard
89345 root          1 -58    0  3288K   632K bpf      1:20  0.00% ipguard
  213 root          1  44    0  3180K   472K select   0:55  0.00% syslogd
  709 bind          4  44    0 58480K 23996K select   0:42  0.00% named
 4719 pgsql         1  44    0 42508K  1620K select   0:18  0.00% postgres


last pid:  2982;  load averages:  2.59,  3.37,  3.35    up 1+13:23:39  17:14:30
196 processes: 5 running, 190 sleeping, 1 stopped
CPU: 94.8% user,  0.0% nice,  3.4% system,  0.0% interrupt,  1.9% idle
Mem: 129M Active, 168M Inact, 112M Wired, 11M Cache, 60M Buf, 68M Free
Swap: 2048M Total, 119M Used, 1929M Free, 5% Inuse, 8K In

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME    CPU COMMAND
 2942 mysql        41   4    0 50748K 21240K sbwait   0:00 13.23% mysqld
 2451 root          1  44    0  3532K  1924K RUN      0:01  0.10% top
 2254 root          1  96    0 11380K  6988K RUN      3:12  0.00% bzip2
66162 root          1  44    0  9192K  2396K RUN      1:26  0.00% verlihub
88534 root          1 -58    0  3288K   616K bpf      1:21  0.00% ipguard
89345 root          1 -58    0  3288K   632K bpf      1:19  0.00% ipguard
  213 root          1  44    0  3180K   472K select   0:54  0.00% syslogd
  709 bind          4  44    0 58480K 23036K select   0:42  0.00% named
 4719 pgsql         1  44    0 42508K  1620K select   0:18  0.00% postgres


#systat -v
            4 users    Load  2.71  2.75  3.02                  16 дек 17:21

Mem:KB    REAL            VIRTUAL                       VN PAGER   SWAP PAGER
        Tot   Share      Tot    Share    Free           in   out     in   out
Act  136916   11584   799684    31004   29768  count
All  190728   13620  2971868    63628          pages
Proc:                                                            Interrupts
  r   p   d   s   w   Csw  Trp  Sys  Int  Sof  Flt   1656 cow    2003 total
  1       5 186       11k 7340  75k    4  35k 7189   4198 zfod        atkbd0 1
                                                      232 ozfod       sio1 irq3
54.6%Sys   0.0%Intr 45.4%User  0.0%Nice  0.0%Idle       5%ozfod       sio0 irq4
|    |    |    |    |    |    |    |    |    |    |       daefr     4 ata0 irq14
===========================>>>>>>>>>>>>>>>>>>>>>>>   4405 prcfr  1999 cpu0: time
                                        34 dtbuf     6486 totfr
Namei     Name-cache   Dir-cache     35373 desvn          react
   Calls    hits   %    hits   %     18913 numvn          pdwak
    9667    9420  97      47   0      8279 frevn          pdpgs
                                                          intrn
Disks   ad0   ad1                                  102212 wire
KB/t   0.00 15.67                                  136888 act
tps       0     5                                  230508 inact
MB/s   0.00  0.07                                   24388 cache
%busy     0     0                                    5384 free



  --
С уважением,
 KES                          mailto:kes-kes@yandex.ru




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1124988593.20081216172545>