2009-08-01から1ヶ月間の記事一覧

コマンド学習「sar」(Vol.2)

「sar -b」って何だろう? option desctiption -b Report I/O and transfer rate statistics. This option works only with kernels older than 2.5. # sar -b 1 2 Linux 2.6.9-78.0.22.EL (localhost.localdomain) 2009年08月24日16時55分22秒 tps rtps wtp…

ログローテート設定

デフォルトだとなんだか嫌なのでちょっとだけ変更。 # cp -p /etc/logrotate.conf /etc/logrotate.conf.`date +%Y%m%d` # diff /etc/logrotate.conf /etc/logrotate.conf.`date +%Y%m%d` # vi /etc/logrotate.conf 変更点は以下のとおり。 # diff /etc/logro…

コマンド学習「sar」(Vol.1)

インストールの有無を確認 # cat /var/log/rpmpkgs| grep sysstat sysstat-5.0.5-25.el4.i386.rpm

man コマンド出力結果のテキスト化

manコマンドの出力結果をテキスト保存するとちょっと変になる。

管理者の必須の10の秘訣

ブックマークの整理をしていたら見つけた。怠惰な Linux: 管理者に必須の 10 の秘訣

mtime,ctime,atime

なんだかよくわからなくなったので、言葉の整理。。。 名称 説明 詳細 mtime 修正時間(iノード管理) 指定日数内に修正、更新されたファイル ctime 作成時間 指定日数内に属性変更されたファイル atime アクセス時間 指定日数内にアクセスされたファイル 確…

windowsでコマンドライン

linuxとかでやっている事務作業補助。 ( 具体的には大量のデータをコマンドでゴリゴリゴリゴリ加工する )windowsを使いこなせていないのかこんな作業をlinuxのない環境でやるのか苦痛だと思っていたので、windowsにコマンドライン環境をそろえてみた。gnuwin…