LIKWID-POWERMETER(1)

πŸ’– LIKWID-POWERMETER β€” the manual page, but make it cute πŸ’–

okay bestie, gather round, because this is the page for likwid-powermeter β€” a lil tool that prints out power and clocking information on Intel CPUs. yes, power and clocking. we love a multitasker. πŸ¦‹


✨ SYNOPSIS ✨

likwid-powermeter [-vhpitf] [-V verbosity_level] [-c socket_list] [-s duration] [-M <0|1>]

that's it. that's the whole vibe. 🌸


πŸŽ€ DESCRIPTION πŸŽ€

so likwid-powermeter is a command line application, and its whole thing is getting the Energy consumption on Intel RAPL capable processors. RAPL, iykyk. right now only Intel SandyBridge is supported β€” she's an icon, she's a legend, and she is the moment, but yes, just her for now πŸ’…

it also prints out info about TDP and the Turbo Mode steps that are supported. and here's the slay: the Turbo Mode information works on all Turbo mode enabled Intel processors, not just SandyBridge. versatility, periodt. πŸ‘‘

you can run this tool two ways, main character energy either way:

  • stethoscope mode β€” you give it a specified duration and it just vibes there measuring for that long 🩺
  • wrapper mode β€” you wrap it around your application and it measures your complete run, start to finish 🫢

one thing to know: RAPL works on a per package (socket) base. so like, think sockets, not individual cores, bestie.

πŸ’€ also please note: the RAPL counters are also accessible as normal events within likwid-perfctr. so if that's your thing, go off.

✨ OPTIONS ✨

every single one, no skipping, because we don't gatekeep here πŸ’–

  • -h, --help β€” prints a help message to standard output, then exits. the "hey what does this do" button πŸŽ€
  • -v, --version β€” prints version information to standard output, then exits. ✨
  • -V, --verbose <level> β€” verbose output during execution, for debugging. the levels are: 0 for only errors, 1 for informational output, 2 for detailed output and 3 for developer output. pick your level of nosiness, babe πŸ”
  • -c <socket_list> β€” set on which socket(s) the RAPL interface is accessed. list of sockets like 0,1,2 or 0-2 are allowed. commas or ranges, both valid, we're flexible πŸ’…
  • -M <0|1> β€” set how MSR registers are accessed. 0=direct, 1=accessDaemon. two doors, one choice πŸšͺ
  • -s <duration> β€” set measure duration in us, ms or s. (default 2s). yes bestie, default is two whole seconds ⏱️
  • -p β€” prints out information about dynamic clocks and CPI information on the socket(s) measured. πŸ“Š
  • -i, --info β€” prints out information TDP and Turbo mode steps of all RAPL domains supporting it. the full lore dump 🧚
  • -t β€” prints out the temperature of all CPUs in the system. 🌑️
  • -f β€” prints out the temperature like -t but used Fahrenheit as temperature unit. yes, for the Americans πŸ’€

🌈 EXAMPLE 🌈

  1. Measure the power consumption for 4 seconds on socket 1
likwid-powermeter -s 4 -c 1
  1. Use it as wrapper for an application to measure the energy for the whole execution
likwid-powermeter -c 1 ./a.out

see? ./a.out gets the full glow-up treatment. run it, measure it, obsessed. πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

Written by Thomas Gruber <thomas.roehl@googlemail.com>. thank you for your service, king 🫑


πŸ™ˆ BUGS πŸ™ˆ

Report Bugs on <https://github.com/RRZE-HPC/likwid/issues>. found something weird? tell the internet, not me, I'm just the messenger πŸ’œ


πŸ’– SEE ALSO πŸ’–

go read those too, they're all in the same friend group πŸ¦‹


and that's the whole page, bestie! this was likwid-5, dated 23.12.2025, straight from the General Commands Manual β€” thanks for reading my little rewrite, you ate that πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from