3 ms·
my favorite metric is: `wc /var/log/httpd/access_log` :-)
by mahmud 17y ago
my favorite metric is: `wc /var/log/httpd/access_log`
:-)
- wildmXranat 17y agoHey man, how did you know ?? My patented uniques metric: cat access.log | awk -F " " '{ print $1 }' | sort | uniq | wc -l
- lincolnq 17y agoDo you know about cut? You can replace awk here. cut -d ' ' -f 1
- inferno0069 17y agoAlong the lines of lincolnq's comment: |sort |uniq can be shrunk to |sort -u