Performance Monitoring in Server Core in Windows Server 2008

Performance Monitoring

The Reliability
and Performance Monitor (RPM)
console is not available on Server
Core, however, the Performance Logs and Alerts service and the underlying
performance subsystem is the same as a full installation of Windows Server
2008. Performance Monitoring of a Server Core server can be accomplished using
the following methods:

¦
Remotely using Performance Monitor
on a full installation of Windows Server 2008 or Windows Vista

¦
Locally on Server Core using the following
command line performance monitoring tools:

Logman.exe

Logman.exe can be used to perform the following tasks:

¦
Locally and remotely manage performance
counter and event trace log collections.

¦
Configure a data collector set on
one computer and then copy that configuration to multiple computers from a
central location.

¦
Query currently-running logs and event
traces.

Command Syntax

logman
[create|query|start|stop|delete|update|import|export]

[options]

The following table describes logman.exe command line
parameters:

Table 13: LOGMAN Command Parameters

A common scenario for using logman.exe on Server Core is to
create a Data Collector Set using Performance Monitor on a full installation of
Windows Server 2008, or Windows Vista, and export the Data Collector Set
configuration as an XML template. Then, use logman.exe to import and start the
Data Collector Set on a Server Core server. After exporting the Data Collector
Set XML template file, the following command can be used to import the XML
template using logman.exe:

logman
import –n
<name> -xml <filename>

where:

<name> = desired name for target Data
Collector Set

<filename>=
name of XML template to import

To start the Performance Monitor Data Collector Set after
inporting the XML template, type the following command at the command prompt:

logman
start
<name>

where:

<name> = name of Data Collector Set to start

Tip

All of the configured Data Collector Sets may be listed using logman query.

The Performance Monitor log file will be created in the following
folder, by default:

%systemdrive%\PerfLogs

Relog.exe

Relog can be used to create new performance logs from data in
existing performance logs by changing the sampling rate and/or converting the
file format. Supports all performance log formats, including Windows NT 4.0
compressed logs.

Command Syntax

relog
<filename [filename ...] [options]

The following table describes Relog command line parameters.

Table 14: RELOG Command Parameters

Typeperf.exe

Typeperf.exe can be used to perform
the following tasks:

¦
Write performance data to the
command window or to a supported log file format (csv | tsv | bin | sql).

¦
Display all of the counters that
are currently available on a particular local or remote computer.

Command Syntax

typeperf { <counter [counter ...]>

                                |
-cf <filename>

                | -q
[object]

                                |
-qx [object]

                                }
[options]

The following table describes typeperf command line
parameters

Typeperf.exe supports the following
commands:

Table 15: Typeperf Command Parameters

Comments

  • Anonymous
    August 23, 2009
    MMM nice to know that it is possible to log to a DB like in 2003... Now I only need to find this option in the GUI :)