logparser "SELECT TO_LOCALTIME(QUANTIZE(TO_TIMESTAMP(date, time),3600)) AS Hours, COUNT(*) AS Hits INTO IISHC_RequestsPerHour.csv FROM *.log where To_Date(TO_LOCALTIME(TO_TIMESTAMP(date, time)))=TIMESTAMP('10/08/2010','MM/dd/yyyy' ) GROUP BY Hours ORDER BY Hours" -i:IISW3C -o:CSV -recurse:-1
将时间改成当天的时间就行。
每天的点击量
ogparser "SELECT To_Date(TO_LOCALTIME(TO_TIMESTAMP(date, time))) AS [Date1], c-ip AS CIP INTO IISHC_DistinctClientIPPerDay.csv FROM *.log GROUP BY [Date1], CIP" -i:IISW3C -o:CSV -recurse:-1
已解决\自己答一下问题是系统Windows文件夹里的dll文件缺失/损坏。
cmd管理员模式用scannow扫描自动修复以后得到的仍然无法修复的dll在cortana的文件夹里。在网上找到这些坏了的dll文件然后粘贴进cortana文件夹,就完成了。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)