How do I run Getstats
for just one directory
on my virtual server?

   Site

   Server


Telnet to your server and try the following:

Type the following at the command prompt:

getstats -sr "/directory/*" -a

Getstats will generate statistics for the occurrences of "/directory/*" in your access_log (where * is a wildcard of course).

If you have not recently deleted your log files, Getstats may take two to three minutes to run. Your shell command prompt may just hover for that time; be patient.

You can pipe Getstats' output to a file by using the following:

getstats -sr "/directory/*" -a > /usr/home/username/www/htdocs/directory/access-stats.txt
Where username is your user login name and directory is a directory within your htdocs directory. Type the entire command string without hitting return until the end. Actually, you can pipe output to any directory within your server.


HOME | SITE HOSTING | VIRTUAL SERVERS | PAGE DESIGN | FAQ | ORDER | TECH SUPPORT


Copyright © 1996, Sphynx Web Solutions. All rights reserved. All brand names and product names used on these web pages are trademarks, or trade names of their respective holders. Direct questions or comments to webmaster@sphynx.com.