tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: how to caculate the PV,ip,PU according to the tomcat log
Date Mon, 28 Feb 2011 16:08:29 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To whom it may concern,

On 2/24/2011 8:34 AM, maven apache wrote:
>> Good question. What are PV, ip, and PU?
> 
> Thanks for your attention and Sorry for my negligence.
> 
> PV: page view, how many people visit a page.
> 
> IP: how many ips visitor the website within one day or one hour...
> 
> PU:Unique Visitor,
> 
> For example:
> 
> visitor A(ip:10.0.0.1) scan the site :http://www.xx.com/index.html
> http://www.xx.com/about.html
> 
> Visitor B (ip:10.0.0.2) scan the same two pages
> 
> Then VIsitor A change his/her ip to 10.0.0.3 (but its cookie in her/his
> browser is not change) and visitor the two pages again.
> 
> Then from all of the above,the
> ips=3 (three distinct ips)
> pv=2 (two pages)
> PU=2 (just two different person,although three ip.
> 
> Is this clear?
> 
> If not,I can add more. :)

No, it makes sense.

First, you asked about using the log for stats, and then showed an
example SQL query. Are you using a RDBMS-based log?

At any rate, what you need is a good set of SQL queries -- you might
want to talk to a DBA about how to do these things properly.

If you are using a log file, try searching Google for "web server log
file analyzer". We use Awfful for basic stats tracking.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1ryH0ACgkQ9CaO5/Lv0PDgfACfUVKTSFfbCSOYY8FNmiUV9pUL
CqQAoIoYrq5xonD+G8lOu0ytIK7dIis1
=t8wN
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message