32 ou 64 bits ?

Bonjour, la question peut paraître bête, mais comment savoir si je suis en 32 ou 64 bits ?

Merci !

7 réponses

Résumé de la discussion

Pour déterminer si le système est en 32 ou 64 bits, plusieurs méthodes pratiques existent sur Linux Ubuntu, notamment en utilisant des commandes simples et en lisant les informations système. La commande uname -a permet d'afficher l'architecture, par exemple x86_64 pour 64 bits ou i686 pour 32 bits, ce qui donne une indication immédiate sur le mode du système. En cas de besoin, dmidecode dans la console peut donner des informations matérielles complémentaires (par exemple le BIOS et les capacités CPU) pour confirmer l'architecture par défaut. Certaines sorties utilisateurs affichent explicitement i686 GNU/Linux ou x86_64 GNU/Linux, ce qui confirme directement le mode opérationnel sans interprétation et évite les incertitudes liées à l'interrogation du matériel.

Bobot (l’IA à votre service)
  1. Modérateur
    Salut

    Tu peut essayer la commande :

    uname -a

    et coller le résultat ici.
    1. Oula euh... 4 je crois, pas sûr ^^' Je ne sais pas si ca peut t'aider;

      # dmidecode 2.9
      SMBIOS 2.4 present.
      35 structures occupying 1106 bytes.
      Table at 0x000F1780.

      Handle 0x0000, DMI type 0, 24 bytes
      BIOS Information
      Vendor: Acer
      Version: v1.3105
      Release Date: 10/12/06
      Address: 0xE51F0
      Runtime Size: 110096 bytes
      ROM Size: 1024 kB
      Characteristics:
      ISA is supported
      PCI is supported
      PC Card (PCMCIA) is supported
      PNP is supported
      BIOS is upgradeable
      BIOS shadowing is allowed
      ESCD support is available
      Boot from CD is supported
      ACPI is supported
      USB legacy is supported
      BIOS boot specification is supported

      Handle 0x0001, DMI type 1, 27 bytes
      System Information
      Manufacturer: Acer, inc.
      Product Name: Aspire 5050
      Version: Not Applicable
      Serial Number: LXAG30504664200C0F2500
      UUID: C083B989-A98B-D811-918F-00163690294F
      Wake-up Type: Power Switch
      SKU Number: Not Specified
      Family: Not Specified

      Handle 0x0002, DMI type 2, 8 bytes
      Base Board Information
      Manufacturer: Acer, Inc.
      Product Name: Prespa M
      Version: Not Applicable
      Serial Number: LXAG30504664200C0F2500

      Handle 0x0003, DMI type 3, 17 bytes
      Chassis Information
      Manufacturer: , Inc.
      Type: Other
      Lock: Not Present
      Version: N/A
      Serial Number: None
      Asset Tag:
      Boot-up State: Safe
      Power Supply State: Safe
      Thermal State: Safe
      Security Status: None
      OEM Information: 0x00001234

      Handle 0x0004, DMI type 4, 35 bytes
      Processor Information
      Socket Designation: Socket M2/S1G1
      Type: Central Processor
      Family: Opteron
      Manufacturer: AMD
      ID: C2 0F 04 00 FF FB 8B 07
      Signature: Family 15, Model 76, Stepping 2
      Flags:
      FPU (Floating-point unit on-chip)
      VME (Virtual mode extension)
      DE (Debugging extension)
      PSE (Page size extension)
      TSC (Time stamp counter)
      MSR (Model specific registers)
      PAE (Physical address extension)
      MCE (Machine check exception)
      CX8 (CMPXCHG8 instruction supported)
      APIC (On-chip APIC hardware supported)
      SEP (Fast system call)
      MTRR (Memory type range registers)
      PGE (Page global enable)
      MCA (Machine check architecture)
      CMOV (Conditional move instruction supported)
      PAT (Page attribute table)
      PSE-36 (36-bit page size extension)
      CLFSH (CLFLUSH instruction supported)
      MMX (MMX technology supported)
      FXSR (Fast floating-point save and restore)
      SSE (Streaming SIMD extensions)
      SSE2 (Streaming SIMD extensions 2)
      Version: Engineering Sample
      Voltage: 1.4 V
      External Clock: 133 MHz
      Max Speed: 2000 MHz
      Current Speed: 2000 MHz
      Status: Populated, Enabled
      Upgrade: Other
      L1 Cache Handle: Not Provided
      L2 Cache Handle: 0x0005
      L3 Cache Handle: Not Provided
      Serial Number: Not Specified
      Asset Tag: Not Specified
      Part Number: Not Specified

      Handle 0x0005, DMI type 7, 19 bytes
      Cache Information
      Socket Designation: L2 Cache
      Configuration: Enabled, Socketed, Level 2
      Operational Mode: Write Back
      Location: Internal
      Installed Size: 512 KB
      Maximum Size: 1024 KB
      Supported SRAM Types:
      Burst
      Pipeline Burst
      Installed SRAM Type: Synchronous
      Speed: Unknown
      Error Correction Type: Unknown
      System Type: Unknown
      Associativity: Unknown

      Handle 0x0006, DMI type 8, 9 bytes
      Port Connector Information
      Internal Reference Designator: J28
      Internal Connector Type: None
      External Reference Designator: COM A
      External Connector Type: DB-9 male
      Port Type: Serial Port 16550A Compatible

      Handle 0x0007, DMI type 8, 9 bytes
      Port Connector Information
      Internal Reference Designator: J28
      Internal Connector Type: None
      External Reference Designator: Parallel
      External Connector Type: DB-25 female
      Port Type: Parallel Port ECP/EPP

      Handle 0x0008, DMI type 8, 9 bytes
      Port Connector Information
      Internal Reference Designator: J28
      Internal Connector Type: None
      External Reference Designator: Video
      External Connector Type: DB-15 female
      Port Type: Video Port

      Handle 0x0009, DMI type 8, 9 bytes
      Port Connector Information
      Internal Reference Designator: J33
      Internal Connector Type: None
      External Reference Designator: Keyboard
      External Connector Type: Circular DIN-8 male
      Port Type: Keyboard Port

      Handle 0x000A, DMI type 8, 9 bytes
      Port Connector Information
      Internal Reference Designator: J33
      Internal Connector Type: None
      External Reference Designator: PS/2 Mouse
      External Connector Type: Circular DIN-8 male
      Port Type: Keyboard Port

      Handle 0x000B, DMI type 8, 9 bytes
      Port Connector Information
      Internal Reference Designator: J31
      Internal Connector Type: None
      External Reference Designator: USB 1
      External Connector Type: Access Bus (USB)
      Port Type: USB

      Handle 0x000C, DMI type 8, 9 bytes
      Port Connector Information
      Internal Reference Designator: J32
      Internal Connector Type: None
      External Reference Designator: USB 2
      External Connector Type: Access Bus (USB)
      Port Type: USB

      Handle 0x000D, DMI type 8, 9 bytes
      Port Connector Information
      Internal Reference Designator: J32
      Internal Connector Type: None
      External Reference Designator: USB 3
      External Connector Type: Access Bus (USB)
      Port Type: USB

      Handle 0x000E, DMI type 8, 9 bytes
      Port Connector Information
      Internal Reference Designator: J31
      Internal Connector Type: None
      External Reference Designator: USB 4
      External Connector Type: Access Bus (USB)
      Port Type: USB

      Handle 0x000F, DMI type 8, 9 bytes
      Port Connector Information
      Internal Reference Designator: J30
      Internal Connector Type: None
      External Reference Designator: Microphone In
      External Connector Type: Mini Jack (headphones)
      Port Type: Audio Port

      Handle 0x0010, DMI type 8, 9 bytes
      Port Connector Information
      Internal Reference Designator: J30
      Internal Connector Type: None
      External Reference Designator: Line In
      External Connector Type: Mini Jack (headphones)
      Port Type: Audio Port

      Handle 0x0011, DMI type 8, 9 bytes
      Port Connector Information
      Internal Reference Designator: J30
      Internal Connector Type: None
      External Reference Designator: Speaker Out
      External Connector Type: Mini Jack (headphones)
      Port Type: Audio Port

      Handle 0x0012, DMI type 9, 13 bytes
      System Slot Information
      Designation: PCI1
      Type: 32-bit PCI
      Current Usage: Unknown
      Length: Long
      ID: 0
      Characteristics:
      5.0 V is provided
      3.3 V is provided
      PME signal is supported

      Handle 0x0013, DMI type 9, 13 bytes
      System Slot Information
      Designation: PCI2
      Type: 32-bit PCI
      Current Usage: Unknown
      Length: Long
      ID: 0
      Characteristics:
      5.0 V is provided
      3.3 V is provided
      PME signal is supported

      Handle 0x0014, DMI type 9, 13 bytes
      System Slot Information
      Designation: PCI3
      Type: 32-bit PCI
      Current Usage: Unknown
      Length: Long
      ID: 0
      Characteristics:
      5.0 V is provided
      3.3 V is provided
      PME signal is supported

      Handle 0x0015, DMI type 10, 6 bytes
      On Board Device Information
      Type: Video
      Status: Disabled
      Description: ATI RS400M

      Handle 0x0016, DMI type 10, 6 bytes
      On Board Device Information
      Type: Sound
      Status: Disabled
      Description: ESS 1869

      Handle 0x0017, DMI type 11, 5 bytes
      OEM Strings
      String 1: AMD New Processor Technology
      String 2: www.amd.com
      String 3: Have a nice day :)

      Handle 0x0018, DMI type 12, 5 bytes
      System Configuration Options
      Option 1: J13 1-2 Normal Operation, 2-3 Clear CMOS

      Handle 0x0019, DMI type 13, 22 bytes
      BIOS Language Information
      Installable Languages: 1
      enUS
      Currently Installed Language: enUS

      Handle 0x001A, DMI type 15, 29 bytes
      System Event Log
      Area Length: 16 bytes
      Header Start Offset: 0x0000
      Header Length: 16 bytes
      Data Start Offset: 0x0010
      Access Method: General-purpose non-volatile data functions
      Access Address: 0x0000
      Status: Valid, Not Full
      Change Token: 0x00000000
      Header Format: Type 1
      Supported Log Type Descriptors: 3
      Descriptor 1: POST error
      Data Format 1: POST results bitmap
      Descriptor 2: Single-bit ECC memory error
      Data Format 2: Multiple-event
      Descriptor 3: Multi-bit ECC memory error
      Data Format 3: Multiple-event

      Handle 0x001B, DMI type 16, 15 bytes
      Physical Memory Array
      Location: System Board Or Motherboard
      Use: System Memory
      Error Correction Type: None
      Maximum Capacity: 4 GB
      Error Information Handle: Not Provided
      Number Of Devices: 2

      Handle 0x001C, DMI type 17, 27 bytes
      Memory Device
      Array Handle: 0x001B
      Error Information Handle: No Error
      Total Width: 128 bits
      Data Width: 64 bits
      Size: 512 MB
      Form Factor: DIMM
      Set: 1
      Locator: S1
      Bank Locator: DIMM1
      Type: DDR2
      Type Detail: Synchronous
      Speed: Unknown
      Manufacturer: Not Specified
      Serial Number: Not Specified
      Asset Tag: Not Specified
      Part Number: Not Specified

      Handle 0x001D, DMI type 17, 27 bytes
      Memory Device
      Array Handle: 0x001B
      Error Information Handle: No Error
      Total Width: Unknown
      Data Width: Unknown
      Size: No Module Installed
      Form Factor: DIMM
      Set: 2
      Locator: S2
      Bank Locator: DIMM2
      Type: DDR2
      Type Detail: Unknown
      Speed: Unknown
      Manufacturer: Not Specified
      Serial Number: Not Specified
      Asset Tag: Not Specified
      Part Number: Not Specified

      Handle 0x001E, DMI type 18, 23 bytes
      32-bit Memory Error Information
      Type: OK
      Granularity: Unknown
      Operation: Unknown
      Vendor Syndrome: Unknown
      Memory Array Address: Unknown
      Device Address: Unknown
      Resolution: Unknown

      Handle 0x001F, DMI type 19, 15 bytes
      Memory Array Mapped Address
      Starting Address: 0x00000000000
      Ending Address: 0x0001FFFFFFF
      Range Size: 512 MB
      Physical Array Handle: 0x001B
      Partition Width: 0

      Handle 0x0020, DMI type 20, 19 bytes
      Memory Device Mapped Address
      Starting Address: 0x00000000000
      Ending Address: 0x0001FFFFFFF
      Range Size: 512 MB
      Physical Device Handle: 0x001C
      Memory Array Mapped Address Handle: 0x001F
      Partition Row Position: 2
      Interleave Position: 1
      Interleaved Data Depth: 6

      Handle 0x0021, DMI type 32, 20 bytes
      System Boot Information
      Status: <OUT OF SPEC>

      Handle 0x0022, DMI type 127, 4 bytes
      End Of Table
      1. Modérateur
        Tu les a eux comment toute ces infos ?

        Sinon, pour la commande uname -a, ça donne quoi ?
      2. Avec un:
        sudo dmidecode

        dans la console ubuntu :)
      3. Modérateur
        Intéressant, je ne connaissait pas cette commande.

        Tu n'a toujours pas donné le résultat de :
        uname -a
      4. 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010 i686 GNU/Linux
      5. comme dans le lien que je t'ai donné c'est i686 ou qqch du genre => c'ets bien un 32 bits
    2. Handle 0x0013, DMI type 9, 13 bytes
      System Slot Information
      Designation: PCI2
      Type: 32-bit PCI
      Current Usage: Unknown
      Length: Long
      ID: 0
      Characteristics:
      5.0 V is provided
      3.3 V is provided
      PME signal is supported

      tu es en 32bits

      seuls les 64bits sont cappables de supporter plus de 4Go ;) c'était pour ca ma question. et une petite recherche s'imposait toujours :o
      http://forum.ubuntu-fr.org/viewtopic.php?id=226055
      1. Merci, désolé je n'avais pas trouvé de réponse ! =)
    3. PS: tu as 1Go ram :o

      Oula euh... 4 je crois, pas sûr ^^' Je ne sais pas si ca peut t'aider;

      # dmidecode 2.9
      SMBIOS 2.4 present.
      35 structures occupying 1106 bytes.
      Table at 0x000F1780.

      Handle 0x0000, DMI type 0, 24 bytes
      BIOS Information
      Vendor: Acer
      Version: v1.3105
      Release Date: 10/12/06
      Address: 0xE51F0
      Runtime Size: 110096 bytes
      ROM Size: 1024 kB
      Characteristics:
      ISA is supported
      PCI is supported
      PC Card (PCMCIA) is supported
      PNP is supported
      BIOS is upgradeable
      BIOS shadowing is allowed
      ESCD support is available
      Boot from CD is supported
      ACPI is supported
      USB legacy is supported
      BIOS boot specification is supported
      1. Modérateur
        ROM size, et non RAM size, c'est la taille de la ROM (du bios, je pense).
      2. Ah ok, j'y connais pas grand chose en tout ce qui est matériel etc...

        C'est le "4GB" qui ma induit en erreur;
        Handle 0x001B, DMI type 16, 15 bytes
        Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 4 GB
        Error Information Handle: Not Provided
        Number Of Devices: 2
      3. autant pour moi :)
      4. Et en passant, ma carte graphique c'est 512 c'est ca ? Merci :)