From 371a3df92f6ca676570e4e195e01f7a4b8748e6d Mon Sep 17 00:00:00 2001 From: gennyble Date: Sun, 16 Feb 2025 12:51:45 -0600 Subject: statistics -> starlight --- served/starlight.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ served/statistics.html | 42 ------------------------------------------ 2 files changed, 46 insertions(+), 42 deletions(-) create mode 100644 served/starlight.html delete mode 100644 served/statistics.html diff --git a/served/starlight.html b/served/starlight.html new file mode 100644 index 0000000..3ab528b --- /dev/null +++ b/served/starlight.html @@ -0,0 +1,46 @@ +--- +template=post +title=Starlight Statistics +style=/styles/post.css +style=/styles/statistics.css + +use-template= +system-stats= +--- + +starlight is the server that runs my website, and thus my webserver. +I've been wanting to build a little monitoring/system stats thing +for awhile, and I can't think of a reason I care about to not make +it public. Maybe you'll find it interesting, anyways. + +Graphs are unanimated GIFs and, currently, have no concept of time. +Samples are taken every minute and graphs are generated every fifteen, +so data should be reasonably current. + +[@paragraphs off] +
+
+

Memory

+ +

+ parsed from /proc/meminfo +

+

+ total: {stats.mem.total}MB
+ usage: {stats.mem.usage}MB
+

+
+ +
+

Network

+ +

+ TX in blue // RX in green
+ range from 0kBps to 1MBps
+ parsed from /proc/net/dev +

+

+ not auto-ranging; values may draw over the top +

+
+
\ No newline at end of file diff --git a/served/statistics.html b/served/statistics.html deleted file mode 100644 index 32ba2bc..0000000 --- a/served/statistics.html +++ /dev/null @@ -1,42 +0,0 @@ ---- -template=post -title=Starlight Statistics -style=/styles/post.css -style=/styles/statistics.css - -use-template= -system-stats= ---- - -starlight is the server that runs my website, and thus my webserver. -I've been wanting to build a little monitoring/system stats thing -for awhile, and I can't think of a reason I care about to not make -it public. Maybe you'll find it interesting, anyways. - -Graphs are unanimated GIFs and, currently, have no concept of time. -Samples are taken every minute and graphs are generated every fifteen, -so data should be reasonably current. - -[@paragraphs off] -
-
-

Memory

- -

- parsed from /proc/meminfo -

-

- total: {stats.mem.total}MB
- usage: {stats.mem.usage}MB
-

-
- -
-

Network

- -

- parsed from /proc/net/dev
- receive in blue, transmit in green -

-
-
\ No newline at end of file -- cgit 1.4.1-3-g733a5