web-dev-qa-db-fra.com

Comment trouver l'architecture du système d'exploitation installé

J'utilise Core 2 Duo. Sur le site Web d'Intel, j'ai découvert qu'il s'agissait d'un processeur d'architecture 64 bits.

Il y a longtemps que j'ai installé le système d'exploitation Ubuntu sur cette machine. Mais je ne suis pas sûr d'avoir installé la version x86-32 ou x86-64 de Linux. Je veux savoir quelle version de Linux j'utilise. Comment puis-je savoir ça?

Comment trouver la même chose sous Windows?

15
claws

Sur les systèmes d'exploitation de type Unix, vous pouvez taper uname -m pour afficher l'architecture:

$ uname -m
x86_64

Sous Windows, suivez Microsoft guide :

Pour savoir si votre ordinateur exécute une version 32 bits ou 64 bits de Windows sous Windows 7 ou Windows Vista, procédez comme suit:

    Open System by clicking the Start button, right-clicking Computer, and then clicking Properties.

    Under System, you can view the system type.

If your computer is running Windows XP, do the following:

    Click Start.

    Right-click My Computer, and then click Properties.

        If you don't see "x64 Edition" listed, then you're running the 32-bit version of Windows XP.

        If "x64 Edition" is listed under System, you're running the 64-bit version of Windows XP.
10
matthias krull

Sous Windows Vista et plus récent, vous pouvez exécuter la commande

wmic os get osarchitecture

pour savoir si c'est 32 ou 64 bits.

16
Tofystedeth

Depuis la console

set 

et cherchez le PROCESSOR_ARCHITECTURE value. Dans mon cas:

PROCESSOR_ARCHITECTURE=AMD64

Ou simplement imprimer depuis le début

echo %PROCESSOR_ARCHITECTURE%
5
jessarah

En complément de réponse de Tofystedeth , sous Windows XP (et ultérieur), vous pouvez utiliser cpuname __ 'AddressWidth et DataWidth pour obtenir les données dont vous avez besoin.

Si vous voulez trouver l'architecture du système d'exploitation:

wmic cpu get AddressWidth

Si vous voulez trouver l'architecture du processeur lui-même:

wmic cpu get DataWidth
5
Michael Caron

Pour Windows, consultez ce document de Microsoft. Il vous explique comment trouver une version de Windows que vous pourriez avoir:

http://support.Microsoft.com/kb/827218texte du lien

Pour Windows 7, vérifiez les instructions ici:

http://windows.Microsoft.com/en-US/windows7/32-bit-and-64-bit-Windows-frequently-asked-questions

1
Michael

Vous pouvez exécuter msinfo32.exe (fenêtre Informations système) sur votre système (à l’invite de commande). Vérifiez Type de système sous Résumé du système.

0
Vijred

Pour Windows 10 ... ParamètresSystème puis À propos de (coin inférieur gauche). Il devrait être listé sous Spécifications du périphérique: système d'exploitation 64 bits et processeur x64.

0
Danny Cor

Sur Linux,

uname -a

affiche des informations sur le noyau en cours d'exécution.

0
rhohr