# 查詢 Linux 設備 ## 作業系統 ```=shell $ cat /etc/os-release ``` ## 主機板 ```=shell $ sudo dmidecode -t 2 ``` ## CPU ```=shell $ cat /proc/cpuinfo ``` ## 顯示卡 ```=shell $ nvidia-smi -L ``` ## 記憶體 ```=shell $ sudo dmidecode -t 17 ``` ## 硬碟 ```=shell sudo apt-get install smartmontools -y ``` #### SATA ```=shell sudo smartctl -i /dev/sda ``` #### M.2 ```=shell sudo smartctl -i /dev/nvme0 ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up