memo.xight.org

01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

2005-11-09 Wed

MRTGでハードディスクの温度変化をグラフ化するには

- mtrg.cfg

Target[hddtemp]: `/usr/sbin/hddtemp /dev/hda 2>/dev/null | awk '{print $3}'`  # 監視対象の設定
MaxBytes[hddtemp]: 100                                                        # 監視している値の最大値
Title[hddtemp]: ハードディスクの温度                                          # 生成するWebページ(HTMLファイル)のタイトル
PageTop[hddtemp]: <h1>ハードディスクの温度</h1>                               # Webページの冒頭に表示する文字列
Options[hddtemp]: growright,absolute,gauge,nopercent,noinfo                   # 下記の表を参照
WithPeak[hddtemp]: ymw                                                        # 年(y)月(m)週(w)の各最大値を表示
YLegend[hddtemp]: Temperature                                                 # グラフのY軸のラベル
ShortLegend[hddtemp]: C                                                       # 最大(Max)平均(Average)現在(Current)の単位を表す文字列
LegendI[hddtemp]: Temp:                                                       # 凡例に表示する文字列
LegendO[hddtemp]:
Legend1[hddtemp]: HDD Temperature in Degrees Celcius                          # 凡例に表示する文字列
Legend2[hddtemp]:


- Reference
@IT - MRTGでハードディスクの温度変化をグラフ化するには
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/782hddtmpmrtg.html

カテゴリ: [MRTG]

実践JavaScriptリファクタリング

- Summary
とても連載希望.
- Reference
最速インターフェース研究会 :: 実践JavaScriptリファクタリング
http://la.ma.la/blog/diary_200510060733.htm
最速インターフェース研究会 :: 実践JavaScriptリファクタリング、その2
http://la.ma.la/blog/diary_200510062243.htm
Ruby.js
http://www.advogato.org/proj/Ruby.js/

カテゴリ: [JavaScript]

ページ内リンクでスムーススクロール

- Reference
[ajax] ページ内リンクでスムーススクロール @ ZEROBASE CAST
http://zerobase.jp/blog/entry-268.html

カテゴリ: [JavaScript][Stub]

CD-ROMの自動再生を無効に

- 方法1 : グループポリシーエディタを利用する
gpedit.mscを起動
1. [コンピュータの構成]-[管理用テンプレート]-[システム]を選択.
2. [自動再生機能をオフにする]をダブルクリック.
3. [設定]タブの[有効]ラジオボタンを選択.
4. [自動再生機能をオフにする]プルダウンメニューから「すべてのドライブ」を選択.
5. [OK]ボタンをクリック.

- 方法2 : レジストリを操作する
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

Data type Range Default value
REG_DWORD 0x0-0x3FFFFFF (bitmapped value) 0x0

- 補足
止めたいドライブのビットを立てる.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveAutoRun"=dword:ffffffff
; bit0    DRIVE_A
; bit1    DRIVE_B
;  :      :
; bit25   DRIVE_Z



- Reference
@IT - Windows TIPS - リムーバブル・ストレージの自動再生機能を制御する方法 (Windows XPの場合) (1)
http://www.atmarkit.co.jp/fwin2k/win2ktips/183autoruncd_xp/autoruncd_xp.html
@IT - Windows TIPS - CD-ROMドライブの自動実行機能を有効/無効にする方法 (Windows 2000の場合)
http://www.atmarkit.co.jp/fwin2k/win2ktips/045autoruncd/autoruncd.html
Microsoft - NoDriveAutoRun
http://www.microsoft.com/resources/documentation/Windows/2000/server/reskit/en-us/regentry/93506.asp?frame=true
MSDN - Enabling and Disabling AutoRun (Windows Explorer and Controls)
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_reg.asp?frame=true
- via
スラッシュドット ジャパン | SONY BMGのrootkit問題対策パッチに新たな問題
http://slashdot.jp/security/article.pl?sid=05/11/07/2148244

カテゴリ: [Windows]
2005-11 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-09-05 14:14
Copyright © 2005 xight.org All Rights Reserved.