Miscellaneous discoveries
Two problems which have been bothering me forever have finally been solved. One (and this should have been obvious) is revealing the total system memory on BSD-like systems from the command line. There is no equivalent of Linux's free -m
. The closest approximation is sysctl hw.physmem
. This lead to a revelation that one of my OpenBSD firewalls had been provisioned with several gigabytes more than it would ever, ever need. Yay!
The second was, how the heck do I get Dell service tag of an ill server without actually going to the datacenter? sudo dmidecode -s system-serial-number
Yay again. Definitely time to get myself some outside time.
Update: Need the service tag off your OpenBSD box? sysctl hw.serialno