How to check the kernel version number of freebsd

Reported answer
How to check the kernel version number of freebsd
Ask online customer service
Scan the code to ask online customer service
  • Number of answers

    five

  • Number of browses

    1,464

5 answers Default sorting
  • Default sorting
  • Sort by time

Adopted
The FreeBSD kernel is the same as the released version of FreeBSD, and there is no strict version number similar to Linux.
Therefore, it is generally recognized only by its release version. For example, 10.0-RELEASE-p1
cancel comment
Using Commands
uname -a
cancel comment
Hw.model: Intel (R) Xeon (R) CPU X3220 @ 2.40GHzhw.ncpu: 4hw.machine_arch: amd64 My Intel Xeon quad core processor runs at 2.40GHz. You need to use the following command and grep command. FreeBSD uses the dmesg command to view CPUINFO: Type the following command # dmesg | grep - i cpu Or directly query/var/run/dmesg.boot file # grep - i cpu/var/run/dmesg.boot Output: CPU: Dual Core AMD Opteron (tm) Processor 170 (1999.08-MHz 686 class CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP) : APIC ID: 1 cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 acpi_throttle1: on cpu1 SMP: AP CPU #1 Launched! You can also dump more information about using the sysctl command
cancel comment
To view the kernel version information of the Linux distribution, one way is to use the uname - a command, which lists the kernel version and whether the system is i686 32-bit or x86_64 64 bit. Another way to view the kernel version is to use cat to display the contents of the/proc/version file: cat/proc/version/ The content of the proc/version file is the kernel version information.
To check the distribution of your Linux system, you can use the lsb_release - a command. The lsb_release - a command can list the distribution and the specific version of that distribution.
cancel comment
What does virtual hard disk mean? If the file is in img format, you can use the mdconfig command to load it as a memory file. Similar format:
Mdconfig - a - t vnode - f * *. img - u 0 and then mount
mount /dev/md0a /img

The answer is not easy. I hope it can help you. If you are satisfied, please help to adopt it. Thank you!
cancel comment
ZOL Q&A > Mini desktop > Other classifications > How to check the kernel version number of freebsd

Related products

  •  Asus Chromebox 3

    Asus Chromebox 3

    Reference price: concept product score:-

    Hot list: 29th

  • Jingdong Search

Top mini desktops

See more rankings>

report

Thank you for contributing to the harmony of the community. Please select the type of report

Reported successfully

It will be handled after verification
Thank you for your contribution to community harmony

Scan the code to participate in the trial of new products at 0 yuan
You can get the sheets and grand gifts on the top floor

 Scan and pay attention to us
Tips

Are you sure you want to cancel this registration and exit this activity?