2. Yuta Kashino • BakFoo, Inc. CEO • Astro Physics /Observational Cosmology • Zope / Python • Realtime Data Platform for Enterprise
今回は、Linuxが搭載されているハードウェアのパーツごと、例えばサウンドボードやマザーボード、ハードディスク等のベンダーや型番といった詳細情報を取得出来るコマンド『Inxi』を紹介する。 1.インストール まずはインストールから。 以下のコマンドを実行しインストールを行う。 Debian/Ubuntu sudo apt-get install inxi RHEL系 sudo yum install inxi --enablerepo=epel 2.コマンドの実行 さて、それでは実際にコマンドを実行してみよう。まずはオプションを付けず、デフォルトの内容を表示してみる。 以下の内容は、実際に自宅で用いてるマシンのデータを表示している。 $ inxi CPU~Quad core Intel Core2 Quad Q9550 (-MCP-) clocked at 2833 Mhz Kernel~
以前にも、『Glances』『nmon』といったモニタリングコマンドを紹介していたが、今回も同じような複数要素をひと目で監視出来るコマンド『saidar』を紹介する。 このコマンドの特徴としては、上記2ツールに比べてI/Oの監視に力を入れている事だろう。どのディスクに対し、現在どの程度書き込みが行われているか等を、他の情報と併せてひと目で見ることが出来る。 1.インストール まずはインストールから行っていこう。 以下のコマンドを実行し、『saidar』をインストールする。 Debian/Ubuntu sudo apt-get install saidar RHEL sudo yum install statgrab-tools 2.『saidar』コマンドの実行 さて、それでは実際にコマンドを実行してみよう。 saidar ディスクI/OにネットワークI/Oもひと目で確認出来る。 うーむ…
■デーモン自動起動の設定 ○違いがあるもの ・自動起動の追加 /sbin/chkconfig --add (デーモン名); /sbin/chkconfig (デーモン名) on /usr/sbin/update-rc.d (デーモン名) defaults ・自動起動の解除 /sbin/chkconfig (デーモン名) off /usr/sbin/update-rc.d (デーモン名) remove ・自動起動設定の確認 /sbin/chkconfig --list Debianはない? ○共通 ・起動時に実行される デーモン名には、/etc/init.d内のシェルスクリプト名が入ります。 これは、CentOSの方が便利な気がします。 ■iptables ○ファイアウォール設定 /etc/sysconfig/iptables CentOSでは、ファイアウォール設定が上記ファイルに保存されま
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く