How To Check System Hardware Information In FreeBSD?

How To Check System Hardware Information In FreeBSD?


This post was last updated on August 1st, 2020 at 10:25 am

A computer system is consists of different types of hardware such as processor, RAM, hard disk, network cards, etc. FreeBSD provides various tools such as uname, dmesg, sysctl, etc to check the details of these hardware parts.

This article explains to display hardware information using different commands in FreeBSD.

Display hardware information using CLI

All the commands discussed here are used in the terminal to determine the hardware information of a system.

How to use uname to determine the processor and OS related information

To determine the processor architecture use the following command in your terminal –

uname -p

Display the operating system used with –

uname -s

Find the version level of this release of the OS –

uname -v

You can display all the above information in a single command –

uname -a


uname -psv

How to find which version of OS, 32 or 64 bit you are using

You can use the following command to find which version 32 or 64 bit of operating system you are using.

getconf LONG_BIT

How to use dmesg to determine the CPU and RAM related information

The dmesg command displays the content of the system message buffer. It is read from the current running kernel via the sysctl interface.

Find CPU info such as speed, cores, etc by using-

dmesg | grep CPU

Determine the available memory (RAM) and real memory by using –

dmesg | grep memory

Display other system info using dmesg command –

dmesg | less

You can check the information displayed by the above command by scrolling up and down.

How to check the info about PCI buses in FreeBSD

You can check the information about PCI buses and devices using the following command –

pciconf -vl

How to check system hardware info using dmidecode

The dmidecode or DMI table decoder is the tool that decodes DMI table data into a human-readable format. This table contains the info of the system’s hardware component, serial number, and bios revisions, etc.

To see the details of processor use –

dmidecode -t processor

Find info about memory(RAM) use –

dmidecode -t memory

To check the details of BIOS use –

dmidecode -t bios

To know more about dmidecode and options that can be used with it, use –

man dmidecode

This will display detailed information on dmidecode utility.

Previous keeps on restarting or freezing
Next [ubuntu] No video on HDMI samsung FullHD - HDMI-A-1: EDID is invalid

About author

You might also like

How To 0 Comments

How To Install Ubuntu 20.04 LTS?

This post was last updated on August 1st, 2020 at 12:51 pmUbuntu is among the most popular Linux distributions. It is easy to use, easy to install, and includes everything

Linux Topics 0 Comments

How To Remove/Uninstall Software Packages From Debian, Ubuntu, Linux Mint?

This post was last updated on August 1st, 2020 at 12:21 pmDifferent Linux distribution comes with different tools to manage software packages on it. Debian and its derivative use the

FreeBSD Topics 0 Comments

How To Build And Install Your Custom Kernel On FreeBSD 12.1?

This post was last updated on August 1st, 2020 at 09:08 amFreeBSD is the operating system used to power modern servers, desktops, and embedded platforms. By default, it utilizes the


No Comments Yet!

You can be first to comment this post!

Leave a Reply