FreeBSD

Детальный разбор дистрибутивов и других UNIX-like ОС

Модераторы: Olej, bellic, adminn, vikos

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

FreeBSD

Непрочитанное сообщение Olej » 26 ноя 2023, 01:03

Olej писал(а):
26 ноя 2023, 00:36
мне нужна более детальная специфическая диагностика
Информация о железе в Linux и FreeBSD
Опубликовано 04.04.2019

Код: Выделить всё

root@freebsd:~ # pkg install sysinfo
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    sysinfo: 1.0.1_2

Number of packages to be installed: 1

17 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching sysinfo-1.0.1_2.pkg: 100%   17 KiB  17.5kB/s    00:01
Checking integrity... done (0 conflicting)
[1/1] Installing sysinfo-1.0.1_2...
[1/1] Extracting sysinfo-1.0.1_2: 100%
Но:

Код: Выделить всё

root@freebsd:~ # find /usr/local -name sysifo
root@freebsd:~ # 

Код: Выделить всё

root@freebsd:~ # whereis sysifo
sysifo:
С этим пакетом (состав) ешё нужно поразбираться. :cry:
Знакомый инструмент:

Код: Выделить всё

root@freebsd:~ # pkg install dmidecode
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    dmidecode: 3.5

Number of packages to be installed: 1

77 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching dmidecode-3.5.pkg: 100%   77 KiB  78.5kB/s    00:01
Checking integrity... done (0 conflicting)
[1/1] Installing dmidecode-3.5...
[1/1] Extracting dmidecode-3.5: 100%

Код: Выделить всё

root@freebsd:~ # dmidecode
# dmidecode 3.5
Scanning /dev/mem for entry point.
SMBIOS 2.5 present.
10 structures occupying 450 bytes.
Table at 0x000E1000.

Handle 0x0000, DMI type 0, 20 bytes
BIOS Information
	Vendor: innotek GmbH
	Version: VirtualBox
	Release Date: 12/01/2006
	Address: 0xE0000
	Runtime Size: 128 kB
	ROM Size: 128 kB
	Characteristics:
		ISA is supported
		PCI is supported
		Boot from CD is supported
		Selectable boot is supported
		8042 keyboard services are supported (int 9h)
		CGA/mono video services are supported (int 10h)
		ACPI is supported

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: innotek GmbH
	Product Name: VirtualBox
	Version: 1.2
	Serial Number: 0
	UUID: a685b170-06a9-a346-8918-c27e62073c52
	Wake-up Type: Power Switch
	SKU Number: Not Specified
	Family: Virtual Machine

Handle 0x0008, DMI type 2, 15 bytes
Base Board Information
	Manufacturer: Oracle Corporation
	Product Name: VirtualBox
	Version: 1.2
	Serial Number: 0
	Asset Tag: Not Specified
	Features:
		Board is a hosting board
	Location In Chassis: Not Specified
	Chassis Handle: 0x0003
	Type: Motherboard
	Contained Object Handles: 0

Handle 0x0003, DMI type 3, 13 bytes
Chassis Information
	Manufacturer: Oracle Corporation
	Type: Other
	Lock: Not Present
	Version: Not Specified
	Serial Number: Not Specified
	Asset Tag: Not Specified
	Boot-up State: Safe
	Power Supply State: Safe
	Thermal State: Safe
	Security Status: None

Handle 0x0007, DMI type 126, 42 bytes
Inactive

Handle 0x0005, DMI type 126, 15 bytes
Inactive

Handle 0x0006, DMI type 126, 28 bytes
Inactive

Handle 0x0002, DMI type 11, 7 bytes
OEM Strings
	String 1: vboxVer_6.1.38
	String 2: vboxRev_153438

Handle 0x0008, DMI type 128, 8 bytes
OEM-specific Type
	Header and Data:
		80 08 08 00 FF 9E 24 00

Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table
Это, наверное, очень полезно для реального железа, но мало информативно для VM.

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

FreeBSD

Непрочитанное сообщение Olej » 26 ноя 2023, 01:09

Olej писал(а):
26 ноя 2023, 01:03
Информация о железе в Linux и FreeBSD
Диск(и):

Код: Выделить всё

root@freebsd:~ # diskinfo /dev/ada0
/dev/ada0       512     26797424640     52338720        0       0       51923   16      63

Код: Выделить всё

root@freebsd:~ # gpart show
=>      34  52338646  ada0  GPT  (25G)
        34       346     1  freebsd-boot  (173K)
       380     66584     2  efi  (33M)
     66964   2097152     3  freebsd-swap  (1.0G)
   2164116  50174564     4  freebsd-zfs  (24G)

Код: Выделить всё

root@freebsd:~ # df /
Filesystem         1K-blocks    Used   Avail Capacity  Mounted on
zroot/ROOT/default  14284516 7913640 6370876    55%    /

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

FreeBSD

Непрочитанное сообщение Olej » 26 ноя 2023, 01:56

Olej писал(а):
26 ноя 2023, 00:36
мне нужна более детальная специфическая диагностика
FreeNas/FreeBSD hardware/diagnostic tools
A brief overview of various CLI tools that can help you diagnose your FreeBSD system
Posted on2020-04-28

Код: Выделить всё

root@freebsd:~ # camcontrol devlist
<VBOX HARDDISK 1.0>                at scbus0 target 0 lun 0 (pass0,ada0)

Код: Выделить всё

root@freebsd:~ # camcontrol
usage:  camcontrol <command>  [device id][generic args][command args]
        camcontrol devlist    [-b] [-v]
        camcontrol periphlist [dev_id][-n dev_name] [-u unit]
...

Код: Выделить всё

root@freebsd:~ # freebsd-version
14.0-RELEASE

Код: Выделить всё

root@freebsd:~ # pciconf
usage: pciconf -l [-BbcevV] [device]
       pciconf -a device
       pciconf -r [-b | -h] device addr[:addr2]
       pciconf -w [-b | -h] device addr value
       pciconf -D [-b | -h | -x] device bar [start [count]]

Код: Выделить всё

root@freebsd:~ # pciconf -lv
hostb0@pci0:0:0:0:	class=0x060000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x1237 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Intel Corporation'
    device     = '440FX - 82441FX PMC [Natoma]'
    class      = bridge
    subclass   = HOST-PCI
isab0@pci0:0:1:0:	class=0x060100 rev=0x00 hdr=0x00 vendor=0x8086 device=0x7000 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Intel Corporation'
    device     = '82371SB PIIX3 ISA [Natoma/Triton II]'
    class      = bridge
    subclass   = PCI-ISA
vgapci0@pci0:0:2:0:	class=0x030000 rev=0x00 hdr=0x00 vendor=0x15ad device=0x0405 subvendor=0x15ad subdevice=0x0405
    vendor     = 'VMware'
    device     = 'SVGA II Adapter'
    class      = display
    subclass   = VGA
em0@pci0:0:3:0:	class=0x020000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x100e subvendor=0x8086 subdevice=0x001e
    vendor     = 'Intel Corporation'
    device     = '82540EM Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet
none0@pci0:0:4:0:	class=0x088000 rev=0x00 hdr=0x00 vendor=0x80ee device=0xcafe subvendor=0x0000 subdevice=0x0000
    vendor     = 'InnoTek Systemberatung GmbH'
    device     = 'VirtualBox Guest Service'
    class      = base peripheral
pcm0@pci0:0:5:0:	class=0x040100 rev=0x01 hdr=0x00 vendor=0x8086 device=0x2415 subvendor=0x8086 subdevice=0x0000
    vendor     = 'Intel Corporation'
    device     = '82801AA AC'97 Audio Controller'
    class      = multimedia
    subclass   = audio
intsmb0@pci0:0:7:0:	class=0x068000 rev=0x08 hdr=0x00 vendor=0x8086 device=0x7113 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Intel Corporation'
    device     = '82371AB/EB/MB PIIX4 ACPI'
    class      = bridge
xhci0@pci0:0:12:0:	class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x8086 device=0x1e31 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Intel Corporation'
    device     = '7 Series/C210 Series Chipset Family USB xHCI Host Controller'
    class      = serial bus
    subclass   = USB
ahci0@pci0:0:13:0:	class=0x010601 rev=0x02 hdr=0x00 vendor=0x8086 device=0x2829 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Intel Corporation'
    device     = '82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]'
    class      = mass storage
    subclass   = SATA

Код: Выделить всё

root@freebsd:~ # zpool status -v
  pool: zroot
 state: ONLINE
config:

	NAME        STATE     READ WRITE CKSUM
	zroot       ONLINE       0     0     0
	  ada0p4    ONLINE       0     0     0

errors: No known data errors

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

FreeBSD

Непрочитанное сообщение Olej » 06 мар 2024, 15:16


Ответить

Вернуться в «Дистрибутивы Linux и родственные ОС»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 11 гостей