Files
Mark Johnston 602ba415c6 libpod: Implement getOnlineCPUs() on FreeBSD
Include an explicit container state check.  Otherwise the
containers/stats endpoint will return all-zero stats for a stopped
container even when in non-streaming mode, which breaks some consumers
of the API, particularly nomad's podman driver.

Implement the interface by just returning the number of host CPUs.  A
bit more sophisticated would be to fetch the jail's cpuset, but it's not
very important for now.

Signed-off-by: Mark Johnston <mark.johnston@klarasystems.com>
2025-09-18 14:24:35 +00:00
..
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2024-02-08 09:35:39 -05:00
2025-09-10 16:17:04 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2025-09-10 16:17:04 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2025-09-10 16:17:04 +02:00
2025-09-10 16:17:04 +02:00
2024-02-08 09:35:39 -05:00
2025-09-10 16:17:04 +02:00