公交迷网 - 巴士之家

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索

查看tcp状态

已有 1388 次阅读2010-4-16 12:27 |个人分类:疑难杂症

  1. #netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a,S[a]}'
  2. FIN_WAIT_1 1610
  3. FIN_WAIT_2 19
  4. SYN_SENT 54
  5. LAST_ACK 286
  6. CLOSING 7
  7. CLOSE_WAIT 2
  8. SYN_RCVD 55
  9. TIME_WAIT 213
  10. ESTABLISHED 10928
  1. #netstat -m
  2. 2284/25241/27525 mbufs in use (current/cache/total)
  3. 664/14398/15062/32768 mbuf clusters in use (current/cache/total/max)
  4. 664/14312 mbuf+clusters out of packet secondary zone in use (current/cache)
  5. 998/8109/9107/12800 4k (page size) jumbo clusters in use (current/cache/total/max)
  6. 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max)
  7. 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max)
  8. 5891K/67542K/73433K bytes allocated to network (current/cache/total)
  9. 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
  10. 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
  11. 0/0/0 sfbufs in use (current/peak/max)
  12. 0 requests for sfbufs denied
  13. 0 requests for sfbufs delayed
  14. 160 requests for I/O initiated by sendfile
  15. 0 calls to protocol drain routines

评论 (0 个评论)

手机版|小黑屋|公交迷网 ( 苏ICP备18015221号

GMT+8, 2024-4-16 22:28

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

返回顶部