Files
webgui/emhttp/plugins/dynamix.docker.manager/nchan/docker_load
Tom Mortensen f9ec00b488 repo reorg
2023-06-02 12:49:33 -07:00

5 lines
217 B
Bash
Executable File

#!/bin/bash
while :; do
curl -sfd "$(docker stats --no-stream --format='{{.ID}};{{.CPUPerc}};{{.MemUsage}}')" --unix-socket /var/run/nginx.socket http://localhost/pub/dockerload?buffer_length=0 >/dev/null 2>&1
done