Blob


1 version=pmwiki-2.3.20 ordered=1 urlencoded=1
2 agent=w3m/0.5.3+git20230121
3 author=jrmu
4 charset=UTF-8
5 csum=
6 ctime=1712434520
7 host=104.167.242.140
8 name=Openbsd.Dmesg
9 rev=2
10 targets=
11 text=(:title dmesg: System Message Buffer:)%0a%0a[[https://man.openbsd.org/dmesg|dmesg]] provides a quick way to get%0astatus updates and hardware information:%0a%0a[@%0a$ dmesg%0aOpenBSD 7.4 (GENERIC.MP) #1397: Tue Oct 10 09:02:37 MDT 2023%0a deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP%0areal mem = 51486306304 (49101MB)%0aavail mem = 49906188288 (47594MB)%0arandom: good seed from bootblocks%0ampath0 at root%0ascsibus0 at mpath0: 256 targets%0amainbus0 at root%0abios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec830 (156 entries)%0abios0: vendor American Megatrends Inc. version "3.3" date 05/23/2018%0abios0: Supermicro X9DRi-LN4+/X9DR3-LN4+%0aacpi0 at bios0: ACPI 4.0%0aacpi0: sleep states S0 S1 S4 S5%0aacpi0: tables DSDT FACP APIC FPDT SRAT SLIT HPET PRAD SPMI SSDT EINJ ERST HEST BERT DMAR MCFG%0aacpi0: wakeup devices P0P9(S1) EUSB(S4) USBE(S4) PEX0(S4) PWVE(S4) NPE1(S4) NPE4(S4) NPE5(S4) NPE6(S4) NPE8(S4) NPEA(S4) NPE2(S4) NPE3(S4) NPE7(S4) NPE9(S4) NPE2(S4) [...]%0aacpitimer0 at acpi0: 3579545 Hz, 24 bits%0aacpimadt0 at acpi0 addr 0xfee00000: PC-AT compat%0acpu0 at mainbus0: apid 0 (boot processor)%0acpu0: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 2000.07 MHz, 06-2d-07, patch 0000071a%0acpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN%0acpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache%0acpu0: smt 0, core 0, package 0%0amtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges%0acpu0: apic clock running at 100MHz%0acpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE%0a...%0a@]%0a%0aAs you can see from above, dmesg provides us with information about the%0aOpenBSD kernel (@@OpenBSD 7.4 (GENERIC.MP)@@), the amount of real%0amemory on the system, and the number and type of processors. Although%0anot shown here, dmesg also provides information about storage disks and%0aperipherals.%0a%0aSometimes, status messages may fill up the dmesg buffer. When that%0aoccurs, view [[https://man.openbsd.org/dmesg|/var/run/dmesg.boot]] for%0aa copy of dmesg saved at boot time.%0a%0aFor example, to view the disks on the current system:%0a%0a[@%0a$ dmesg | grep -E '(sd|wd)[0-9]'%0asd0 at scsibus1 targ 0 lun 0: %3cVirtIO, Block Device, >%0asd0: 20480MB, 512 bytes/sector, 41943040 sectors%0asd1 at scsibus2 targ 0 lun 0: %3cVirtIO, Block Device, >%0asd1: 256000MB, 512 bytes/sector, 524288000 sectors%0a@]%0a
12 time=1712434522
13 title=dmesg: System Message Buffer
14 author:1712434522=jrmu
15 diff:1712434522:1712434520:=
16 host:1712434522=104.167.242.140
17 author:1712434520=jrmu
18 diff:1712434520:1712434520:=1,54d0%0a%3c (:title dmesg: System Message Buffer:)%0a%3c %0a%3c [[https://man.openbsd.org/dmesg|dmesg]] provides a quick way to get%0a%3c status updates and hardware information:%0a%3c %0a%3c [@%0a%3c $ dmesg%0a%3c OpenBSD 7.4 (GENERIC.MP) #1397: Tue Oct 10 09:02:37 MDT 2023%0a%3c deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP%0a%3c real mem = 51486306304 (49101MB)%0a%3c avail mem = 49906188288 (47594MB)%0a%3c random: good seed from bootblocks%0a%3c mpath0 at root%0a%3c scsibus0 at mpath0: 256 targets%0a%3c mainbus0 at root%0a%3c bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec830 (156 entries)%0a%3c bios0: vendor American Megatrends Inc. version "3.3" date 05/23/2018%0a%3c bios0: Supermicro X9DRi-LN4+/X9DR3-LN4+%0a%3c acpi0 at bios0: ACPI 4.0%0a%3c acpi0: sleep states S0 S1 S4 S5%0a%3c acpi0: tables DSDT FACP APIC FPDT SRAT SLIT HPET PRAD SPMI SSDT EINJ ERST HEST BERT DMAR MCFG%0a%3c acpi0: wakeup devices P0P9(S1) EUSB(S4) USBE(S4) PEX0(S4) PWVE(S4) NPE1(S4) NPE4(S4) NPE5(S4) NPE6(S4) NPE8(S4) NPEA(S4) NPE2(S4) NPE3(S4) NPE7(S4) NPE9(S4) NPE2(S4) [...]%0a%3c acpitimer0 at acpi0: 3579545 Hz, 24 bits%0a%3c acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat%0a%3c cpu0 at mainbus0: apid 0 (boot processor)%0a%3c cpu0: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 2000.07 MHz, 06-2d-07, patch 0000071a%0a%3c cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN%0a%3c cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 15MB 64b/line 20-way L3 cache%0a%3c cpu0: smt 0, core 0, package 0%0a%3c mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges%0a%3c cpu0: apic clock running at 100MHz%0a%3c cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE%0a%3c ...%0a%3c @]%0a%3c %0a%3c As you can see from above, dmesg provides us with information about the%0a%3c OpenBSD kernel (@@OpenBSD 7.4 (GENERIC.MP)@@), the amount of real%0a%3c memory on the system, and the number and type of processors. Although%0a%3c not shown here, dmesg also provides information about storage disks and%0a%3c peripherals.%0a%3c %0a%3c Sometimes, status messages may fill up the dmesg buffer. When that%0a%3c occurs, view [[https://man.openbsd.org/dmesg|/var/run/dmesg.boot]] for%0a%3c a copy of dmesg saved at boot time.%0a%3c %0a%3c For example, to view the disks on the current system:%0a%3c %0a%3c [@%0a%3c $ dmesg | grep -E '(sd|wd)[0-9]'%0a%3c sd0 at scsibus1 targ 0 lun 0: %3cVirtIO, Block Device, >%0a%3c sd0: 20480MB, 512 bytes/sector, 41943040 sectors%0a%3c sd1 at scsibus2 targ 0 lun 0: %3cVirtIO, Block Device, >%0a%3c sd1: 256000MB, 512 bytes/sector, 524288000 sectors%0a%3c @]%0a
19 host:1712434520=104.167.242.140