Sometimes you need specific
information. In this case, you can specify the information you want to see using the
/text
command line switch. For example, type
AppCmd List SITE /text:limits.maxBandwidth
and press Enter to see the maximum bandwidth for each site.
TRACE
Manages the failed request trace logs. IIS 7 doesn??™t configure any trace logs by default
because this is a debugging object. Consequently, you must first configure a trace log before you
can do anything with it. After some time, the trace log will have entries in it. You use the
List
command to see all of the trace logs you have created on the server. The
Inspect
command lets
you see the content of the logs. For example, if you want to configure a trace log for the Default
Web Site for all ASP requests that take more than 60 seconds, you would type
AppCmd Configure
TRACE ???Default Web Site/??? /enablesite
and press Enter to enable tracing on the Web site
(which is turned off by default). You would then type
AppCmd Configure TRACE ???Default Web
Site/??? /enable /path:*.ASP /timeTaken:???00:01:00???
and press Enter to create the trace
log. Notice that you must supply the Default Web Site path, not the Default Web Site name (which
is why the example includes a completing backslash).
Pages:
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302