Truemag

  • Categories
    • Tips And Tricks
    • Internet
    • PHP
    • Javascript
    • CSharp
    • SQL Server
    • Linux
  • Lastest Videos
  • Our Demos
  • About
  • Contact
  • Home
  • Write With Us
  • Job Request
Home Linux Linux CentOS view live website access log with tail command

Linux CentOS view live website access log with tail command

To see your live updated stream website access log, you can use a simple Linux command called tail. The command below is used in CentOS system will show how many people are connecting to your website, it also includes spiders/robots.

tail -f /var/www/vhosts/your_website.com/statistics/logs/access_log

tail -f /var/www/vhosts/your_website.com/statistics/logs/access_log

Output stream likes below:

66.249.72.122 - - [05/Mar/2011:14:50:05 +0700] "GET /website/a738.com HTTP/1.1" 200 4577 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:06 +0700] "GET /website/a7sg.com HTTP/1.1" 200 4972 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:06 +0700] "GET /website/aacd.com HTTP/1.1" 200 4500 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:06 +0700] "GET /website/aarhusmedia.dk/ HTTP/1.1" 200 5401 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:08 +0700] "GET /website/a8.com/ HTTP/1.1" 200 4460 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:09 +0700] "GET /website/aasi.org HTTP/1.1" 200 4482 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:09 +0700] "GET /website/aade.com HTTP/1.1" 200 5330 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:09 +0700] "GET /website/aadya.in HTTP/1.1" 200 5158 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:10 +0700] "GET /website/abacus-software.de/ HTTP/1.1" 200 4480 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:11 +0700] "GET /website/ab-ipbox.it/ HTTP/1.1" 200 5812 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:12 +0700] "GET /website/aa94.com HTTP/1.1" 200 4462 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:12 +0700] "GET /website/a889.com HTTP/1.1" 200 4471 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:13 +0700] "GET /website/aapka.de HTTP/1.1" 200 5444 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:13 +0700] "GET /website/aahflowers.com/ HTTP/1.1" 200 5955 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.72.122 - - [05/Mar/2011:14:50:14 +0700] "GET /website/aath.org HTTP/1.1" 200 4650 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"

66.249.72.122 - - [05/Mar/2011:14:50:05 +0700] "GET /website/a738.com HTTP/1.1" 200 4577 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:06 +0700] "GET /website/a7sg.com HTTP/1.1" 200 4972 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:06 +0700] "GET /website/aacd.com HTTP/1.1" 200 4500 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:06 +0700] "GET /website/aarhusmedia.dk/ HTTP/1.1" 200 5401 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:08 +0700] "GET /website/a8.com/ HTTP/1.1" 200 4460 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:09 +0700] "GET /website/aasi.org HTTP/1.1" 200 4482 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:09 +0700] "GET /website/aade.com HTTP/1.1" 200 5330 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:09 +0700] "GET /website/aadya.in HTTP/1.1" 200 5158 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:10 +0700] "GET /website/abacus-software.de/ HTTP/1.1" 200 4480 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:11 +0700] "GET /website/ab-ipbox.it/ HTTP/1.1" 200 5812 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:12 +0700] "GET /website/aa94.com HTTP/1.1" 200 4462 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:12 +0700] "GET /website/a889.com HTTP/1.1" 200 4471 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:13 +0700] "GET /website/aapka.de HTTP/1.1" 200 5444 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:13 +0700] "GET /website/aahflowers.com/ HTTP/1.1" 200 5955 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.72.122 - - [05/Mar/2011:14:50:14 +0700] "GET /website/aath.org HTTP/1.1" 200 4650 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"

Mar 5, 2011Hoan Huynh
PHP Ip to CountryPHP check if folder exists then create folder
You Might Also Like:
  • CentOS -bash: wget: command not found
  • Install LAMP (Apache, MySQL and PHP in Linux) on CentOS
  • Linux Centos iptables Open Port
  • centos -bash pecl command not found
  • View Saved Passwords In Google Chrome
  • How To Test Your Website With Various Web Browsers And Mobile Devices
  • Steps To Check How Traffic and Popular A Website Is
  • In Top 100k Alexa Website Ranking After 6 Months Launching
  • How to view PageRank, Bookmarks, Gmail button on Google Toolbar
  • Linux Find Out PHP/ MySQL/ MySQLD/ HTTPD … Command File Location
Hoan Huynh

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at [email protected]

11 years ago LinuxCentOS, linux command, tail198
0
GooglePlus
0
Facebook
0
Twitter
0
Digg
0
Delicious
0
Stumbleupon
0
Linkedin
0
Pinterest
Most Viewed
PHP Download Image Or File From URL
24,444 views
Notepad Plus Plus Compare Plugin
How To Install Compare Text Plugin In Notepad Plus Plus
21,824 views
Microsoft SQL Server 2008 Attach Remove Log
Delete, Shrink, Eliminate Transaction Log .LDF File
17,638 views
JQuery Allow only numeric characters or only alphabet characters in textbox
14,981 views
C# Read Json From URL And Parse/Deserialize Json
11,693 views
4 Rapid Development is a central page that is targeted at newbie and professional programmers, database administrators, system admin, web masters and bloggers.
Recent Posts
  • Things to Learn about Installingderm Loan Type S
  • Online Photo Editor – Free Photoediting Software
  • A Guide to Finding the Best Paper Sellers
  • Photoediting in Home Isn’t Hard to Do!

  • Free Photo Editor Online
Categories
  • CSharp (45)
  • Facebook Graph API (19)
  • Google API (7)
  • Internet (87)
  • iPhone XCode (8)
  • Javascript (35)
  • Linux (27)
  • MySQL (16)
  • PHP (84)
  • Problem Issue Error (29)
  • Resources (32)
  • SQL Server (25)
  • Timeline (5)
  • Tips And Tricks (141)
  • Uncategorized (647)
Recommended
  • Custom Software Development Company
  • Online Useful Tools
  • Premium Themes
  • VPS
2014 © 4 Rapid Development