blob: 3ece48571a4438af9429646adacef5f415163b92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
---
template=post
title=Starlight Statistics
style=/styles/post.css
style=/styles/statistics.css
description=starlight server statistics
use-template=
system-stats=
---
starlight is the server that runs my website, and thus my webserver.
These are little stats graphs showing some core statistics.
Much of the load on this server is currently corgi, my cgi server, serving
cgit requests. You can see some information about those requests over at
corgi's stats page: <a href="https://git.dreamy.place/stats">git.dreamy.place/stats</a>
Graphs are unanimated GIFs. Samples are taken every minute and graphs
are generated every fifteen, so data should be reasonably current.
[@paragraphs off]
<section id="stats">
<section class="stat">
<h2>Memory</h2>
<img src="/api/stats/now/current_hostmeminfo.gif" id="hostmeminfo"
alt="a line graph showing memory usage. it is normally quite steady">
<p>
parsed from <code>/proc/meminfo</code><br />
range 0 to {stats.mem.total}MB<br />
current: {stats.mem.usage}MB
</p>
</section>
<section class="stat">
<h2>Network</h2>
<img src="/api/stats/now/current_hostnetinfo.gif" id="hostnetinfo"
alt="a line graph showing network usage. it is sometimes low and spiky, but sometimes shows high usage that is almost exclusively from bots downloading the entire internet ">
<p>
parsed from <code>/proc/net/dev</code><br />
TX in blue // RX in green<br />
range from 0 to {stats.net.max_bound}kbps<br />
</p>
</section>
<section class="stat">
<h2>CPU</h2>
<img src="/api/stats/now/current_hostcpuinfo.gif" id="hostcpuinfo"
alt="a line graph showing cpu usage. it is normally quite spiky and variable">
<p>
parsed from <code>/proc/stat</code><br />
cpu usage on avg.<br />
range from 0% to {stats.cpu.max_bound}%.<br />
</p>
</section>
</section>
|