1.1 Infos hardware

De UnixWiki
Aller à la navigation Aller à la recherche

Beaucoup d'info, en vrac:

 # dmidecode
 # dmidecode 2.11
 SMBIOS 2.7 present.
 108 structures occupying 3901 bytes.
 Table at 0x000EB8C0.
Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: American Megatrends Inc. Version: 1603 Release Date: 01/07/2013 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 8192 kB ....

Processeur et architecture

 #cat /proc/cpuinfo 
 processor	: 0
 vendor_id	: GenuineIntel
 cpu family	: 6
 model		: 15
 model name	: Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz
 stepping	: 11
 cpu MHz		: 1998.000
 cache size	: 4096 KB
 physical id	: 0
 siblings	: 2
 core id		: 0
 cpu cores	: 2
 apicid		: 0
 initial apicid	: 0
 fpu		: yes
 fpu_exception	: yes
 cpuid level	: 10
 wp		: yes
 flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs    bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
 bogomips	: 5343.17
 clflush size	: 64
 cache_alignment	: 64
 address sizes	: 36 bits physical, 48 bits virtual
 power management:

 processor	: 1
 vendor_id	: GenuineIntel
 cpu family	: 6
 model		: 15
 model name	: Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz
 stepping	: 11
 cpu MHz		: 1998.000
 cache size	: 4096 KB
 physical id	: 0
 siblings	: 2
 core id		: 1
 cpu cores	: 2
 apicid		: 1
 initial apicid	: 1
 fpu		: yes
 fpu_exception	: yes
 cpuid level	: 10
 wp		: yes 
 flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs   bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
 bogomips	: 5343.16
 clflush size	: 64
 cache_alignment	: 64
 address sizes	: 36 bits physical, 48 bits virtual
 power management:

Information mémoire:

 # cat /proc/meminfo 
 MemTotal:        4060980 kB
 MemFree:          354872 kB
 Buffers:          442764 kB
 Cached:          1495632 kB
 SwapCached:         1320 kB
 Active:          1807240 kB
 Inactive:        1268208 kB
 Active(anon):     822844 kB
 Inactive(anon):   334240 kB
 Active(file):     984396 kB
 Inactive(file):   933968 kB
 Unevictable:          20 kB
 Mlocked:              20 kB
 SwapTotal:        999416 kB
 SwapFree:         993304 kB
 Dirty:               448 kB
 Writeback:             0 kB
 AnonPages:       1136040 kB
 Mapped:           213724 kB
 Shmem:             20036 kB
 Slab:             312808 kB
 SReclaimable:     281140 kB
 SUnreclaim:        31668 kB
 KernelStack:        3456 kB
 PageTables:        43016 kB
 NFS_Unstable:          0 kB
 Bounce:                0 kB
 WritebackTmp:          0 kB
 CommitLimit:     3029904 kB
 Committed_AS:    3023872 kB
 VmallocTotal:   34359738367 kB
 VmallocUsed:      302148 kB
 VmallocChunk:   34359425384 kB
 HardwareCorrupted:     0 kB
 HugePages_Total:       0
 HugePages_Free:        0
 HugePages_Rsvd:        0 
 HugePages_Surp:        0
 Hugepagesize:       2048 kB
 DirectMap4k:     3751424 kB
 DirectMap2M:      442368 kB

PCI bus

 # lspci
 00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
 00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
 00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
 00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
 00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02)
 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
 00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
 00:1f.2 IDE interface: Intel Corporation 82801IB (ICH9) 2 port SATA IDE Controller (rev 02)
 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
 00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
 01:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5700 Series]
 01:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
 02:00.0 Ethernet controller: Atheros Communications L1 Gigabit Ethernet (rev b0)
 03:00.0 SATA controller: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 03)
 03:00.1 IDE interface: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 03)
 05:02.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
 05:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)

IRQ

 # cat /proc/interrupts 
            CPU0       CPU1       
   0:       1085       1002   IO-APIC-edge      timer
   1:          2          0   IO-APIC-edge      i8042
   4:          2          1   IO-APIC-edge    
   6:          2          3   IO-APIC-edge      floppy
   8:          0          1   IO-APIC-edge      rtc0
   9:          0          0   IO-APIC-fasteoi   acpi
  16:      11806      11915   IO-APIC-fasteoi   ahci, uhci_hcd:usb3, firewire_ohci
  17:    4753703    4753292   IO-APIC-fasteoi   pata_jmicron, HDA Intel
  18:     357271     357535   IO-APIC-fasteoi   ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8, ath
  19:          0          0   IO-APIC-fasteoi   uhci_hcd:usb7
  21:     206895     206687   IO-APIC-fasteoi   uhci_hcd:usb4
  22:   26443114   26442810   IO-APIC-fasteoi   ata_piix, ata_piix, HDA Intel
  23:       2542       2558   IO-APIC-fasteoi   ehci_hcd:usb2, uhci_hcd:usb6
  28:     824867     826635   PCI-MSI-edge      eth0
  29:    9808215    9807021   PCI-MSI-edge      fglrx[0]@PCI:1:0:0
 NMI:          0          0   Non-maskable interrupts
 LOC:   87270974   90713783   Local timer interrupts
 SPU:          0          0   Spurious interrupts
 PMI:          0          0   Performance monitoring interrupts
 PND:          0          0   Performance pending work
 RES:    2922606    2926591   Rescheduling interrupts
 CAL:       2511       2684   Function call interrupts
 TLB:    1640216    1627485   TLB shootdowns
 TRM:          0          0   Thermal event interrupts
 THR:          0          0   Threshold APIC interrupts
 MCE:          0          0   Machine check exceptions
 MCP:       2043       2043   Machine check polls
 ERR:          1
 MIS:          0

USB

 #lsusb 
 Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 002: ID 046d:c52f Logitech, Inc. Wireless Mouse M305
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 005: ID 04b4:6830 Cypress Semiconductor Corp. CY7C68300A EZ-USB AT2 USB 2.0 to ATA/ATAPI
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Afficher les disques (en bloc de 1024)

 # /sbin/sfdisk -s
 /dev/sda: 292421632
 /dev/sdb:  31457280
 /dev/sdc:  31457280

Afficher les partitiond

 # /sbin/sfdisk -l /dev/sda
Disk /dev/sda: 36404 cylinders, 255 heads, 63 sectors/track Warning: extended partition does not start at a cylinder boundary. DOS and Linux will interpret the contents differently. Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System /dev/sda1 0+ 33- 33- 264192 83 Linux /dev/sda2 33+ 36404- 36372- 292156416 f W95 Ext'd (LBA) /dev/sda3 0 - 0 0 0 Empty /dev/sda4 0 - 0 0 0 Empty /dev/sda5 33+ 3296- 3264- 26216448 8e Linux LVM /dev/sda6 3297+ 3950- 653- 5244928 8e Linux LVM /dev/sda7 3950+ 36403- 32453- 260677632 8e Linux LVM