View the CPU digits and operating system versions of Windows, Linux, and Aix.

Source: Internet
Author: User

Question: Today I saw an article about viewing CPU and operating system information. I will share it with you, O (CPU _ memory) O!

 

Understanding CPU architecture

Http://blog.csdn.net/wyzxg/archive/2009/12/17/5027738.aspx

I briefly summarized the CPU architecture two days ago. Today I will summarize the number of digits supported by various OS systems and the number of digits supported by CPU hardware, because these are frequently used in our daily work, as a daily memorandum, You can strengthen your memory or give yourself a general understanding. At each interval, You can summarize it, slowly, you will find the advantage is that

1. view the Linux operating system and hardware CPU count

View the number of digits in a Linux operating system

If getconf long_bit is 32, it indicates 32 bits.

Eg:

[Root @ dB ~] # Getconf long_bit
32

[Root @ dB ~] # Getconf word_bit
32

You can also view it through CAT/proc/cpuinfo.

Or

[Root @ SVR-db-test ~] # File/sbin/init
/Sbin/init: Elf 64-bit LSB executable, amd x86-64, Version 1 (sysv), for GNU/Linux 2.6.9, dynamically linked (uses SHARED libs ), for GNU/Linux 2.6.9, stripped

View CPU hardware architecture

In Linux, the command arch can be used to preliminarily check the machine CPU type identified by the current system,
For example, "i386", "i38"," i586 "," Alpha "," iSCSI "," arm "," m68k ",
"MIPS", "PPC", "IA64", "x86_64", etc. IA64 and x86_64 indicate that this machine is 64-bit;

Eg:

[Root @ dB ~] # Arch
I686

Or

[Root @ SVR-db-test ~] # Uname-m
X86_64

Or

[Root @ SVR-db-test ~] # Echo $ hosttype
X86_64

2. view the Windows operating system and hardware CPU count

Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:/Documents and Settings/Administrator> systeminfo

Host Name: LUOBO-090566BDE
OS name: Microsoft Windows XP Professional
OS Version: 5.1.2600 Service Pack 3 build 2600
OS manufacturer: Microsoft Corporation
OS configuration: Independent Workstation
OS component type: multiprocessor free
Registered Owner: Microsoft users
Registered organization: Microsoft China
Product ID: 76481-640-1464517-23673
Initial installation date:, 10:16:44
System start time: 0 days, 0 hours, 35 minutes, 35 seconds
System manufacturer: Dell Inc.
System Model: mxc061
X86-based PC system type
Processor: one processor is installed.
[01]: x86 family 6 model 14 stepping 12 genuineintel ~ 1728 MHz

BIOS version: Dell-27d70402
Windows Directory: C:/Windows
System Directory: C:/Windows/system32
Start device:/device/harddiskvolume1
System region settings: ZH-CN; Chinese (China)
Input Method region settings: ZH-CN; Chinese (China)
Time zone: Missing
Physical memory: 2,038 MB
Available physical memory: 1,554 MB
Virtual Memory: Maximum Value: 2,048 MB
Virtual Memory: available: 1,992 MB
Virtual Memory in use: 56 MB
Page file location: C:/pagefile. sys
Domain: workgroup
Login Server: // LUOBO-090566BDE
Patch: Install 143 patches.

3. view the number of CPU and OS digits in Aix

Displays whether the machine hardware is 32-bit or 64-bit.
# Bootinfo-y
64

Check whether the AIX operating system is 32-bit or 64-bit

# Bootinfo-K
64

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.