linux ็ฝ็ป
Last updated on November 22, 2024 pm
๐ง Questions
ๆฅ็linux็็ฝ็ป
โ๏ธ Ideas
ๆฅ่ฏขๅฝๅ็ฝๅก
ifconfig
ไธ่ฌ eth0ไธบๅ ็ฝ็ฝๅก
172.16.215.83 ไธบๅ ็ฝip
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.215.83 netmask 255.255.240.0 broadcast 172.16.223.255
inet6 fe80::216:3eff:fe23:d1c0 prefixlen 64 scopeid 0x20<link>
ether 00:16:3e:23:d1:c0 txqueuelen 1000 (Ethernet)
RX packets 14600849 bytes 13673818102 (12.7 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10995146 bytes 2005496681 (1.8 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ๆฅ่ฏข็ฝ็ปไธไธ่ก
yum -y install nload
sudo ethtool eth0
sudo nload eth0
Device eth0 [172.16.215.83] (1/1):
=====================================================================================================================
Incoming:
Curr: 1.96 kBit/s
Avg: 3.09 kBit/s
Min: 1.02 kBit/s
Max: 8.68 kBit/s
Ttl: 12.77 GByte
Outgoing:
Curr: 9.55 kBit/s
Avg: 16.71 kBit/s
Min: 4.55 kBit/s
Max: 30.09 kBit/s
Ttl: 1.87 GByte
ๆฅ็ๆต้ๆฅๆบ
yum install -y iftop
iftop -P
12.5Kb 25.0Kb 37.5Kb 50.0Kb 62.5Kb
โโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโ
isxcode:ssh => 101.80.204.30:34441 7.16Kb 5.35Kb 5.35Kb
<= 208b 715b 715b
isxcode:53302 => 100.100.30.25:http 6.68Kb 4.71Kb 4.71Kb
<= 368b 245b 245b
isxcode:55135 => 100.100.2.136:domain 0b 96b 96b
<= 0b 235b 235b
isxcode:42329 => 100.100.2.138:domain 0b 97b 97b
<= 0b 195b 195b
isxcode:42433 => 100.100.2.138:domain 0b 99b 99b
<= 0b 193b 193b
isxcode:54508 => 100.100.2.138:domain 0b 96b 96b
<= 0b 169b 169b
isxcode:58370 => 100.100.2.136:domain 0b 96b 96b
<= 0b 169b 169b
isxcode:41319 => 100.100.2.136:domain 0b 96b 96b
<= 0b 169b 169b
isxcode:40926 => 100.100.2.136:domain 288b 96b 96b
<= 508b 169b 169b
isxcode:44792 => 100.100.2.136:domain 0b 97b 97b
<= 440b 147b 147b
isxcode:46183 => 100.100.2.138:domain 0b 97b 97b
<= 440b 147b 147b
isxcode:52920 => 100.100.2.138:domain 0b 99b 99b
<= 0b 128b 128b
isxcode:39579 => 100.100.61.88:ntp 304b 101b 101b
<= 304b 101b 101b
isxcode:9376 => ip-190-210.4vendeta.com:48660 0b 53b 53b
<= 0b 123b 123b
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
TX: cum: 8.78KB peak: 15.2Kb rates: 15.2Kb 11.7Kb 11.7Kb
RX: 2.27KB 4.66Kb 2.57Kb 3.02Kb 3.02Kb
TOTAL: 11.1KB 18.6Kb 17.8Kb 14.7Kb 14.7Kb
ๆฅ็ๆต็จ่ฟ็จ
yum -y install nethogs
3 : ่กจ็คบๆฏ3็งๅทๆฐไธๆฌก
nethogs eth0 -d 3
NetHogs version 0.8.5
PID USER PROGRAM DEV SENT RECEIVED
? root 172.16.215.83:24389-79.124.49.62:57231 0.011 0.023 KB/sec
? root 172.16.215.83:1775-91.148.190.210:48660 0.011 0.023 KB/sec
? root 172.16.215.83:9950-79.124.56.118:57462 0.011 0.023 KB/sec
1339 root /usr/local/aegis/aegis_client/aegis_11_63/AliYunDun eth0 0.337 0.023 KB/sec
32371 root sshd: root@pts/0 eth0 0.136 0.013 KB/sec
? root 172.16.215.83:11700-91.148.190.210:48660 0.000 0.000 KB/sec
? root 172.16.215.83:33418-91.148.190.218:48793 0.000 0.000 KB/sec
? root 172.16.215.83:37324-91.148.190.218:48793 0.000 0.000 KB/sec
? root 172.16.215.83:179-45.148.10.81:18418 0.000 0.000 KB/sec
? root 172.16.215.83:57135-91.148.190.206:48724 0.000 0.000 KB/sec
? root 172.16.215.83:6237-91.148.190.210:48660 0.000 0.000 KB/sec
28900 zhiqin.. imap eth0 0.01429 0.000 KB/sec
? root 172.16.215.83:19926-91.148.190.214:48753 0.000 0.000 KB/sec
? root 172.16.215.83:27857-111.67.195.138:60000 0.000 0.000 KB/sec
? root 172.16.215.83:1608-91.148.190.210:48660 0.000 0.000 KB/sec
16790 zhiqin.. eth0 0.029 14 0.000 KB/sec
16789 zhiqin.. eth0 0.04329 0.000 KB/sec
? root 172.16.215.83:16287-91.148.190.214:48753 0.000 0.000 KB/sec
? root 172.16.215.83:25735-91.148.190.214:48753 0.000 0.000 KB/sec
? root unknown TCP 0.000 0.000 KB/sec
TOTAL 0.591 0.107 KB/sec
๐ Links
linux ็ฝ็ป
https://ispong.isxcode.com/os/linux/linux ็ฝ็ป/