linux版本:uname -ar
cpu信息: cat /proc/cpuinfo
mem信息: cat /proc/meminfo
apache日志,过滤IP,并按照IP的次数倒排序
cat 2011-01-05-access.log | awk '{print $1}' | sort | uniq -c | sort -k1,1nr
同理,有于 url, referer, status.code
cpu信息: cat /proc/cpuinfo
mem信息: cat /proc/meminfo
apache日志,过滤IP,并按照IP的次数倒排序
cat 2011-01-05-access.log | awk '{print $1}' | sort | uniq -c | sort -k1,1nr
同理,有于 url, referer, status.code