top - 12:58:41 up 178 days, 20:35, 1 user, load average: 15.02, 12.17, 11.08Tasks: 186 total, 3 running, 183 sleeping, 0 stopped, 0 zombieCpu(s): 50.8%us, 48.3%sy, 0.0%ni, 0.3%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%stMem: 16425160k total, 11900912k used, 4524248k free, 467680k buffersSwap: 2104472k total, 38184k used, 2066288k free, 8135712k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND19397 mysql 15 0 3704m 1.6g 4692 S 729 10.2 12816:41 mysqld 2175 wwwrun 15 0 500m 95m 67m S 17 0.6 0:00.94 httpd2-prefork 2165 wwwrun 15 0 500m 92m 65m R 7 0.6 0:00.81 httpd2-prefork 2173 wwwrun 15 0 502m 95m 68m S 5 0.6 0:01.05 httpd2-prefork 2182 wwwrun 15 0 502m 98m 70m S 5 0.6 0:00.82 httpd2-prefork 2010 wwwrun 15 0 501m 96m 68m S 4 0.6 0:01.37 httpd2-prefork 2191 wwwrun 15 0 503m 98m 69m S 4 0.6 0:00.99 httpd2-prefork 2210 wwwrun 15 0 502m 55m 28m S 4 0.3 0:00.14 httpd2-prefork 2081 wwwrun 15 0 502m 104m 77m S 3 0.7 0:03.14 httpd2-prefork 2150 wwwrun 15 0 502m 102m 75m S 3 0.6 0:01.48 httpd# vmstat 1procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa21 0 38184 4531016 467860 8139012 0 0 14 354 0 0 41 23 35 126 0 38184 4525580 467872 8139024 0 0 184 40 1058 2259 52 48 0 025 0 38184 4523976 467896 8139900 0 0 284 856 1180 2372 52 48 0 020 0 38184 4523312 467924 8140352 0 0 504 244 1152 1568 49 51 0 023 0 38184 4522828 467952 8141192 0 0 384 0 990 1820 49 51 0 021 0 38184 4521032 467952 8141204 0 0 0 0 1366 3436 54 46 0 018 0 38184 4521156 467952 8141164 0 0 4 0 1172 2443 53 47 0 018 0 38184 4523636 467960 8141188 0 0 0 624 832 2087 51 49 0 015 0 38184 4523644 467964 8141280 0 0 0 12 689 1053 50 50 0 0 7 0 38184 4523652 467972 8141280 0 0 0 228 655 2834 52 47 1 0 3 0 38184 4518460 467976 8141232 0 0 96 0 804 1551 35 20 45 013 0 38184 4534324 467976 8141232 0 0 0 0 678 1403 27 13 61 0
# cat /proc/meminfoMemTotal: 16425160 kBMemFree: 4165056 kBBuffers: 468984 kBCached: 8135684 kBSwapCached: 9976 kBActive: 8363708 kBInactive: 2524516 kBHighTotal: 0 kBHighFree: 0 kBLowTotal: 16425160 kBLowFree: 4165056 kBSwapTotal: 2104472 kBSwapFree: 2066288 kBDirty: 18132 kBWriteback: 0 kBAnonPages: 2275352 kBMapped: 147844 kBSlab: 1242488 kBPageTables: 91660 kBNFS_Unstable: 0 kBBounce: 0 kBCommitLimit: 10317052 kBCommitted_AS: 6458008 kBVmallocTotal: 34359738367 kBVmallocUsed: 272780 kBVmallocChunk: 34359464615 kBHugePages_Total: 0HugePages_Free: 0HugePages_Rsvd: 0Hugepagesize: 2048 kB# cat /proc/cpuinfoprocessor : 0vendor_id : GenuineIntelcpu family : 6model : 15model name : Intel(R) Xeon(R) CPU E5335 @ 2.00GHzstepping : 7cpu MHz : 1995.002cache size : 4096 KBphysical id : 0siblings : 4core id : 0cpu cores : 4fpu : yesfpu_exception : yescpuid level : 10wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lmbogomips : 3993.69clflush size : 64cache_alignment : 64address sizes : 36 bits physical, 48 bits virtualpower management:...... і т.д.
# iostat 1Linux 2.6.18.2-34-default (name) 08/22/08 _x86_64_avg-cpu: %user %nice %system %iowait %steal %idle 41.15 0.12 22.83 1.23 0.00 34.67Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtnsda 35.09 66.66 1013.47 1031042352 15675870920sdb 26.10 151.56 4423.32 2344302121 68417756296sdc 2.49 10.26 244.24 158705880 3777821120avg-cpu: %user %nice %system %iowait %steal %idle 66.91 0.00 32.96 0.00 0.00 0.12Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtnsda 0.00 0.00 0.00 0 0sdb 0.00 0.00 0.00 0 0sdc 0.00 0.00 0.00 0 0avg-cpu: %user %nice %system %iowait %steal %idle 63.22 0.00 36.78 0.00 0.00 0.00Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtnsda 0.00 0.00 0.00 0 0sdb 0.00 0.00 0.00 0 0sdc 0.00 0.00 0.00 0 0avg-cpu: %user %nice %system %iowait %steal %idle 64.10 0.00 35.16 0.00 0.00 0.75Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtnsda 25.00 288.00 144.00 288 144sdb 55.00 0.00 560.00 0 560sdc 0.00 0.00 0.00 0 0avg-cpu: %user %nice %system %iowait %steal %idle 61.89 0.00 38.11 0.00 0.00 0.00Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtnsda 2.97 0.00 55.45 0 56sdb 0.00 0.00 0.00 0 0sdc 0.00 0.00 0.00 0 0avg-cpu: %user %nice %system %iowait %steal %idle 60.85 0.00 39.15 0.00 0.00 0.00Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtnsda 122.00 0.00 1944.00 0 1944sdb 0.00 0.00 0.00 0 0sdc 0.00 0.00 0.00 0 0avg-cpu: %user %nice %system %iowait %steal %idle 67.25 0.00 31.63 0.00 0.00 1.12Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtnsda 0.00 0.00 0.00 0 0sdb 0.00 0.00 0.00 0 0sdc 0.00 0.00 0.00 0 0avg-cpu: %user %nice %system %iowait %steal %idle 68.66 0.00 31.22 0.00 0.00 0.12Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtnsda 0.00 0.00 0.00 0 0sdb 0.00 0.00 0.00 0 0sdc 0.00 0.00 0.00 0 0avg-cpu: %user %nice %system %iowait %steal %idle 73.23 0.00 26.03 0.00 0.00 0.75Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtnsda 10.00 200.00 128.00 200 128sdb 64.00 0.00 720.00 0 720sdc 0.00 0.00 0.00 0 0avg-cpu: %user %nice %system %iowait %steal %idle 62.52 0.00 35.49 0.00 0.00 1.99Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtnsda 7.92 0.00 166.34 0 168sdb 0.00 0.00 0.00 0 0sdc 0.00 0.00 0.00 0 0# toptop - 16:55:25 up 179 days, 31 min, 1 user, load average: 13.25, 9.77, 8.40Tasks: 169 total, 1 running, 168 sleeping, 0 stopped, 0 zombieCpu(s): 41.2%us, 22.5%sy, 0.1%ni, 34.7%id, 1.2%wa, 0.0%hi, 0.3%si, 0.0%stMem: 16425160k total, 13267868k used, 3157292k free, 553584k buffersSwap: 2104472k total, 35436k used, 2069036k free, 9463528k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND19397 mysql 15 0 3704m 1.6g 4700 S 753 10.2 13941:14 mysqld25852 wwwrun 15 0 500m 112m 86m S 12 0.7 0:02.29 httpd2-prefork25895 wwwrun 15 0 500m 94m 67m S 8 0.6 0:01.22 httpd2-prefork25750 wwwrun 16 0 503m 113m 84m S 6 0.7 0:02.93 httpd2-prefork25845 wwwrun 15 0 503m 109m 80m S 6 0.7 0:01.85 httpd2-prefork25938 wwwrun 16 0 500m 94m 66m S 4 0.6 0:00.71 httpd2-prefork25821 wwwrun 15 0 502m 108m 81m S 2 0.7 0:01.66 httpd2-prefork25848 wwwrun 15 0 502m 110m 83m S 2 0.7 0:02.23 httpd2-prefork25886 wwwrun 15 0 500m 100m 73m S 2 0.6 0:01.11 httpd2-prefork25950 root 15 0 16932 1336 904 R 2 0.0 0:00.01 top 1 root 15 0 804 76 44 S 0 0.0 0:17.25 init 2 root RT 0 0 0 0 S 0 0.0 0:05.66 migration/0 3 root 35 19 0 0 0 S 0 0.0 0:07.83 ksoftirqd/0 4 root RT 0 0 0 0 S 0 0.0 0:05.22 migration/1 5 root 34 19 0 0 0 S 0 0.0 0:03.39 ksoftirqd/1 6 root RT 0 0 0 0 S 0 0.0 0:06.34 migration/2 7 root 34 19 0 0 0 S 0 0.0 0:03.14 ksoftirqd/2 8 root RT 0 0 0 0 S 0 0.0 0:05.42 migration/3 9 root 34 19 0 0 0 S 0 0.0 0:03.66 ksoftirqd/3 10 root RT 0 0 0 0 S 0 0.0 0:04.49 migration/4 11 root 34 19 0 0 0 S 0 0.0 0:02.33 ksoftirqd/4
Ну це ж очевидно!!!
ще може тоді таке маленьке питання :чи є різниця між тим самим openSuse та "серверними" дистрибутивами.. а то треба інсталювати ще один схожий .. от і думаю чи ставити шось інше чи залишатись на opensuse ??
шкода моя улюблена FreeBSD поки не дуже дружить з mysql-ем
mysqladmin extended-status | grep Threads| Threads_cached | 41 || Threads_connected | 1 || Threads_created | 42 || Threads_running | 1 |