- 论坛徽章:
- 0
|
系统:FreeBSD 6.2-RELEASE-p4
提供:HTTP服务,主要是一个新闻网站
最近访问网站很慢,请大家支个招。
#systat -vmstat
3 users Load 29.65 24.54 23.05 Oct 15 16:10
Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER
Tot Share Tot Share Free in out in out
Act 865312 3892 1175548 14520 30668 count 13
All 1015952 6828154088564 49040 pages 76
135 zfod Interrupts
Proc:r p d s w Csw Trp Sys Int Sof Flt 2 cow 4115 total
10 9321 15 4692 202 5675 336 1888 140 143000 wire 12 28: mpt
777492 act 1: atkb
4.1%Sys 0.2%Intr 45.8%User 0.0%Nice 50.0%Idl 69244 inact 14: ata
| | | | | | | | | | 29012 cache 103 16: bge
==>>>>>>>>>>>>>>>>>>>>>>> 1656 free 2000 cpu0: time
daefr 2000 cpu1: time
Namei Name-cache Dir-cache 1 prcfr
Calls hits % hits % 1 react
5162 5162 100 pdwake
84744 pdpgs
Disks da0 pass0 pass1 pass2 pass3 intrn
KB/t 23.75 0.00 0.00 0.00 0.00 113888 buf
tps 13 0 0 0 0 71 dirtybuf
MB/s 0.30 0.00 0.00 0.00 0.00 69970 desiredvnodes
% busy 8 0 0 0 0 4532 numvnodes
2697 freevnodes
#top
last pid: 1780; load averages: 30.61, 25.23, 23.36 up 0+03:46:29 16:11:36
368 processes: 41 running, 327 sleeping
CPU states: 47.6% user, 0.0% nice, 2.4% system, 0.0% interrupt, 50.0% idle
Mem: 715M Active, 70M Inact, 139M Wired, 27M Cache, 111M Buf, 45M Free
Swap: 3993M Total, 52M Used, 3941M Free, 1% Inuse
# netstat -m
351/834/1185 mbufs in use (current/cache/total)
290/228/518/25600 mbuf clusters in use (current/cache/total/max)
290/222 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
667K/664K/1332K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
53/316/6656 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
4447 requests for I/O initiated by sendfile
759 calls to protocol drain routines
# netstat 1
input (Total) output
packets errs bytes packets errs bytes colls
35 0 5112 31 0 25860 0
25 0 1921 31 0 29338 0
148 0 33522 187 0 177522 0
43 0 9092 40 0 28222 0
58 0 12379 74 0 77738 0
151 0 22415 227 0 268497 0
68 0 16144 54 0 32881 0
59 0 14644 63 0 44419 0
28 0 3351 20 0 16491 0
8 0 528 15 0 15641 0
24 0 1512 28 0 25559 0
184 0 31086 263 0 336249 0
156 0 34189 224 0 270667 0
178 0 31985 216 0 249159 0
189 0 49827 227 0 230724 0
28 0 5607 22 0 15622 0
17 0 2086 26 0 22789 0
18 0 2521 19 0 9148 0 |
|