VCPUSTAT(8)
π VCPUSTAT(8) β Linux on Power Service Tools
okay bestie, meet vcpustat(8) β the Linux on Power service tool that reports logical partition (LPAR) dispatch statistics, no cap. Itβs giving βniche but iconic,β and weβre gonna read it together. π«Ά
πΈ NAME
vcpustat β Report logical partition (LPAR) dispatch statistics.
β¨ SYNOPSIS
/usr/sbin/vcpustat [ options ] [ <interval> [ count ] ]
π« DESCRIPTION
The vcpustat command provides a report of logical processor (vcpu) dispatch statistics. It displays logical processor dispatch dispersions, relative to the previous dispatch, as well as relative to the logical processorβs home node as indicated by the Hypervisor. Periodt. π
When you run vcpustat with no options, it generates a single report containing raw dispatch counts since the last time statistics were enabled. Thatβs useful if dispatch statistics have already been enabled persistently using the -e option, iykyk. β¨
The following information is displayed in the report for each logical processor:
π dispatch dispersions
This represents logical processor dispatch dispersions, relative to the previous dispatch, and includes these columns:
totalβ Indicates the total number of dispatches of this logical processor. This is only displayed if numeric or raw values are being shown.coreβ Indicates the number of times this logical processor was dispatched within the same core.chipβ Indicates the number of times this logical processor was dispatched in a different core, but within the same chip.socketβ Indicates the number of times this logical processor was dispatched in a different chip, but within the same socket. This is only seen on Multi Chip Modules.cecβ Indicates the number of times this logical processor was dispatched outside the socket.
π numa dispersions
This represents logical processor dispatch dispersions, relative to the logical processorβs home node, and includes these columns:
homeβ Indicates the number of times this logical processor was dispatched in its home node.adjβ Indicates the number of times this logical processor was dispatched in the adjacent node.farβ Indicates the number of times this logical processor was dispatched in a further node.
π OPTIONS
-e,--enableβ Enable gathering dispatch statistics persistently, and not only when this command is active.-d,--disableβ Disable gathering dispatch statistics.-n,--numericβ Display the values in numbers, rather than percentages.-r,--rawβ Display the raw values, rather than the delta.-h,--helpβ Display the usage ofvcpustat.-V,--versionβ Display thevcpustatversion information.intervalβ The interval parameter specifies the amount of time between each report.countβ The count parameter specifies how many reports will be displayed.
π¦ NOTES
The preferred invocation of vcpustat is by specifying interval and an optional count to monitor logical processor dispatch dispersions over a desired interval of time. This enables in-kernel gathering of logical processor dispatch dispersions and provides a view of the same at the desired monitoring interval. With this form of invocation, the statistics are only gathered when the program is active, resulting in minimal kernel overhead. Slay, low overhead, we love to see it. π
Long-term statistics can be obtained by enabling gathering of statistics in-kernel through the use of the -e option, followed by invocations of vcpustat without any options, or using the -r option to display raw values, rather than the difference in each monitoring interval. This should only be used when long-term statistics are desired and results in additional kernel load.
π It is imperative that the statistics be disabled using the -d option once monitoring is complete.
π FILES
/proc/powerpc/vcpudispatch_stats
π AUTHOR
Written by Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>.
mwah π β sign-off deets: source/version Linux Β· date Mar 2020 Β· manual tag VCPUSTAT(8). Thatβs the whole vibe, bestie. π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: powerpc-utils 1.3.14-160000.2.1 Β· GPL-2.0-or-later
- Copyright (C) 2020 International Business Machines
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms