Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Linux 系統教學 >> Linux 教學

Linux 核心信息一鍵查看命令速查表:內核、版本、CPU、內存、磁盤、進程

編輯:Linux 教學
查詢目標命令說明
內核版本/架構uname -a完整內核信息
發行版版本cat /etc/redhat-releaseRHEL/CentOS 專用
內核+GCC版本cat /proc/version通用
CPU型號/核心/特性grep "model name" /proc/cpuinfo核心數 = processor 條目數
CPU位數(32/64)getconf LONG_BIT返回 32 或 64
內存詳情cat /proc/meminfo含緩存/可用/交換區
系統資源動態vmstat 5每 5 秒刷新 CPU/內存/IO/上下文切換
進程實時佔用top / htop交互式排序/篩選
內存佔用摘要free -h人類可讀單位
磁盤IO統計iostat -d -x /dev/sdc3 2每 2 秒設備級吞吐/等待/利用率
用戶磁盤配額quota -u <user>需啟用 quota 掛載選項
硬件詳細信息dmidecode | lessBIOS/主板/內存條/機箱等 SMBIOS 數據

組合招範例

# 一次性輸出核心硬件基線
uname -a && cat /etc/redhat-release && getconf LONG_BIT && grep -c ^processor /proc/cpuinfo && free -h && lsblk

收藏備用,排查性能瓶頸、驗證環境一致性時極大提效。

Copyright © Windows教程網 All Rights Reserved