nginx get top 100 page from access log
nginx 查看访问最频的页面(TOP100) grep -v ".php" a… 继续阅读 nginx get top 100 page from access log
nginx 查看访问最频的页面(TOP100) grep -v ".php" a… 继续阅读 nginx get top 100 page from access log
# 统计每个远程 IP 访问了本机 apache 几次? awk '{ip[$1]++}E… 继续阅读 apache log info
# 显示本机 Linux 系统上所有开放的端口列表 ss -nutlp | awk '{p… 继续阅读 show all open ports and usage
#MySQL 数据库连接数量 mysqladmin -u "$user" -p … 继续阅读 mysql get connect counts
# 查看有多少远程的 IP 在连接本机 # sort 可以按数字大小排序,最后使用 uniq 将多余… 继续阅读 get remote host counts of tcp
echo 'eth0 网卡发送的数据包流量 ' ifconfig eth0 | … 继续阅读 get RX/TX pack of eth0
#!/bin/bash # 提取根分区剩余空间 以 Kb 为单位 disk_size=$(df / … 继续阅读 linux get disk and mem free kb
#bin/bash . /etc/profile #set mail message title_m… 继续阅读 clamav scan dir content
shell清理harbor镜像: #!/bin/bash #需要先安装jq命令,如 yum inst… 继续阅读 clean harbor via shell
ip route show |grep default |awk '{print $9}&… 继续阅读 linux查看默认ip地址
comm -3 <(sort a.txt) <(sort b.txt) sort a.t… 继续阅读 找出两个txt中不同的行
kubectl -n kube-system describe secret $(kubectl -… 继续阅读 get token from kubernetes secret
ls /root |awk '{print strftime("%c"… 继续阅读 awk为shell命令加上执行时间
kubectl get pods -n test |grep Evicted | awk ‘{pri… 继续阅读 kubernetes kubectl批量删除Evicted pod
netstat -tan | awk '/^tcp/ {++state[$NF]} END… 继续阅读 查看 http 的并发请求数与其TCP连接状态
netstat -n | awk '/^tcp/ {print $5}' | a… 继续阅读 查看Linux系统每个ip的连接数
awk '{array[$1]++}END{for (ip in array)print … 继续阅读 nginx统计日志访问量前十的ip
yum -y install https://www.elrepo.org/elrepo-relea… 继续阅读 CENTOS升级内核到最新
ping 114.114.114.114 -c 6|awk '{print strftim… 继续阅读 ping with time
#!/bin/bash # format: $remote_addr – $remote_user … 继续阅读 Nginx访问日志分析