分享工作和学习中的点点滴滴,包括前端、后端、运维、产品等各个方面,欢迎您来关注订阅!
发布时间:2022-01-09 16:17:22
Glances 以具有视觉吸引力的格式显示信息。打印出有关的详细信息,例如:内存利用率磁盘挂载点CPU平均负载、日期和时间网络带宽(包括上传和下载速率)默认情况下不安装 Glances。下面介绍如何在常用的linux发行版中安装:也可以使用snap包管理器来安装glances:此外,由于 Glances 是用 Pyt.........【阅读全文】
发布时间:2022-01-04 02:00:21
基于 TCP 标志的过滤器[root@localhost ~]# tcpdump -i any "tcp[tcpflags] & tcp-ack !=0" -c5dropped privs to tcpdumptcpdump: verbose output suppressed, use -v or -vv for full protocol decodelistening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes16:25:08.738925 IP localho.........【阅读全文】
发布时间:2022-01-04 01:57:12
-r选项# 导出.pcap文件[root@localhost ~]# tcpdump -c 4 -i any port 53 -nn -w dns.pcap -vdropped privs to tcpdumptcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes4 packets captured8 packets received by filter0 packets dropped by kernel# 使用-r选项读取.........【阅读全文】
发布时间:2022-01-04 01:47:15
-D 选项[root@localhost ~]# tcpdump -D1.ens160 [Up, Running]2.lo [Up, Running, Loopback]3.any (Pseudo-device that captures on all interfaces) [Up, Running]4.bluetooth-monitor (Bluetooth Linux Monitor) [none]5.nflog (Linux netfilter log (NFLOG) interface) [none]6.nfqueue (Linux netfilter que.........【阅读全文】