วิธีการดู log file ของ squid แบบง่ายๆ

#
#tail -f /var/log/squid/access.log | awk '{print $8,$7,strftime("%c",$1),$3}'
#

อ้างอิงจาก http://www.linuxquestions.org/questions/linux-newbie-8/unix-time-conversion-604263/

Popularity: 4% [?]

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Set your Twitter account name in your settings to use the TwitterBar Section.