FreeBSD comes with many different utilities, which can be use to gathered the information as per our requirements like
uname we use this command to print system information including kernel information
dmesg this command print out the kernel ring buffer information.
sysctl finally this command is use to configure kernel run time parameters as well as to read hardware information.
Following all commands you need to gather FreeBSD hardware information.
1) Gathering machine processor architecture:
2) Gathering the Hardware Type/platform:
3) Gathering FreeBSD release level:
We can get all information with single command.
Output:
4) Gathering information such as processor speed, make etc
Output::
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0: <acpi CPU> on acpi0
cpu1: </acpi><acpi CPU> on acpi0
SMP: AP CPU #1 Launched!
</acpi>
5) Gathering physical & available memory:
Output::
avail memory = 1827946496 (1743 MB)
We can also grab the memory information through sysctl:
sysctl -a | grep mem
Output:
hw.usermem: 167641088
hw.cbb.start_memory: 2281701376
To get rest information of sysctl command
6) System uptime information including load average:
7) If you want to know about system last rebooted or shutdown:
last -1 reboot
Information regarding swap filesystem









Comments
Leave a Reply