Post Reply 
Users currently looking my website on VPS ?
07-15-2012, 03:27 AM
Post: #1
Users currently looking my website on VPS ?
Hello guys,

I've tried to set up cPanel but I need license for it...

So I want to know is there a way in Centos OS to see who is on my VPS currently ? I mean if I type command top I can see active processes on my VPS but I want to see how many people are browsing some simple website on my VPS.

Thanks.

[Image: freevps-userbar.php?name=vwchox&bg=1]
User Tools
Quote this message in a reply


07-15-2012, 03:29 AM (This post was last modified: 07-15-2012 04:01 AM by Nevil.)
Post: #2
RE: Users currently looking my website on VPS ?
Try "users" and it should show the amount of logged in users with their name (in the terminal of course).

EDIT:
Oh wait. You want to track and monitor how much users are connect to your web server? Do you want a live update or just daily, weekly, monthly and yearly visitors? There are a few PHP applications which are free and can monitor visitors but not really like with a live update (how many people are currently online). They only monitor daily, weekly, monthly and yearly visitors and save it in a archive on your VPS.

Try:
- Webalizer
- AwStats
- Google Analytics

I don't know others because I use Awstats on my cPanel shared hosting account.


Update:

Live tracking:
- http://www.makeuseof.com/tag/8-free-tool...-tracking/
- http://www.madrasgeek.com/2010/10/find-o...bsite.html

User Tools
Quote this message in a reply
07-15-2012, 04:02 AM
Post: #3
RE: Users currently looking my website on VPS ?
I am trying with Webalizer.

I found tutorial here:
Code:
http://techgurulive.com/2009/02/11/how-to-install-and-configure-webalizer-in-multiple-domain-on-centos-46/

I did everything until "How to set Webalizer on multiple virtual domain"

Ok so now what do I do?

[Image: freevps-userbar.php?name=vwchox&bg=1]
User Tools
Quote this message in a reply
07-15-2012, 04:05 AM
Post: #4
RE: Users currently looking my website on VPS ?
When you installed it and configured it correctly you need to wait a bit and it should give you output.

When no one visits your site you will get no stats.
User Tools
Quote this message in a reply
07-15-2012, 04:13 AM
Post: #5
RE: Users currently looking my website on VPS ?
Output where? This is my output file

Code:
/home/praetorian-id.org/public_html/webalizer

Should I do vi command and check results?

[Image: freevps-userbar.php?name=vwchox&bg=1]
User Tools
Quote this message in a reply
07-15-2012, 04:15 AM
Post: #6
RE: Users currently looking my website on VPS ?
No, inside this folder there will be HTML files.

E.g:
Code:
/home/praetorian-id.org/public_html/webalizer/usage_140712.html
This would be the stats file for today.

You should be able to view it over praetorian-id.org/webalizer/usage_140712.html
User Tools
Quote this message in a reply
07-15-2012, 04:35 AM
Post: #7
RE: Users currently looking my website on VPS ?
The site is unavailable when I try to open it... is this http://www.praetorian-id.org/ just an example and I have to use some other web address?

[Image: freevps-userbar.php?name=vwchox&bg=1]
User Tools
Quote this message in a reply
07-15-2012, 04:41 AM
Post: #8
RE: Users currently looking my website on VPS ?
It is just an example I used because I saw "praetorian-id.org" in the path you posted.

You have to access the stats from the domain you host with your VPS.
Code:
http://yourdomain.com/webalizer/useage_140712.html

If you configured in a different way that the logs are actually not public you need to view the HTML files on your VPS or download them to your computer.

The guide you posted is quite old.
User Tools
Quote this message in a reply
07-15-2012, 04:48 AM (This post was last modified: 07-15-2012 04:53 AM by vwchox.)
Post: #9
RE: Users currently looking my website on VPS ?
Can I put it instead yourdomain a IP address of VPS ? I did it just now but I got this message

"The requested URL /webalizer/useage_140712.html was not found on this server."

I am a little confused.

I edited the file and placed in the host section a IP address of VPS. I will see now how it works.

[Image: freevps-userbar.php?name=vwchox&bg=1]
User Tools
Quote this message in a reply
07-15-2012, 04:54 AM
Post: #10
RE: Users currently looking my website on VPS ?
Yes, you can use your IP address but then the files of webalizer have to be in the root direction of your web server.
User Tools
Quote this message in a reply
Post Reply 


Forum Jump:



User(s) browsing this thread:
1 Guest(s)