Selecting events to monitor – HP XC System 3.x Software User Manual
Page 37
1 groups; user definition:
3
# 4 5 6 7
1 CPU_CYCLES
----
multiplexing interval = 1000000
----
Logging to /usr/users/who1/myDB/hpcpid-node6.log
4
Daemon is running on pid 1297
Many of the data fields are for HP use only. You can use the following data fields:
4
3
1
Build date for the daemon.
Include this information
Location of the log file for the
daemon. The daemon writes
Table showing the number
of event groups and the
log data (errors, warnings,
events in each group. If
when reporting HPCPI
problems.
and debugging information)
hpcpid
is monitoring more
to a file in the base of the
2
Table showing the events
hpcpi
is monitoring.
events than the number of
hardware event counters
HPCPI database directory.
You can use this information
available for the processor
to verify the HPCPI database
PMU, hpcpid places the
directory. In this example,
events in duty groups and
the database directory is
/usr/users/who1/myDB
.
cycles through the duty
groups so that only the
events in one duty group
are monitored at any time.
This table shows that the
processor on this system
supports four event
counters, numbered 4, 5, 6,
and 7.
See hpcpid (1)for more
information.
Selecting Events to Monitor
By default, hpcpid monitors CPU cycles used. Use the -events option to specify alternate
events when you start the hpcpid daemon. The HPCPI analysis tools display data for all events
monitored by default, but you can specify a subset of the monitored events for the output.
The Intel Itanium and AMD Opteron PMUs can monitor numerous events. To simplify the
specification of commonly used events, HPCPI provides predefined event sets, which contain
multiple events.
lists some of the predefined event sets.
To view the names of the valid events for your processor, enter the following command:
% hpcpid -show-events
To view the names of the valid event sets for your processor and the events contained in each
set, enter the following command:
% hpcpid -show-event-sets
To specify the events you want to monitor, start the hpcpid with one or more -events
statements. The syntax is as follows:
hpcpid -events
event_name|event_set_name[:interval=value][,event_name|event_set_name...]
[-events...]
Where:
event_name
Specifies an event name. Event names that end in .ALL typically have
related event names that start with the same or similar text.
Starting HPCPI
37