# Pastebin QdE2MTwE p4f# pmcstat pmcstat: [options] [commandline] Measure process and/or system performance using hardware performance monitoring counters. Options include: -C (toggle) show cumulative counts -D path create profiles in directory "path" -E (toggle) show counts at process exit -O file send log output to "file" -P spec allocate a process-private sampling PMC -R file read events from "file" -S spec allocate a system-wide sampling PMC -W (toggle) show counts per context switch -c cpu set cpu for subsequent system-wide PMCs -d (toggle) track descendants -g produce gprof(1) compatible profiles -k file set the path to the kernel -n rate set sampling rate -o file send print output to "file" -p spec allocate a process-private counting PMC -s spec allocate a system-wide counting PMC -t pid attach to running process with pid "pid" -w secs set printing time interval