Back to series
· 12 min read

Hands-On Computer Basics: Checking Hardware and System Information


I. Why Learn to Check Computer Specifications?

Understanding computers should not stop at hardware concepts such as CPU, memory, and hard drives; you also need to know how to find this information on real devices.

Knowing how to check hardware specifications can help us:

  1. Understand your own computer: know the processor model, memory capacity, disk type, and graphics card model.
  2. Assess device performance: analyze whether the computer is suitable for office work, programming, gaming, or video editing.
  3. Troubleshoot runtime issues: identify problems such as insufficient memory, insufficient disk space, or excessive CPU load.
  4. Determine hardware upgrade options: learn about memory slots, disk interfaces, and device compatibility.
  5. Identify the system environment: confirm the operating system version, system architecture, drivers, and system update status.
  6. Support software development: confirm the runtime environment and analyze software compatibility and performance issues.

For example, when a computer runs programs very slowly, we cannot simply assume that CPU performance is insufficient. It could also be insufficient memory capacity, slow disk read/write speeds, background processes consuming resources, or the system performing a large amount of disk swapping.

Therefore, the first step is not to upgrade hardware, but to first check the computer's actual current specifications.

II. First, Understand the Computer's Hardware Components

A typical computer mainly consists of the following hardware components:

Hardware Main function Information to check
CPU Executes instructions and processes data Model, core count, thread count, clock speed
Memory (RAM) Temporarily stores data in use Capacity, frequency, usage
Disk (SSD/HDD) Stores data long-term Model, capacity, interface, remaining space
GPU Graphics rendering and parallel computing Model, VRAM capacity, driver version
Motherboard Connects and coordinates hardware Model, chipset, BIOS version
Network adapter Provides network connectivity Wired or wireless, speed, driver
Power supply Supplies power to hardware Rated power, power supply specifications
Cooling system Controls hardware operating temperature Fan speed, temperature, cooling status

From an overall structural perspective, computer hardware components are connected through the motherboard and various interfaces.

flowchart TD
    A["计算机硬件"] --> B["核心计算"]
    A --> C["数据存储"]
    A --> D["数据传输"]
    A --> E["供电与散热"]

    B --> F["CPU"]
    B --> G["GPU"]
    B --> H["内存 RAM"]

    C --> I["SSD"]
    C --> J["HDD"]

    D --> K["主板与总线"]
    D --> L["网卡与接口"]

    E --> M["电源"]
    E --> N["散热系统"]

    style A fill:#E0F0FE,stroke:#93BCE8,color:#1E4976
    style B fill:#DCEFE5,stroke:#8EBFA5,color:#24563F
    style C fill:#EAE4F8,stroke:#B6A4D9,color:#514276
    style D fill:#FFF1D6,stroke:#E7C77D,color:#72551E
    style E fill:#F1F5F4,stroke:#C7D4CF,color:#475569
    style F fill:#E0F0FE,stroke:#93BCE8,color:#1E4976
    style G fill:#E0F0FE,stroke:#93BCE8,color:#1E4976
    style H fill:#DCEFE5,stroke:#8EBFA5,color:#24563F
    style I fill:#EAE4F8,stroke:#B6A4D9,color:#514276
    style J fill:#EAE4F8,stroke:#B6A4D9,color:#514276
    style K fill:#F1F5F4,stroke:#C7D4CF,color:#475569
    style L fill:#F1F5F4,stroke:#C7D4CF,color:#475569
    style M fill:#FFF1D6,stroke:#E7C77D,color:#72551E
    style N fill:#FFF1D6,stroke:#E7C77D,color:#72551E

Next, we will look at this hardware information in different operating systems.

III. Windows: Use Built-in Tools to Check Specifications

Windows provides a variety of tools for viewing hardware and system information. You can obtain most basic specifications without installing third-party software.

3.1 View Basic Windows System Information

The simplest method is to use System Settings.

Steps:

  1. Press Win + I to open Settings.
  2. Go to "System".
  3. Find "System Information" or "About".
  4. View Device specifications and Windows specifications.

You will usually see:

Information Meaning
Device name The name of the current computer
Processor CPU model
Installed RAM Current memory capacity
Device ID The device's system identifier
System type 32-bit or 64-bit operating system and processor architecture
Windows version Windows 11, Windows 10, etc.
OS build The specific system build version

For example:

Device name: DESKTOP-DEV
Processor: Intel Core i7-13700H
Installed RAM: 16.0 GB
System type: 64-bit operating system, x64-based processor
Windows version: Windows 11 Pro

Note: The memory capacity shown here is the total physical memory recognized by the system, and does not represent the currently available memory.

3.2 Using Task Manager to check CPU and memory

Task Manager is the most commonly used hardware monitoring tool in Windows.

How to open it:

  • Keyboard shortcut: Ctrl + Shift + Esc
  • Or right-click the taskbar and select "Task Manager".

Go to the "Performance" tab, where you can view:

CPU information

  • CPU model
  • Current utilization
  • Current speed
  • Base speed
  • Number of cores
  • Number of logical processors
  • Virtualization status
  • L1, L2, L3 cache

Memory information

  • Total memory capacity
  • Current usage
  • Available memory
  • Memory speed
  • Number of slots in use
  • Memory form factor
  • Hardware reserved memory

Disk information

  • Disk model
  • Disk capacity
  • Current active time
  • Read speed
  • Write speed
  • Disk type (SSD or HDD, depending on what the system detects)

GPU information

  • Graphics card model
  • GPU utilization
  • Dedicated GPU memory
  • Shared GPU memory
  • Driver version
  • GPU temperature (when supported by the hardware and driver)

Task Manager is very well suited to quickly determining whether the computer currently has a resource bottleneck.

For example:

CPU utilization: 18%
Memory utilization: 92%
Disk active time: 100%
GPU utilization: 12%

In this case, the CPU and GPU are not noticeably maxed out, but memory and disk are close to or already at a high load state.

This may mean that the system is short on memory and is frequently using the page file, or that there is a disk I/O bottleneck. Further judgment requires looking at process usage and disk read/write activity.

3.3 Using the System Information tool to view the full configuration

Windows includes a very useful built-in tool: System Information.

Steps:

  1. Press Win + R.
  2. Type msinfo32.
  3. Press Enter.
msinfo32

The System Information window will open.

The main sections to look at are:

Section What you can view
System Summary Operating system, CPU, memory, BIOS
Hardware Resources IRQ, interrupts, I/O addresses, DMA
Components Display devices, network, storage, USB
Software Environment System drivers, services, startup programs

Among these, System Summary is especially important.

It lets us check:

  • The operating system name and version.
  • System manufacturer and model.
  • System type.
  • Processor name.
  • BIOS version and date.
  • Installed physical memory.
  • Available physical memory.
  • Total virtual memory.
  • Motherboard-related information.

If you need to troubleshoot driver conflicts or hardware resource allocation issues, you can also go to the "Hardware Resources" section.

3.4 Using the DirectX Diagnostic Tool to view graphics card information

If you want to learn about the computer's graphics devices, you can use the DirectX Diagnostic Tool.

Press Win + R and type:

dxdiag

Once it opens, there are two main tabs to look at.

System tab

You can see:

  • Operating system version.
  • Processor.
  • Memory.
  • DirectX version.

Display tab

You can see:

  • Graphics card name.
  • Graphics card manufacturer.
  • Display chip type.
  • Video memory information.
  • Driver version.
  • Direct3D feature status.

If the computer has both integrated graphics and a discrete graphics card, multiple display device tabs may appear.

Note: The video memory fields in the DirectX Diagnostic Tool may use different measurement definitions, so you cannot simply add the display memory, shared memory, and dedicated video memory together and treat the result as the GPU's actual VRAM capacity.

3.5 Using Device Manager to View Hardware Devices

Device Manager is mainly used to view hardware devices and their drivers.

How to open:

Win + X
Select "Device Manager"

Common categories include:

  • Processors
  • Display adapters
  • Disk drives
  • Network adapters
  • Storage controllers
  • Sound, video and game controllers
  • Universal Serial Bus controllers
  • System devices

For example, expand "Display adapters" to see the GPUs recognized by the current system.

Right-click a device and go to "Properties" to also view:

  • Device status.
  • Driver provider.
  • Driver date.
  • Driver version.
  • Hardware IDs.
  • Device instance path.

If a yellow exclamation mark appears next to a device, it usually means the device has a driver or startup problem and requires further investigation.

IV. Windows: Using the Command Line to View Hardware Configuration

Graphical interfaces are suitable for manual inspection, while the command line is better for quickly collecting information, automated checks, and writing system diagnostic scripts.

4.1 Using systeminfo to View System Information

Open CMD or PowerShell and run:

systeminfo

You can obtain:

  • Host name.
  • OS name.
  • OS version.
  • System manufacturer.
  • System model.
  • BIOS version.
  • Processor information.
  • Total physical memory.
  • Available physical memory.
  • System boot time.
  • Network configuration.

If you only want to view certain fields, you can use:

systeminfo | findstr /C:"OS Name" /C:"OS Version" /C:"System Type" /C:"Processor" /C:"Total Physical Memory"

Note: The fields matched by findstr are affected by the system language. If Windows uses a Chinese interface, you need to adjust the keywords according to the actual output.

4.2 Using PowerShell to View CPU Information

Run:

Get-CimInstance Win32_Processor |
Select-Object Name, NumberOfCores, NumberOfLogicalProcessors, MaxClockSpeed

Example output:

Name                          NumberOfCores NumberOfLogicalProcessors MaxClockSpeed
----                          ------------- ------------------------- -------------
Intel Core i7-13700H          14            20                        5000

Field meanings:

Field Meaning
Name CPU model
NumberOfCores Number of physical cores
NumberOfLogicalProcessors Number of logical processors
MaxClockSpeed Maximum clock frequency reported by the system, in MHz

Note that modern CPUs may use a hybrid architecture with performance and efficiency cores, and the maximum frequency does not mean all cores can run at that frequency over the long term.

4.3 Using PowerShell to View Memory Information

To view total physical memory:

Get-CimInstance Win32_ComputerSystem |
Select-Object TotalPhysicalMemory

To view memory module information:

Get-CimInstance Win32_PhysicalMemory |
Select-Object Manufacturer, PartNumber, Capacity, Speed, ConfiguredClockSpeed

Example:

Manufacturer PartNumber Capacity    Speed ConfiguredClockSpeed
------------ ---------- --------    ----- --------------------
Kingston     ABC123     17179869184 4800  4800

Where:

  • Capacity: Memory module capacity, in bytes.
  • Speed: The speed reported by the memory device.
  • ConfiguredClockSpeed: The currently configured memory speed.

To convert bytes to GB, you can use:

Get-CimInstance Win32_PhysicalMemory |
Select-Object Manufacturer, PartNumber,
@{Name="CapacityGB";Expression={[math]::Round($_.Capacity / 1GB, 2)}},
Speed,
ConfiguredClockSpeed

4.4 Viewing Disk Information with PowerShell

View physical disks:

Get-PhysicalDisk |
Select-Object FriendlyName, MediaType, BusType, Size, HealthStatus

You may see:

FriendlyName          MediaType BusType Size         HealthStatus
------------          --------- ------- ----         ------------
Samsung SSD 990 PRO   SSD       NVMe    1000204886016 Healthy

View logical disk partitions:

Get-Volume |
Select-Object DriveLetter, FileSystemLabel, FileSystem, Size, SizeRemaining

View the total and remaining capacity of each drive letter:

Get-CimInstance Win32_LogicalDisk -Filter "DriveType=3" |
Select-Object DeviceID,
@{Name="TotalGB";Expression={[math]::Round($_.Size / 1GB, 2)}},
@{Name="FreeGB";Expression={[math]::Round($_.FreeSpace / 1GB, 2)}}

Note:

  • Get-PhysicalDisk is mainly used to view physical storage devices.
  • Get-Volume is mainly used to view volumes and file systems.
  • A physical disk can contain multiple partitions or volumes.
  • Environments such as RAID, Storage Spaces, and virtual disks may change how the system presents device structure.

4.5 Viewing Graphics Card Information with PowerShell

Get-CimInstance Win32_VideoController |
Select-Object Name, DriverVersion, AdapterRAM, VideoProcessor

It is relatively convenient to view the graphics card model and driver version.

However, AdapterRAM has capacity representation limitations on some devices and drivers, and cannot be guaranteed to accurately reflect all VRAM information of modern discrete graphics cards.

For more detailed graphics card information, it is recommended to use Task Manager, Device Manager, or the graphics card vendor's tools.

4.6 Summarizing Hardware Information with PowerShell

Below is a simple hardware information collection script:

Write-Host "===== 系统信息 ====="

Get-CimInstance Win32_OperatingSystem |
Select-Object Caption, Version, OSArchitecture

Write-Host "`n===== CPU 信息 ====="

Get-CimInstance Win32_Processor |
Select-Object Name, NumberOfCores, NumberOfLogicalProcessors

Write-Host "`n===== 内存信息 ====="

Get-CimInstance Win32_PhysicalMemory |
Select-Object Manufacturer, PartNumber,
@{Name="CapacityGB";Expression={[math]::Round($_.Capacity / 1GB, 2)}},
Speed

Write-Host "`n===== 磁盘信息 ====="

Get-PhysicalDisk |
Select-Object FriendlyName, MediaType, BusType, HealthStatus

Write-Host "`n===== 显卡信息 ====="

Get-CimInstance Win32_VideoController |
Select-Object Name, DriverVersion

Save the code as:

hardware-info.ps1

Then execute it with PowerShell:

.\hardware-info.ps1

If the system prohibits script execution, you can first check the current execution policy:

Get-ExecutionPolicy

Do not permanently change the entire computer's execution policy to unrestricted just to run an ordinary information collection script.

V. Linux: Viewing CPU, Memory, and Disks

Linux provides a rich set of system commands, and much hardware information can be read directly from virtual file systems such as /proc and /sys.

5.1 Viewing the Linux System Version

Run:

cat /etc/os-release

Example:

NAME="Ubuntu"
VERSION="24.04 LTS"
ID=ubuntu
VERSION_ID="24.04"
PRETTY_NAME="Ubuntu 24.04 LTS"

Check the kernel version:

uname -r

View complete kernel and system architecture information:

uname -a

Common output fields:

Field Meaning
Linux Kernel name
hostname Host name
kernel release Kernel version
architecture System architecture

For example:

x86_64

This indicates that the current system is running on the x86-64 architecture.

5.2 View CPU information

Run:

lscpu

Common output:

Architecture:        x86_64
CPU(s):              16
Thread(s) per core:  2
Core(s) per socket:  8
Socket(s):           1
Model name:          Intel Core i7
CPU MHz:             3200.000

Key fields:

  • Architecture: CPU architecture.
  • CPU(s): Number of logical CPUs recognized by the system.
  • Thread(s) per core: Number of threads per core.
  • Core(s) per socket: Number of cores per processor socket.
  • Socket(s): Number of processor sockets.
  • Model name: CPU model.

You can also view raw processor information:

cat /proc/cpuinfo

If you only want to view the processor model:

grep "model name" /proc/cpuinfo | head -n 1

5.3 View memory information

Run:

free -h

Example:

               total        used        free      shared  buff/cache   available
Mem:            16Gi        6.2Gi       2.1Gi       500Mi       7.7Gi       9.0Gi
Swap:          2.0Gi        0.0Gi       2.0Gi

Field meanings:

Field Meaning
total Total memory visible to the system
used Used memory; the exact accounting method depends on the tool version
free Completely free memory
shared Shared memory
buff/cache Buffers and cache
available Memory estimated to be available for new programs without heavy use of Swap

Linux actively uses free memory as cache, so a low free value does not necessarily mean there is insufficient memory.

Usually, you should focus on available rather than only looking at free.

You can also view detailed memory information:

cat /proc/meminfo

To view physical memory module information, you can use:

sudo dmidecode -t memory

It can display:

  • Memory slots.
  • Memory module capacity.
  • Memory type.
  • Manufacturer.
  • Speed.
  • Slot usage.

Note: dmidecode reads SMBIOS information provided by the BIOS; whether the details are complete depends on the device firmware.

5.4 View disks and partitions

Run:

lsblk

Example:

```text NAME SIZE TYPE MOUNTPOINTS nvme0n1 1T disk ├─nvme0n1p1 512M part /boot/efi └─nvme0n1p2 999G part / ``` Field meanings: - `NAME`: device name. - `SIZE`: capacity of the device or partition. - `TYPE`: device type. - `MOUNTPOINTS`: mount point. View filesystem space: ```bash df -h ``` Example: ```text Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p2 999G 120G 829G 13% / ``` Notes: - `lsblk` shows block devices and their partition layout. - `df -h` shows the capacity usage of mounted filesystems. - `df` does not directly tell us all the hardware information about the physical SSD. View disk model and transfer information: ```bash sudo lshw -class disk -class storage ``` If `lshw` is not installed on the system, you can install it with the package manager for your distribution. View NVMe device information: ```bash sudo nvme list ``` This command requires `nvme-cli` to be installed. ### 5.5 Viewing Graphics Card Information First, look at the PCI devices: ```bash lspci | grep -Ei "VGA|3D|Display" ``` Example: ```text 00:02.0 VGA compatible controller: Intel Corporation Graphics 01:00.0 3D controller: NVIDIA Corporation GeForce RTX ``` If you are using an NVIDIA graphics card and the corresponding driver is already installed, you can run: ```bash nvidia-smi ``` Common information includes: - GPU model. - Total VRAM. - VRAM usage. - GPU utilization. - GPU temperature. - Driver version. - CUDA version information. - Processes currently using the GPU. For example: ```text GPU Name Memory-Usage GPU-Util NVIDIA RTX GPU 2048MiB / 8192MiB 35% ``` Note that the CUDA Version shown by `nvidia-smi` usually represents the maximum CUDA version supported by the current driver, and is not the same as the CUDA Toolkit version actually installed on the system. ### 5.6 Viewing Network Card Information Run: ```bash ip link ``` to view network interfaces. View IP addresses: ```bash ip addr ``` View the network card link speed: ```bash sudo ethtool eth0 ``` Here `eth0` needs to be replaced with the actual network card name. Common fields: ```text Speed: 1000Mb/s Duplex: Full Auto-negotiation: on ``` This means the network card has currently negotiated a link speed of 1Gb/s in full-duplex mode. If `ethtool` is not installed, you can install it through the system package manager. ## 6. macOS: Viewing a Mac's Hardware Configuration macOS also provides two ways to check: a graphical interface and the command line. ### 6.1 Viewing via System Settings Open: ```text Apple menu → System Settings → General → About This Mac ``` Menu names and layouts may differ slightly between macOS versions. You can usually view: - Mac model. - Chip model. - Memory capacity. - macOS version. - Serial number. For example: ```text Model: MacBook Pro Chip: Apple M series Memory: 16 GB macOS: currently installed version ``` For Apple Silicon Macs, the CPU, GPU, and other compute units are usually integrated into a single SoC, and memory uses a unified memory architecture. Therefore, the traditional way of counting VRAM for discrete graphics cards should not be applied wholesale. ### 6.2 Viewing the System Report Open "System Report" from "About This Mac". You can also search for it via Spotlight: ```text System Information ``` The system report lets you view:
Category Content
Hardware Chips, memory, serial number, hardware model
Graphics card/Display GPU, display, and resolution
Storage Disks and volumes
Memory Memory device information (depending on model)
Network Network interfaces and connection information
USB USB devices and controllers
Power Battery status, cycle count, and power information

This is the primary tool on macOS for viewing detailed device information.

6.3 Viewing Hardware Information Using Terminal

View the Mac model:

system_profiler SPHardwareDataType

View the graphics card and display:

system_profiler SPDisplaysDataType

View storage devices:

system_profiler SPStorageDataType

View memory:

system_profiler SPMemoryDataType

View the operating system version:

sw_vers

View the CPU architecture:

uname -m

Common result:

arm64

This indicates the ARM 64-bit architecture commonly used by Apple Silicon.

If the output is:

x86_64

it means the current terminal process is running under the x86-64 architecture. On Apple Silicon devices, you may also see this result if the terminal is running through Rosetta.

You can further run:

sysctl -n hw.optional.arm64

This helps determine whether the current system supports ARM64.

7. Understanding the Key Hardware Parameters You View

Viewing the configuration is only the first step; more important is understanding what each parameter represents.

7.1 CPU: Cores, Threads, and Clock Speed

Suppose you see:

CPU: Intel Core i7
Physical cores: 14
Logical processors: 20
Maximum frequency: 5.0 GHz

These parameters represent the following:

Physical core count

The actual number of computational cores inside the CPU.

Cores can execute instruction streams independently and are an important metric for parallel computing capability.

Logical processor count

The number of logical execution units that the operating system can schedule.

Through technologies such as SMT or Intel Hyper-Threading, one physical core can present multiple logical processors to the operating system.

However, the number of logical processors is not equal to the number of physical cores, nor does it mean performance will increase by the same proportion.

Clock speed

The CPU clock frequency, usually measured in GHz.

For example:

3.2 GHz

This means a clock frequency of about 3.2 billion cycles per second.

But CPU performance is not determined by clock speed alone; it is also affected by factors such as microarchitecture, IPC, cache, power consumption, and cooling.

7.2 Memory: Capacity, Frequency, and Channels

Suppose the configuration is:

Memory capacity: 32 GB
Memory type: DDR5
Nominal data rate: 5600 MT/s
Memory channels: Dual-channel

Three concepts need to be understood.

Capacity

Determines how many running programs and how much data the system can hold at the same time.

Data rate

The 5600 in DDR5-5600 usually means 5600 MT/s, i.e., about 5.6 billion transfers per second.

MT/s means million transfers per second and is not equal to MHz.

Memory channels

Memory channels affect the data transfer bandwidth between the CPU and memory.

When other conditions are similar, dual-channel usually has higher theoretical bandwidth than single-channel.

However, whether it actually runs in dual-channel mode also depends on the CPU, motherboard, and memory installation configuration.

7.3 Storage Drives: Capacity, Type, and Interface

Common storage devices include:

Type Characteristics
HDD Mechanical structure, larger capacity, higher random access latency
SATA SSD Uses SATA interface, performance significantly higher than traditional mechanical hard drives
NVMe SSD Based on PCIe lanes, suitable for high-performance storage
External SSD Connected via USB, Thunderbolt, and other interfaces

Three concepts need to be distinguished:

  • Storage medium: HDD or SSD.
  • Protocol: e.g., NVMe, AHCI.
  • Interface or transport bus: e.g., SATA, PCIe, USB.

For example:

Samsung SSD 990 PRO
Type: SSD
Protocol: NVMe
Bus: PCIe
Capacity: 1 TB

When looking up a drive's model and interface information, don't treat NVMe and PCIe as the same concept.

NVMe is a storage access protocol; PCIe is a high-speed interconnect bus.