LoginSignup
2
2

More than 5 years have passed since last update.

nginx設定時に確認したくなるcentos6 コマンド コアの確認等々

Last updated at Posted at 2015-10-22

コア数だけ調べる場合
# nproc

3

詳しくCPU情報を確認する
# lscpu

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 3
On-line CPU(s) list: 0-2
コアあたりのスレッド数:1
ソケットあたりのコア数:1
Socket(s): 3
NUMAノード: 1
ベンダーID: GenuineIntel
CPUファミリー: 6
モデル: 45
ステッピング: 7
CPU MHz: 2499.998
BogoMIPS: 4999.99
ハイパーバイザーベンダー:KVM
仮想化タイプ: 完全仮想化
L1d キャッシュ: 32K
L1i キャッシュ: 32K
L2 キャッシュ: 4096K
NUMA node0 CPU(s): 0-2

サーバー起動時に自動起動設定されているか確認

nginxが自動起動設定になっているか確認
chkconfig --list nginx

nginx 0:off 1:off 2:on 3:on 4:on 5:on 6:off

mysqlの自動起動設定がされているか確認
chkconfig --list mysqld

mysqld 0:off 1:off 2:on 3:on 4:on 5:on 6:off

上記の様にリスト表示されていれば自動起動設定されている。

2
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
2
2