Log Parser分析IIS log的一个简单例子
时间:2010-08-20 来源:中道学友
命令举例如下:
C:\Program Files (x86)\Log Parser 2.2>logparser.exe -i:IISW3C "select time-taken as Duration from 'D:\__Opening Cases\Shell performance issue Haizam\ex100817_6371.log' order by time-taken desc"
Duration
--------
190971
154861
154861
145783
124642
124642
101876
99907
80547
77563
Press a key...
IIS log有如下的列
#Fields:
date
time
s-sitename
s-ip
cs-method
cs-uri-stem
cs-uri-query
s-port
cs-username
c-ip
cs(User-Agent)
cs(Referer)
sc-status
sc-substatus
sc-bytes
cs-bytes
time-taken
参考资料:
http://www.msexchange.org/tutorials/Using-Logparser-Utility-Analyze-ExchangeIIS-Logs.html
相关阅读 更多 +