Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 24/05/2007, à 14:05

LPedro

avoir des infos sur l'os

Bonjour,

J'aimerai savoir s'il y a une comande qui permet de connaitre toutes les information possible sur l'os installé.

Je sais qu'il y a uname mais cela ne me donne pas assez d'info.

Par exemple j'aimerai savoir si je suis sur une ubuntu, une redhat etc...
La version de l'os 7.04 pour ubuntu par exemple.
et plus si possible. tongue


Pierre

Hors ligne

#2 Le 24/05/2007, à 14:31

Sultan Rahi

Re : avoir des infos sur l'os

Bien sûr smile:

cat /etc/lsb-release

#3 Le 24/05/2007, à 14:38

Bobbybionic

Re : avoir des infos sur l'os

Bonjour

Déplacé, merci de respecter la raison d'être de ce forum "Trucs et Astuces"

Bonne continuation.


Non à la vente liée. Non au monopole Windows.
Tous ensemble, refusons les logiciels préinstallés et tournons nous vers le libre.

http://bobbybionic.wordpress.com

Hors ligne

#4 Le 24/05/2007, à 16:01

LPedro

Re : avoir des infos sur l'os

Bobbybionic a écrit :

Bonjour

Déplacé, merci de respecter la raison d'être de ce forum "Trucs et Astuces"

Bonne continuation.

Désolé.
Si je l'avais mis là c'est que je pensé que c'étais bon, c'était pas pour mettre le bordel. Je me suis trompé.

sinon pour la commande sur une red hat cela me retourne que ceci:

LSB_VERSION="1.3"

alors que sur une ubuntu cela me retourne ceci:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=6.10
DISTRIB_CODENAME=edgy
DISTRIB_DESCRIPTION="Ubuntu 6.10"

Vous avez pas une autre solution avec plus de précision s'il vous plait?


Merci

Pierre

Hors ligne

#5 Le 24/05/2007, à 16:52

hells_dark

Re : avoir des infos sur l'os

C'est pour quoi faire ?

Parce que si c'est vraiment pour avoir les infos en elle même, ya HardInfo qui est bien complet.
Mais c'est pas une commande, c'est un petit soft.

neutral

Dernière modification par hells_dark (Le 24/05/2007, à 16:55)


"You caught me at a strange time in my life."
devianArt - site perso

Hors ligne

#6 Le 24/05/2007, à 17:01

LPedro

Re : avoir des infos sur l'os

Cela peut marcher je vais regarder ça.

Merci

Pierre

Hors ligne

#7 Le 25/05/2007, à 01:58

raspouille

Re : avoir des infos sur l'os

salut,
en ligne de commande,
& dmesg
un extrait en code,

raspouille@ubuntu:~$ dmesg 
[    0.000000] Linux version 2.6.20-15-generic (root@palmer) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Apr 15 07:36:31 UTC 2007 (Ubuntu 2.6.20-15.27-generic)
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] sanitize start
[    0.000000] sanitize end
[    0.000000] copy_e820_map() start: 0000000000000000 size: 000000000009f800 end: 000000000009f800 type: 1
[    0.000000] copy_e820_map() type is E820_RAM
[    0.000000] copy_e820_map() start: 000000000009f800 size: 0000000000000800 end: 00000000000a0000 type: 2
[    0.000000] copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 0000000000100000 type: 2
[    0.000000] copy_e820_map() start: 0000000000100000 size: 000000003fef0000 end: 000000003fff0000 type: 1
[    0.000000] copy_e820_map() type is E820_RAM
[    0.000000] copy_e820_map() start: 000000003fff0000 size: 0000000000003000 end: 000000003fff3000 type: 4
[    0.000000] copy_e820_map() start: 000000003fff3000 size: 000000000000d000 end: 0000000040000000 type: 3
[    0.000000] copy_e820_map() start: 00000000fec00000 size: 0000000000001000 end: 00000000fec01000 type: 2
[    0.000000] copy_e820_map() start: 00000000fee00000 size: 0000000000001000 end: 00000000fee01000 type: 2
[    0.000000] copy_e820_map() start: 00000000ffff0000 size: 0000000000010000 end: 0000000100000000 type: 2
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[    0.000000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
[    0.000000]  BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
[    0.000000]  BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
[    0.000000] 127MB HIGHMEM available.
[    0.000000] 896MB LOWMEM available.
[    0.000000] Entering add_active_range(0, 0, 262128) 0 entries of 256 used
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->   229376
[    0.000000]   HighMem    229376 ->   262128
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->   262128
[    0.000000] On node 0 totalpages: 262128
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4064 pages, LIFO batch:0
[    0.000000]   Normal zone: 1760 pages used for memmap
[    0.000000]   Normal zone: 223520 pages, LIFO batch:31
[    0.000000]   HighMem zone: 255 pages used for memmap
[    0.000000]   HighMem zone: 32497 pages, LIFO batch:7
[    0.000000] DMI 2.2 present.
[    0.000000] ACPI: RSDP (v000 Nvidia                                ) @ 0x000f7550
[    0.000000] ACPI: RSDT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3000
[    0.000000] ACPI: FADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3040
[    0.000000] ACPI: MADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff79c0
[    0.000000] ACPI: DSDT (v001 NVIDIA AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
[    0.000000] Nvidia board detected. Ignoring ACPI timer override.
[    0.000000] If you got timer trouble try acpi_use_timer_override
[    0.000000] Nvidia board detected. Ignoring ACPI timer override.
[    0.000000] If you got timer trouble try acpi_use_timer_override
[    0.000000] ACPI: PM-Timer IO Port: 0x4008
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] Processor #0 6:10 APIC version 16
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: BIOS IRQ0 pin2 override ignored.
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] ACPI: IRQ14 used by override.
[    0.000000] ACPI: IRQ15 used by override.
[    0.000000] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
[    0.000000] Detected 2162.758 MHz processor.
[   26.298368] Built 1 zonelists.  Total pages: 260081
[   26.298372] Kernel command line: root=UUID=a1037bb0-85a6-427c-945d-e3f452e2fcbe ro quiet splash
[   26.298521] mapped APIC to ffffd000 (fee00000)
[   26.298523] mapped IOAPIC to ffffc000 (fec00000)
[   26.298526] Enabling fast FPU save and restore... done.
[   26.298528] Enabling unmasked SIMD FPU exception support... done.
[   26.298538] Initializing CPU#0
[   26.298597] PID hash table entries: 4096 (order: 12, 16384 bytes)
[   26.300788] Console: colour VGA+ 80x25
[   26.301359] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[   26.301840] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[   26.327770] Memory: 1028316k/1048512k available (1992k kernel code, 19436k reserved, 893k data, 328k init, 131008k highmem)
[   26.327780] virtual kernel memory layout:
[   26.327781]     fixmap  : 0xfff4e000 - 0xfffff000   ( 708 kB)
[   26.327782]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[   26.327783]     vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
[   26.327785]     lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
[   26.327786]       .init : 0xc03d7000 - 0xc0429000   ( 328 kB)
[   26.327787]       .data : 0xc02f2264 - 0xc03d16d4   ( 893 kB)
[   26.327788]       .text : 0xc0100000 - 0xc02f2264   (1992 kB)
[   26.327791] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[   26.406499] Calibrating delay using timer specific routine.. 4328.87 BogoMIPS (lpj=8657751)
[   26.406545] Security Framework v1.0.0 initialized
[   26.406553] SELinux:  Disabled at boot.
[   26.406569] Mount-cache hash table entries: 512
[   26.406724] CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000 00000000 00000000 00000000
[   26.406732] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[   26.406735] CPU: L2 Cache: 512K (64 bytes/line)
[   26.406738] CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000420 00000000 00000000 00000000
[   26.406749] Compat vDSO mapped to ffffe000.
[   26.406754] Remapping vsyscall page to ffffe000
[   26.406764] Checking 'hlt' instruction... OK.
[   26.422624] SMP alternatives: switching to UP code
[   26.422917] Freeing SMP alternatives: 11k freed
[   26.423141] Early unpacking initramfs... done
[   26.697265] ACPI: Core revision 20060707
[   26.704171] ACPI: Looking for DSDT in initramfs... file /DSDT.aml not found, using machine DSDT.
[   26.712886] CPU0: AMD Athlon(tm) XP 3000+ stepping 00
[   26.712908] Total of 1 processors activated (4328.87 BogoMIPS).
[   26.713104] ENABLING IO-APIC IRQs
[   26.713287] ..TIMER: vector=0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
[   26.858110] Brought up 1 CPUs
[   26.858321] Booting paravirtualized kernel on bare hardware
[   26.858397] Time: 21:38:31  Date: 04/24/107
[   26.858426] NET: Registered protocol family 16
[   26.858514] EISA bus registered
[   26.858518] ACPI: bus type pci registered
[   26.892995] PCI: PCI BIOS revision 2.10 entry at 0xfbc60, last bus=2
[   26.892997] PCI: Using configuration type 1
[   26.892999] Setting up standard PCI resources
[   26.906847] ACPI: Interpreter enabled
[   26.906849] ACPI: Using IOAPIC for interrupt routing
[   26.907403] ACPI: PCI Root Bridge [PCI0] (0000:00)
[   26.907407] PCI: Probing PCI hardware (bus 00)
[   26.908352] Boot video device is 0000:02:00.0
[   26.908397] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[   26.958353] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
[   26.958833] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
[   26.959816] ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 7 *10 11 12 14 15)
[   26.960125] ACPI: PCI Interrupt Link [LNK2] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[   26.960438] ACPI: PCI Interrupt Link [LNK3] (IRQs 3 4 5 6 7 10 *11 12 14 15)
[   26.960744] ACPI: PCI Interrupt Link [LNK4] (IRQs 3 4 *5 6 7 10 11 12 14 15)
[   26.961051] ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[   26.961358] ACPI: PCI Interrupt Link [LUBA] (IRQs *3 4 5 6 7 10 11 12 14 15)
[   26.961663] ACPI: PCI Interrupt Link [LUBB] (IRQs 3 4 *5 6 7 10 11 12 14 15)
[   26.961978] ACPI: PCI Interrupt Link [LMAC] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[   26.962289] ACPI: PCI Interrupt Link [LAPU] (IRQs *3 4 5 6 7 10 11 12 14 15)
[   26.962597] ACPI: PCI Interrupt Link [LACI] (IRQs 3 4 5 6 7 10 *11 12 14 15)
[   26.962904] ACPI: PCI Interrupt Link [LMCI] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[   26.963210] ACPI: PCI Interrupt Link [LSMB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
[   26.963523] ACPI: PCI Interrupt Link [LUB2] (IRQs 3 4 5 6 7 *10 11 12 14 15)
[   26.963831] ACPI: PCI Interrupt Link [LFIR] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[   26.964143] ACPI: PCI Interrupt Link [L3CM] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[   26.964448] ACPI: PCI Interrupt Link [LIDE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[   26.964730] ACPI: PCI Interrupt Link [APC1] (IRQs *16), disabled.
[   26.964998] ACPI: PCI Interrupt Link [APC2] (IRQs *17), disabled.
[   26.965264] ACPI: PCI Interrupt Link [APC3] (IRQs *18), disabled.
[   26.965530] ACPI: PCI Interrupt Link [APC4] (IRQs *19), disabled.
[   26.965798] ACPI: PCI Interrupt Link [APC5] (IRQs *16), disabled.
[   26.966148] ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22) *0, disabled.
[   26.966488] ACPI: PCI Interrupt Link [APCG] (IRQs 20 21 22) *0, disabled.
[   26.966828] ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22) *0, disabled.
[   26.967173] ACPI: PCI Interrupt Link [APCI] (IRQs 20 21 22) *0, disabled.
[   26.967516] ACPI: PCI Interrupt Link [APCJ] (IRQs 20 21 22) *0, disabled.
[   26.967861] ACPI: PCI Interrupt Link [APCK] (IRQs 20 21 22) *0, disabled.
[   26.968131] ACPI: PCI Interrupt Link [APCS] (IRQs *23), disabled.
[   26.968471] ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22) *0, disabled.
[   26.968813] ACPI: PCI Interrupt Link [APCM] (IRQs 20 21 22) *0, disabled.
[   26.969152] ACPI: PCI Interrupt Link [AP3C] (IRQs 20 21 22) *0, disabled.
[   26.969494] ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22) *0, disabled.
[   26.972035] Linux Plug and Play Support v0.97 (c) Adam Belay
[   26.972046] pnp: PnP ACPI init
[   26.977032] pnp: PnP ACPI: found 14 devices
[   26.977037] PnPBIOS: Disabled by ACPI PNP
[   26.977091] PCI: Using ACPI for IRQ routing
[   26.977096] PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
[   26.991595] NET: Registered protocol family 8
[   26.991597] NET: Registered protocol family 20
[   26.992146] pnp: 00:00: ioport range 0x4000-0x407f could not be reserved
[   26.992150] pnp: 00:00: ioport range 0x4080-0x40ff has been reserved
[   26.992152] pnp: 00:00: ioport range 0x4400-0x447f has been reserved
[   26.992155] pnp: 00:00: ioport range 0x4480-0x44ff could not be reserved
[   26.992157] pnp: 00:00: ioport range 0x4200-0x427f has been reserved
[   26.992160] pnp: 00:00: ioport range 0x4280-0x42ff has been reserved
[   26.992166] pnp: 00:01: ioport range 0x5000-0x503f has been reserved
[   26.992169] pnp: 00:01: ioport range 0x5100-0x513f has been reserved
[   26.992412] PCI: Bridge: 0000:00:08.0
[   26.992415]   IO window: 9000-afff
[   26.992420]   MEM window: d3000000-d4ffffff
[   26.992424]   PREFETCH window: 50000000-500fffff
[   26.992429] PCI: Bridge: 0000:00:1e.0
[   26.992430]   IO window: disabled.
[   26.992434]   MEM window: d0000000-d2ffffff
[   26.992437]   PREFETCH window: c0000000-cfffffff
[   26.992449] PCI: Setting latency timer of device 0000:00:08.0 to 64
[   26.992478] NET: Registered protocol family 2
[   27.029993] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[   27.030195] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[   27.031651] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[   27.032375] TCP: Hash tables configured (established 131072 bind 65536)
[   27.032378] TCP reno registered
[   27.042034] checking if image is initramfs... it is
[   27.560924] Freeing initrd memory: 6755k freed
[   27.561378] audit: initializing netlink socket (disabled)
[   27.561396] audit(1180042711.344:1): initialized
[   27.561464] highmem bounce pool size: 64 pages
[   27.561516] VFS: Disk quotas dquot_6.5.1
[   27.561537] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   27.561585] io scheduler noop registered
[   27.561587] io scheduler anticipatory registered
[   27.561590] io scheduler deadline registered
[   27.561597] io scheduler cfq registered (default)
[   27.561850] isapnp: Scanning for PnP cards...
[   27.915983] isapnp: No Plug & Play device found
[   27.938408] Real Time Clock Driver v1.12ac
[   27.938462] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[   27.938590] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   27.939163] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   27.939367] mice: PS/2 mouse device common for all mice
[   27.939886] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[   27.940117] input: Macintosh mouse button emulation as /class/input/input0
[   27.940147] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[   27.940151] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[   27.940356] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[   27.943168] serio: i8042 KBD port at 0x60,0x64 irq 1
[   27.943173] serio: i8042 AUX port at 0x60,0x64 irq 12
[   27.943307] EISA: Probing bus 0 at eisa.0
[   27.943329] Cannot allocate resource for EISA slot 4
[   27.943332] Cannot allocate resource for EISA slot 5
[   27.943347] EISA: Detected 0 cards.
[   27.973407] TCP cubic registered

Linux Mint Mate 17.3 GNU/Linux.

Hors ligne