سلام دوستان. شما با دستور lspci میتوانید اطلاعات سخت افزاری مربوط به سرورتون رو مشاهده کنید. وقتی توی centos7 کامند lspci رو میزنید با پیغام خطای command not found مواجه میشوید.
برای حل این مشکل با استفاده از دستور yum پکیج pciutils را نصب کنید.
سپس مجددا دستور lspci را اجرا کنید.
موفق باشید
امیر
کد PHP:
[root@localhost] # lspci
-bash: lspci: command not found
[root@localhost] #
کد PHP:
# yum install pciutils
کد:
# yum install pciutils Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: mirror.internode.on.net * extras: mirror.internode.on.net * updates: mirror.internode.on.net Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package pciutils.x86_64 0:3.1.4-11.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ====================================================================================== Package Arch Version Repository Size ====================================================================================== Installing: pciutils x86_64 3.1.4-11.el6 base 83 k Transaction Summary ====================================================================================== Install 1 Package(s) Total download size: 83 k Installed size: 177 k Is this ok [y/N]: y Downloading Packages: Setting up and reading Presto delta metadata Processing delta metadata Package(s) data still to download: 83 k pciutils-3.1.4-11.el6.x86_64.rpm | 83 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : pciutils-3.1.4-11.el6.x86_64 1/1 Installed: pciutils.x86_64 0:3.1.4-11.el6 Complete! #
کد:
# lspci 00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01) 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08) 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08) 00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10) 00:0f.0 VGA compatible controller: VMware SVGA II Adapter 00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01) 00:11.0 PCI bridge: VMware PCI bridge (rev 02) 00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.5 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.6 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.7 PCI bridge: VMware PCI Express Root Port (rev 01) 02:00.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10) #
امیر