Skip to content

Instantly share code, notes, and snippets.

last pid: 94691; load averages: 0.45, 0.45, 0.35 up 5+14:24:32 05:44:47
49 processes: 1 running, 48 sleeping
CPU: 0.4% user, 0.0% nice, 0.8% system, 0.0% interrupt, 98.8% idle
Mem: 74M Active, 271M Inact, 1113M Laundry, 26G Wired, 3516M Free
ARC: 23G Total, 2242M MFU, 20G MRU, 1984K Anon, 251M Header, 641M Other
21G Compressed, 37G Uncompressed, 1.78:1 Ratio
Swap: 10G Total, 10G Free
PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND
3729 root 2911 39 0 0 0 0 0.00% collectd
@i3luefire
i3luefire / templogger.sh
Last active December 8, 2023 07:24 — forked from fkleon/temperature.sh
This is a variation of fkleon's temperature.sh script that puts the info in a simple text file instead of an email. It is also my first gist on github. :)
#! /bin/sh
# This is your log filename
LOGFILE=/path/to/temp.log
# Create empty file
touch $LOGFILE
# Define adastat function, which writes drive activity to temp file
adastat () {