#!/bin/bash
echo "Linux版本信息:"
uname -a
cat /etc/*release
echo "内存使用情况:"
free -h
echo "硬盘使用情况:"
df -h
echo "硬盘分区信息:"
fdisk -l
echo "Web访问量(最近100行):"
tail -n 100 /var/log/nginx/access.log | awk '{print $1, $7, $9}'