Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

owsadm -o usage, stats, & Top Ten Lists!

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  asp pages does not display  
Author Message
GregoryH.

External


Since: Feb 18, 2005
Posts: 2



(Msg. 1) Posted: Fri Feb 18, 2005 5:13 pm
Post subject: owsadm -o usage, stats, & Top Ten Lists!
Archived from groups: microsoft>public>inetserver>iis (more info?)

Good evening,

We have Windows 2003, IIS 6.0, and FPSE 2002.

I have successfully executed the command “owsadm.exe -o usage” on several
Web sites, and the Top Ten lists work.

Now what I need is the command to delete the stats the above command created
so the Top Ten lists no longer display stats.

--
Thank you,
Gregory

 >> Stay informed about: owsadm -o usage, stats, & Top Ten Lists! 
Back to top
Login to vote
Wei-Dong XU [MSFT]

External


Since: Feb 05, 2005
Posts: 100



(Msg. 2) Posted: Sat Feb 19, 2005 5:35 am
Post subject: RE: owsadm -o usage, stats, & Top Ten Lists! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi ,

Thanks for posting at the newsgroup!

I have reviewed your thread. Currently I am finding somebody who could help
you on it. We will post back in the newsgroup as soon as possible.

If there is anything unclear, please feel free to post in the group and we
will follow up then.

Best Regards,
Wei-Dong XU
Microsoft Product Support Services

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
=====================================================
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

 >> Stay informed about: owsadm -o usage, stats, & Top Ten Lists! 
Back to top
Login to vote
user1375

External


Since: Feb 03, 2004
Posts: 423



(Msg. 3) Posted: Mon Feb 21, 2005 2:35 am
Post subject: RE: owsadm -o usage, stats, & Top Ten Lists! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Gregory,

The owsadm.exe hasn't provided a operation to remove usage analysis
data. We have to manually delete the data files. You can try saving
as the following command lines into a batch to perform the task.

-------------------- START --------------------

dir _x_*.xml /b /s>wipeusage.txt

for /f "delims=;" %%i in (wipeusage.txt) do (

del "%%i"

)

dir service.cnf /b /s>wipeusage.txt

for /f "delims=;" %%i in (wipeusage.txt) do (

find /v "vti_usage" <"%%i" >"%temp%\service.txt"

move /y "%%i" "%%i.bak"

move /y "%temp%\service.txt" "%%i"

)

-------------------- END --------------------

NOTES: This will remove ALL Usage Analysis data for EVERY web site on
a web server make VERY SURE that you want to do this.

After this above, if you want to Usage Analysis to generate new data,
run owsadm- o usage again.

Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no
rights.
 >> Stay informed about: owsadm -o usage, stats, &amp; Top Ten Lists! 
Back to top
Login to vote
GregoryH.

External


Since: Feb 18, 2005
Posts: 2



(Msg. 4) Posted: Mon Feb 21, 2005 7:23 am
Post subject: RE: owsadm -o usage, stats, & Top Ten Lists! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you, It worked Great!

Gregory

""WenJun Zhang[msft]"" wrote:

 > Hi Gregory,
 >
 > The owsadm.exe hasn't provided a operation to remove usage analysis
 > data. We have to manually delete the data files. You can try saving
 > as the following command lines into a batch to perform the task.
 >
 > -------------------- START --------------------
 >
 > dir _x_*.xml /b /s>wipeusage.txt
 >
 > for /f "delims=;" %%i in (wipeusage.txt) do (
 >
 > del "%%i"
 >
 > )
 >
 > dir service.cnf /b /s>wipeusage.txt
 >
 > for /f "delims=;" %%i in (wipeusage.txt) do (
 >
 > find /v "vti_usage" <"%%i" >"%temp%\service.txt"
 >
 > move /y "%%i" "%%i.bak"
 >
 > move /y "%temp%\service.txt" "%%i"
 >
 > )
 >
 > -------------------- END --------------------
 >
 > NOTES: This will remove ALL Usage Analysis data for EVERY web site on
 > a web server make VERY SURE that you want to do this.
 >
 > After this above, if you want to Usage Analysis to generate new data,
 > run owsadm- o usage again.
 >
 > Thanks.
 >
 > Best regards,
 >
 > WenJun Zhang
 > Microsoft Online Partner Support
 >
 > This posting is provided "AS IS" with no warranties, and confers no
 > rights.
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: owsadm -o usage, stats, &amp; Top Ten Lists! 
Back to top
Login to vote
user1375

External


Since: Feb 03, 2004
Posts: 423



(Msg. 5) Posted: Tue Feb 22, 2005 1:35 am
Post subject: RE: owsadm -o usage, stats, & Top Ten Lists! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You are welcome Gregory.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no
rights.
 >> Stay informed about: owsadm -o usage, stats, &amp; Top Ten Lists! 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]