Fetch FreeBSD system information on terminal

There are many ways to gather information on a FreeBSD system.

sysinfo

sysinfo prints many system information to screen.

From its port page:

«Sysinfo is a shell script, the purpose of which is to automatically gather system information and document the hardware and software configuration of the given host system. The goal is to provide a system operator with descriptive information about an unknown FreeBSD installation.»

root@arc:~ # sysinfo -a

neofetch

Sometimes just a few key informations are needed.

A fun tool to use is neofetch, a better substitute of screenfetch, as it does not pull in unecessary X11 components on a server.

neofetch.png

Figure 1: neofetch output on arc-ch

lscpu

lscpu display information about the CPU architecture

# lscpu
Architecture:            amd64
Byte Order:              Little Endian
Total CPU(s):            6
Thread(s) per core:      2
Core(s) per socket:      6
Socket(s):               0
Vendor:                  GenuineIntel
CPU family:              6
Model:                   45
Model name:              Intel(R) Xeon(R) CPU E5-1650 0 @ 3.20GHz
Stepping:                7
L1d cache:               32K
L1i cache:               32K
L2 cache:                256K
L3 cache:                12M
Flags:                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 cflsh ds acpi mmx fxsr sse sse2 ss htt tm pbe sse3 pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline aes xsave osxsave avx syscall nx pdpe1gb rdtscp lm lahf_lm