Query: pmccontrol
OS: freebsd
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PMCCONTROL(8) BSD System Manager's Manual PMCCONTROL(8)NAMEpmccontrol -- control hardware performance monitoring countersSYNOPSISpmccontrol [-c cpu | -d pmc | -e pmc] ... pmccontrol -l pmccontrol -L pmccontrol -sDESCRIPTIONThe pmccontrol utility controls the operation of the system's hardware performance monitoring counters.OPTIONSThe pmccontrol utility processes options in command line order, so later options modify the effect of earlier ones. The following options are available: -c cpu Subsequent enable and disable options affect the CPU denoted by argument cpu. The argument cpu is a number denoting a CPU in the system, or ``*'', denoting all unhalted CPUs in the system. -d pmc Disable PMC number pmc on the CPU specified by -c, preventing it from being used till subsequently re-enabled. The argument pmc is a number denoting a specific PMC, or ``*'' denoting all the PMCs on the specified CPU. Only idle PMCs may be disabled. -e pmc Enable PMC number pmc, on the CPU specified by -c, allowing it to be used in the future. The argument pmc is a number denoting a specific PMC, or ``*'' denoting all the PMCs on the specified CPU. If PMC pmc is already enabled, this option has no effect. -l List available hardware performance counters and their current disposition. -L List available hardware performance counter classes and their supported event names. -s Print driver statistics maintained by hwpmc(4).EXAMPLESTo disable all PMCs on all CPUs, use the command: pmccontrol -d* To enable all PMCs on all CPUs, use: pmccontrol -e* To disable PMCs 0 and 1 on CPU 2, use: pmccontrol -c2 -d0 -d1 To disable PMC 0 of CPU 0 only, and enable all other PMCS on all other CPUs, use: pmccontrol -c* -e* -c0 -d0DIAGNOSTICSThe pmccontrol utility exits 0 on success, and >0 if an error occurs.SEE ALSOpmc(3), pmclog(3), hwpmc(4), pmcstat(8), sysctl(8)HISTORYThe pmccontrol utility first appeared in FreeBSD 6.0.AUTHORSJoseph Koshy <jkoshy@FreeBSD.org>BSDNovember 9, 2008 BSD
Related Man Pages |
---|
pmc_name_of_cputype(3) - freebsd |
pmc_cpuinfo(3) - freebsd |
pmc_name_of_capability(3) - freebsd |
pmc_name_of_class(3) - freebsd |
pmc_release(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
[help] how to get serial number of cpu or other hardware |
Bad performance but Low CPU loading? |
Need to disable options from a command |
JMX monitoring on UNIX |
Performance Monitoring - RHEL 7.4 |