public class TypeperfCollector extends AbstractProcessCollector
typeperf
and aligns them with those declared by
IRequiredHostCounters
.
Note: The names of counters under Windows are NOT case-sensitive.
Modifier and Type | Field and Description |
---|---|
protected List<com.bigdata.counters.win.TypeperfCollector.InstrumentForWPC> |
decls
List of performance counters that we will be collecting.
|
activeProcess
Constructor and Description |
---|
TypeperfCollector(int interval) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getCommand()
Generate command to write performance counters on the console.
|
CounterSet |
getCounters()
Declares the performance counters to be collected from the Windows
platform.
|
AbstractProcessReader |
getProcessReader() |
getInterval, setEnvironment, start, stop
protected List<com.bigdata.counters.win.TypeperfCollector.InstrumentForWPC> decls
#getCounters(), which sets up this list.
public List<String> getCommand()
The sample interval format is -si [hh:[mm:]]ss.
Note: typeperf supports csv, tab, and bin output formats. However specifying tsv (tab delimited) causes it to always write on a file so I am using csv (comma delimited, which is the default in any case).
getCommand
in class AbstractProcessCollector
IOException
public AbstractProcessReader getProcessReader()
getProcessReader
in class AbstractProcessCollector
public CounterSet getCounters()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.