Thursday, December 22, 2011

How to get detail hardware information on FreeBSD

How to get detail hardware information on FreeBSD

# cd /usr/ports/sysutils/sysinfo ; make install clean distclean ; rehash
===> The following configuration options are available for sysinfo-1.0.1:
DMIDECODE=on "Include information from the dmidecode tool"
PORTAUDIT=on "Include information from the portaudit tool"
===> Use 'make config' to modify these settings

# sysinfo cpu
# sysinfo mem
# sysinfo bios
# sysinfo network
# sysinfo os
# sysinfo packages
# sysinfo services
# sysinfo storage
# sysinfo system
# sysinfo user
# sysinfo misc

# sysinfo -c network | less

Note: man sysinfo

Dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format:
# dmidecode -t processor
# dmidecode -t memory
# dmidecode -t bios
# dmidecode -t system
# dmidecode -t baseboard

Note: man dmidecode
Note: man pciconf

Update portaudit database:
# portaudit -F

Run portaudit to check all installed packages with known security vulnerabilities:
# portaudit -av

No comments: