cat /usr/local/var/log/nginx/access.log|sort -nrk9|head -2我所疑惑的地方是sort -nrk9;-nrk我知道是什么意思,这个9代表什么呢下面是nginx log的格式log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$upstream_response_time '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
添加回答
举报
0/150
提交
取消