linux 下查看各类信息(持续补充)
1、查看网卡速度(100Mb/1000Mb)ethtool eth0
结果:
Settings for eth0:Supported ports: [ TP ]Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supports auto-negotiation: YesAdvertised link modes:10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised auto-negotiation: YesSpeed: 1000Mb/sDuplex: FullPort: Twisted PairPHYAD: 1Transceiver: internalAuto-negotiation: onSupports Wake-on: gWake-on: dLink detected: yes
2、查看磁盘IO
iostat
3、查看open files
ulimit -a
结果:
core file size (blocks, -c) 0data seg size (kbytes, -d) unlimitedscheduling priority (-e) 0file size (blocks, -f) unlimitedpending signals (-i) 137216max locked memory (kbytes, -l) 32max memory size (kbytes, -m) unlimitedopen files (-n) 65536pipe size (512 bytes, -p) 8POSIX message queues (bytes, -q) 819200real-time priority (-r) 0stack size (kbytes, -s) 10240cpu time (seconds, -t) unlimitedmax user processes (-u) 137216virtual memory (kbytes, -v) unlimitedfile locks (-x) unlimited
4、查看tcp open数
netstat -s|grep open
结果:
4426319 active connections openings8118931 passive connection openings
页:
[1]