放一些跟 FreeBSD 有關的地方。
systat -if 1
sysctl hw.model hw.ncpu
dmesg | grep "real memory" | awk -F '[( )]' '{print $2,$4,$7,$8}'
top | grep "Swap:" | awk '{print $1,$2}'
diskinfo -vt /dev/ad0
df -h
cat /var/run/dmesg.boot | grep "sector" | awk '{print $1,$2}'
cat /var/run/dmesg.boot | grep "ACPI APIC"
uname -a
sdiff -o JAL -a -s -w 180 JAL.old GENERIC
vidcontrol -i mode
find . -maxdepth 1 -name '*' -type f | tail -r | xargs -P 5 -n 5 rm -rf
zfs userspace zroot/home/users | awk '{print "zfs set userquota@" $3 "=1G zroot/home/users"}'
就代表這些是有問題的程式紀錄