docs cleanup and disk usage target change
This commit is contained in:
@@ -68,6 +68,8 @@ def _mock_services() -> list[dict]:
|
||||
{"name": "pihole", "status": random.choice(["running", "running", "running", "stopped"])},
|
||||
{"name": "nginx", "status": random.choice(["running", "running", "stopped"])},
|
||||
{"name": "sshd", "status": "running"},
|
||||
{"name": "ph1", "status": "running"},
|
||||
{"name": "ph2", "status": "stopped"},
|
||||
]
|
||||
|
||||
|
||||
@@ -86,7 +88,7 @@ def _local_time_fields() -> dict:
|
||||
|
||||
def generate_stats() -> dict:
|
||||
mem = psutil.virtual_memory()
|
||||
disk = psutil.disk_usage("/")
|
||||
disk = psutil.disk_usage("/mnt/buffalo")
|
||||
rx_kbps, tx_kbps = _get_net_throughput()
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user