3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Linux PCスペック確認コマンド

Posted at

目的

  • Linuxのターミナル上だけでスペックを確認するコマンドをを最低限まとめたので投稿します。
  • ※本記事は自分のはてなブログにも記載した内容ですがより多くの方の目に触れるといいなと思いQiitaにも投稿します。

実施環境

  • 下記環境で実行確認済み。
項目 備考
Ubuntu20.04 LTS
CentOS7 こちらの方法で導入→Cent0S7をPCにインストールする

CPU情報の表示

$ cat /proc/cpuinfo

メモリ情報

$ cat /proc/meminfo

PCの機種名

$ sudo dmidecode --type system | grep -i product

PCの製造番号

$ sudo dmidecode --type system | grep -i serial
3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?