วันศุกร์ที่ 6 พฤษภาคม พ.ศ. 2554

อยากรู้ว่า ตอนนี้ Servier FreeBSD Interface ใช้ Bandwidth เท่าไร

ให้ใช้คำสั่งนี้

# systat -ifstat 1

หรือ

# netstat -I interface_name seconds
# netstat -I re0 1

ตัวอย่างผลลัพธ์

systat -ifstat 1


/0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10
Load Average |

Interface Traffic Peak Total
lo0 in 2.083 KB/s 2.085 KB/s 2.405 GB
out 2.083 KB/s 2.085 KB/s 2.405 GB
igb0 in 157.649 KB/s 184.839 KB/s 532.378 GB
out 843.810 KB/s 865.344 KB/s 2.802 TB




[nutjang@3bb-www ~]$ netstat -I igb0 1
input (igb0) output
packets errs idrops bytes packets errs bytes colls
1368 0 0 151671 1058 0 922696 0
1436 0 0 176304 1143 0 1098265 0
1293 0 0 152111 1069 0 720428 0
1544 0 0 190381 1244 0 954721 0
1556 0 0 186997 1228 0 912025 0
1598 0 0 187766 1196 0 883343 0
1447 0 0 169208 1135 0 840569 0
1592 0 0 190451 1196 0 864030 0
1727 0 0 193916 1349 0 1044825 0
1498 0 0 195785 1171 0 860164 0

ไม่มีความคิดเห็น:

แสดงความคิดเห็น