FreeBSD comes with different utilities, which can be use to gathered the information as per your needs. uname command is use to print system information. dmesg command is use to print kernel ring buffer information. sysctl command is use to configure kernel parameters at runtime as well as to read hardware information.

Following list summaries, all the command you need to gather FreeBSD hardware information.

Note systcl has more info, just type the sysctl command to see rest of all information:# sysctl -a | less 6) Determining how long a system has been up:# uptime 7) Determining when a system was last rebooted or shutdown:# last -1 reboot # last -1 shutdown 8) Determining swap file system usage# swapinfo -k 9) Determining who is logged in and what they are doing. Following all commands can be used. users command displays the list of all logged in users only.# w # who # users

10) Find out when user was last logged in – You can use last command as follows:# last user-name (a) To find out user vivek was last logged, enter:# last vivek

See FreeBSD getsysinfo.bash script. It is use to find general FreeBSD system information such as, hostname, OS version, Kernel version, Processor/CPU, Total RAM, System load, network interface, total logged in users, Hard disks, Runlevel etc. Make sure your read the detailed installation instruction.