From owner-freebsd-questions@FreeBSD.ORG Tue Jul 4 10:13:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61FF116A4DD for ; Tue, 4 Jul 2006 10:13:55 +0000 (UTC) (envelope-from nocturnal@swehack.se) Received: from mail2.swebase.com (mail2.swebase.com [82.99.44.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7F9943D53 for ; Tue, 4 Jul 2006 10:13:53 +0000 (GMT) (envelope-from nocturnal@swehack.se) Received: from [82.99.47.5] by mail2.swebase.com (MDaemon.PRO.v8.1.0.R) with ESMTP id 61-md50000043370.msg for ; Tue, 04 Jul 2006 12:11:37 +0200 Message-ID: <44AA3E9E.5000906@swehack.se> Date: Tue, 04 Jul 2006 12:10:38 +0200 From: nocturnal User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Nikos Vassiliadis References: <44A8D770.5060808@swehack.se> <200607041114.14169.nvass@teledomenet.gr> <44AA2977.3080707@swehack.se> <200607041233.07827.nvass@teledomenet.gr> In-Reply-To: <200607041233.07827.nvass@teledomenet.gr> Content-Type: multipart/mixed; boundary="------------060002000702030801060703" X-Authenticated-Sender: nocturnal@swehack.se X-MDRemoteIP: 82.99.47.5 X-Return-Path: nocturnal@swehack.se X-MDaemon-Deliver-To: freebsd-questions@freebsd.org X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail2 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 X-Spam-Level: X-Spam-Processed: mail2.swebase.com, Tue, 04 Jul 2006 12:12:33 +0200 Cc: freebsd-questions@freebsd.org Subject: Re: Interrupt using all the CPU X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2006 10:13:55 -0000 This is a multi-part message in MIME format. --------------060002000702030801060703 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi The -m argument exists in 5.3-RELEASE, thank you. I've attached one file with -mio and the other without. With -mio it just output some extra stuff at the beginning so i don't know how much it matters or maybe i did something wrong. Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Nikos Vassiliadis wrote: > On Tuesday 04 July 2006 11:40, nocturnal wrote: >> Hi >> >> This is what i get, i'm afraid i'm not good at interpreting the results. >> >> procs memory page disks faults cpu >> r b w avm fre flt re pi po fr sr ad4 ad6 in sy cs us >> sy id >> 1 5 0 274324 36436 26 0 0 0 50 27 0 0 242 149 332 0 >> 88 12 >> 1 5 0 274324 36424 3 0 0 0 3 0 1 0 338 911 462 0 >> 50 50 >> 1 5 0 274324 36424 0 0 0 0 0 0 16 0 391 1011 581 0 >> 33 67 >> 1 5 0 274324 36424 0 0 0 0 3 0 1 0 611 263 877 0 >> 33 67 >> 1 5 0 274324 36424 0 0 0 0 0 0 1 0 674 128 931 0 >> 75 25 >> 1 5 0 274324 36424 0 0 0 0 0 0 0 0 563 118 711 0 >> 0 100 >> 1 5 0 274324 36424 0 0 0 0 0 0 0 0 531 129 702 0 >> 67 33 >> 1 5 0 274324 36424 0 0 0 0 0 0 0 0 440 118 578 0 >> 50 50 >> 1 6 0 274324 36376 0 0 0 0 0 0 0 0 563 158 774 0 >> 67 33 >> 1 5 0 274324 36268 0 0 0 0 0 0 10 0 702 1019 920 0 >> 100 0 >> 1 5 0 274324 36268 0 0 0 0 0 0 0 0 683 118 872 0 >> 25 75 >> 0 6 0 291460 33800 955 0 0 0 333 0 0 0 783 1423 1069 >> 0 50 50 >> 0 5 0 274324 36240 611 0 0 0 1500 0 0 0 491 567 707 >> 0 100 0 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 717 121 986 0 >> 100 0 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 729 129 923 0 >> 33 67 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 570 118 742 0 >> 50 50 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 568 1381 793 0 >> 33 67 >> 0 5 0 274324 36240 0 0 0 0 4 0 32 0 716 129 1036 >> 0 75 25 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 745 118 843 0 >> 75 25 >> 0 5 0 274324 36240 0 0 0 0 0 0 7 0 610 137 820 0 >> 67 33 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 465 174 630 0 >> 0 100 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 327 237 454 0 >> 50 50 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 253 125 323 0 >> 100 0 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 249 127 314 0 >> 100 0 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 240 118 303 0 >> 100 0 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 238 125 301 0 >> 100 0 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 255 129 330 0 >> 100 0 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 258 144 337 0 >> 100 0 >> 0 5 0 274324 36240 0 0 0 0 0 0 0 0 269 129 358 0 >> 100 0 >> 0 5 0 274324 36236 0 0 0 0 0 0 2 0 312 527 431 0 >> 100 0 >> 0 5 0 274324 36236 0 0 0 0 12 0 21 0 287 129 409 0 >> 100 0 >> 0 5 0 274324 36236 0 0 0 0 0 0 0 0 257 128 331 0 >> 100 0 >> 0 5 0 274324 36236 0 0 0 0 0 0 0 0 253 118 324 0 >> 100 0 >> 0 5 0 274324 36236 0 0 0 0 0 0 0 0 248 128 315 0 >> 100 0 >> 0 5 0 274324 36236 0 0 0 0 0 0 5 0 257 118 333 0 >> 100 0 >> 0 5 0 274324 36236 0 0 0 0 0 0 0 0 257 118 327 0 >> 100 0 >> 0 5 0 274324 36236 0 0 0 0 0 0 0 0 294 118 366 0 >> 100 0 >> > > Please turn off word wrapping on your mail program when > you send such output. Or send as attachment. Well, normal > number of interrupts, a lot of time in kernel, quite a few context > switches > > send as attachment "top -n -S -I -d 10" please > There is also a -m in 6.x, don't know about 5.3-R, but it would be > interesting if it exists > > from top manual: > -mdisplay > Display either cpu or io statistics. Default is cpu. > > > --------------060002000702030801060703 Content-Type: text/plain; name="top-io.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="top-io.out" last pid: 29582; load averages: 0.01, 0.13, 0.08 up 3+21:29:14 12:06:22 114 processes: 2 running, 87 sleeping, 25 waiting Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5488K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND 498 www 49228 98410 540 5580 122 6242 1.35% httpd 465 www 50096 103518 736 2877 423 4036 0.88% httpd 489 www 54847 93551 771 4688 335 5794 1.26% httpd 605 www 48318 89215 577 4239 112 4928 1.07% httpd 2326 www 46595 104188 597 3857 150 4604 1.00% httpd 46 root 337454 0 830 358189 0 359019 77.88% syncer 2315 www 44607 74767 795 4356 131 5282 1.15% httpd 19562 www 19505 54030 558 1805 214 2577 0.56% httpd 16684 www 22848 40500 616 1029 272 1917 0.42% httpd 16859 www 22658 35251 488 1789 223 2500 0.54% httpd 514 root 376067 133688 2705 5 24 2734 0.59% named 25400 www 6904 9942 189 294 60 543 0.12% httpd 45 root 338105 0 0 54682 0 54682 11.86% bufdaemon 429 root 333012 9130 3 6 5 14 0.00% httpd 490 swebase 41767 6295 5 0 0 5 0.00% sshd 22948 swebase 2019 1761 4 62 4 70 0.02% vim 406 root 10631 122 11 0 0 11 0.00% cron 467 root 31893 14355 153 37 0 190 0.04% rotatelogs last pid: 29582; load averages: 0.01, 0.13, 0.08 up 3+21:29:16 12:06:24 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 100% interrupt, 0.0% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5376K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND last pid: 29582; load averages: 0.01, 0.12, 0.08 up 3+21:29:18 12:06:26 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 100% interrupt, 0.0% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5284K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND 46 root 3 0 1 6 0 7 100.00% syncer last pid: 29582; load averages: 0.01, 0.12, 0.08 up 3+21:29:20 12:06:28 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 100% interrupt, 0.0% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5284K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND last pid: 29582; load averages: 0.01, 0.12, 0.08 up 3+21:29:22 12:06:30 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 33.3% interrupt, 66.7% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5284K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND 46 root 2 0 0 1 0 1 100.00% syncer last pid: 29582; load averages: 0.01, 0.12, 0.08 up 3+21:29:24 12:06:32 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 100% interrupt, 0.0% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5284K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND last pid: 29582; load averages: 0.01, 0.12, 0.08 up 3+21:29:26 12:06:34 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5284K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND last pid: 29582; load averages: 0.01, 0.12, 0.08 up 3+21:29:28 12:06:36 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 100% interrupt, 0.0% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5280K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND last pid: 29582; load averages: 0.01, 0.12, 0.08 up 3+21:29:30 12:06:38 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 33.3% interrupt, 66.7% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5280K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND 46 root 2 0 0 9 0 9 100.00% syncer last pid: 29582; load averages: 0.01, 0.12, 0.08 up 3+21:29:32 12:06:40 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 100% interrupt, 0.0% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5280K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND --------------060002000702030801060703 Content-Type: text/plain; name="top.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="top.out" last pid: 29593; load averages: 0.00, 0.08, 0.07 up 3+21:31:14 12:08:22 114 processes: 2 running, 87 sleeping, 25 waiting Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5428K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND last pid: 29593; load averages: 0.00, 0.08, 0.07 up 3+21:31:16 12:08:24 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 66.7% interrupt, 33.3% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5324K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND last pid: 29593; load averages: 0.00, 0.08, 0.07 up 3+21:31:18 12:08:26 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 100% interrupt, 0.0% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5248K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND last pid: 29593; load averages: 0.00, 0.08, 0.07 up 3+21:31:20 12:08:28 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 66.7% interrupt, 33.3% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5248K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND last pid: 29593; load averages: 0.00, 0.08, 0.07 up 3+21:31:22 12:08:30 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 100% interrupt, 0.0% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5248K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND last pid: 29593; load averages: 0.00, 0.08, 0.07 up 3+21:31:24 12:08:32 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 50.0% interrupt, 50.0% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5248K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND last pid: 29593; load averages: 0.00, 0.08, 0.07 up 3+21:31:26 12:08:34 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 100% interrupt, 0.0% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5212K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND last pid: 29593; load averages: 0.00, 0.08, 0.07 up 3+21:31:28 12:08:36 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 50.0% interrupt, 50.0% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5212K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND last pid: 29593; load averages: 0.00, 0.08, 0.07 up 3+21:31:30 12:08:38 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 100% interrupt, 0.0% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5212K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND last pid: 29593; load averages: 0.00, 0.07, 0.07 up 3+21:31:32 12:08:40 114 processes: 2 running, 87 sleeping, 25 waiting CPU states: 0.0% user, 0.0% nice, 0.0% system, 66.7% interrupt, 33.3% idle Mem: 193M Active, 300M Inact, 99M Wired, 22M Cache, 73M Buf, 5212K Free Swap: 329M Total, 376K Used, 329M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND --------------060002000702030801060703--