简体   繁体   中英

How to check whether a website deployed in IIS 7.5 is being access by user or not?

We have deployed 5 websites (read only data) in IIS 7.5 on last month now we want to remove those website which are not accessed/used by users. We have a total of 10 websites on IIS 7.5.

We don't want to make any setting changes on deployed site, those are deployed on last year and we want to remove them is no one access in last 4 months. We have onlu logfolder in Inetpub so is there any reliable way to get it done.

在Web服务器上打开日志记录,并查看获得了多少流量

Run PowerShell Script

write-host Getting performance counters ...

$perfCounterString = "\asp.net applications(__total__)\sessions active" 
$counter = get-counter -counter $perfCounterString 
$rawValue = $counter.CounterSamples[0].CookedValue 

write-host Session Count is $rawValue

See the following link for more details: Get running session count from IIS for my hosted Asp.Net web site

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM