mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5288d9d085
Provide a way to report the process load average, via a new 'guest-get-load' command. This is only implemented for POSIX platforms providing 'getloadavg'. Example illustrated with qmp-shell: (QEMU) guest-get-load { "return": { "load15m": 1.546875, "load1m": 1.669921875, "load5m": 1.9306640625 } } Windows has no native equivalent API, but it would be possible to simulate it as illustrated here (BSD-3-Clause): https://github.com/giampaolo/psutil/pull/1485 This is left as an exercise for future contributors. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com> Message-ID: <20241202121927.864335-1-berrange@redhat.com> Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com> |
2 weeks ago | |
---|---|---|
.. | ||
installer | 2 years ago | |
vss-win32 | 3 months ago | |
channel-posix.c | 1 year ago | |
channel-win32.c | 4 years ago | |
channel.h | 8 years ago | |
commands-bsd.c | 3 months ago | |
commands-common-ssh.c | 9 months ago | |
commands-common-ssh.h | 9 months ago | |
commands-common.h | 6 months ago | |
commands-linux.c | 1 month ago | |
commands-posix-ssh.c | 8 months ago | |
commands-posix.c | 2 weeks ago | |
commands-win32.c | 1 month ago | |
commands-windows-ssh.c | 3 months ago | |
commands-windows-ssh.h | 9 months ago | |
commands.c | 8 months ago | |
cutils.c | 2 years ago | |
cutils.h | 2 years ago | |
guest-agent-command-state.c | 7 years ago | |
guest-agent-core.h | 2 years ago | |
main.c | 1 month ago | |
meson.build | 9 months ago | |
messages-win32.mc | 2 years ago | |
qapi-schema.json | 2 weeks ago | |
service-win32.c | 9 years ago | |
service-win32.h | 6 years ago | |
vss-win32.c | 6 years ago | |
vss-win32.h | 6 years ago |