diff options
author | Malfurious <m@lfurio.us> | 2023-11-18 06:55:24 -0500 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2023-11-20 05:04:57 -0500 |
commit | c2740abc5e7e6e7c0eee07eb34377ba15e95d93d (patch) | |
tree | f8df6527d6658a8fc46eb6ddb564878432bbf8f7 /dmt/html/stats.html | |
parent | e63a11dcd7f349077f09cac5012e52ec271516e9 (diff) | |
download | cychedelic-c2740abc5e7e6e7c0eee07eb34377ba15e95d93d.tar.gz cychedelic-c2740abc5e7e6e7c0eee07eb34377ba15e95d93d.zip |
dmt: Add stats page
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'dmt/html/stats.html')
-rw-r--r-- | dmt/html/stats.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dmt/html/stats.html b/dmt/html/stats.html new file mode 100644 index 0000000..8d03762 --- /dev/null +++ b/dmt/html/stats.html @@ -0,0 +1,17 @@ +<h1>Daemon Stats</h1> + +% fmt='table {{.ID}}\t{{.Image}}\t{{.RunningFor}}\t{{.Status}}' + +<div class="box"> + <div class="box-title">Containers</div> + <div class="box-text"> + <pre>%{ docker ps --all --format "$fmt" %}</pre> + </div> +</div> + +<div class="box"> + <div class="box-title">Usage</div> + <div class="box-text"> + <pre>%{ docker system df %}</pre> + </div> +</div> |