To interact with GPUd API endpoints:
# healthiness of the GPUd process itself
curl -kL https://localhost:15132/healthz
# basic machine information
curl -kL https://localhost:15132/machine-info | jq | less
# list of health check states
curl -kL https://localhost:15132/v1/states | jq | less
# list of systemd events per GPUd component
# (e.g., xid)
curl -kL https://localhost:15132/v1/events | jq | less
# list of system metrics per GPUd component
# (e.g., GPU temperature)
curl -kL https://localhost:15132/v1/metrics | jq | lessFollowing defines the response types for the GPUd APIs above:
Or use the client/v1 library to interact with GPUd in Go.