帝國反抗君 - PowerOp

關於部落格
2006/11/29 網誌再次搬家,我在樂多網誌 http://blog.roodo.com/ystuan/ 候教
  • 17340

    累積人氣

  • 0

    今日人氣

    0

    訂閱人氣

在Cygwin裡面使用RRDtool

./rrdtool create /tmp/ipmhq.rrd -s 30 DS:ideasdeltaT:GAUGE:60:0:U DS:ideasBlkCnt:GAUGE:60:0:U DS:ideasMsgCnt:GAUGE:60:0:U DS:ideasMsgExp:GAUGE:60:0:U DS:ideasLogdeltaT:GAUGE:60:0:U DS:ideasLogBlkCnt:GAUGE:60:0:U DS:ideasLogMsgCnt:GAUGE:60:0:U DS:ideasLogMsgExp:GAUGE:60:0:U RRA:AVERAGE:0.5:10:603 RRA:AVERAGE:0.5:60:603 RRA:AVERAGE:0.5:240:603 RRA:AVERAGE:0.5:2880:800 RRA:MAX:0.5:10:603 RRA:MAX:0.5:60:603 RRA:MAX:0.5:240:603 RRA:MAX:0.5:2880:800 ./rrdtool update $RRD_FILE $RRD_STRING ./rrdtool graph /tmp/deltaT.png -t "INMS Delivery Time Delay" -w 800 -h 600 -a PNG DEF:ideasdeltaT=/tmp/ipmhq.rrd:ideasdeltaT:MAX DEF:ideasLogdeltaT=/tmp/ipmhq.rrd:ideasLogdeltaT:MAX LINE1:ideasdeltaT#0000ff:"ideas processing delay" LINE1:ideasLogdeltaT#00ff00:"ideasLog processing delay" ./rrdtool graph /tmp/MsgCnt.png -t "INMS Message Count" -w 800 -h 600 -a PNG DEF:ideasMsgCnt=/tmp/ipmhq.rrd:ideasMsgCnt:MAX DEF:ideasLogMsgCnt=/tmp/ipmhq.rrd:ideasLogMsgCnt:MAX LINE1:ideasMsgCnt#0000ff:"ideas message count" LINE1:ideasLogMsgCnt#00ff00:"ideasLog message count" 481x179 -> 881x179 austitua@tpn5755 ~ $ mount C:Program FilesNX Client for WindowsX11R6libX11fonts on /mnt/NX/fonts type user (textmode) C:Documents and Settingsaustitua.nxtemp on /tmp type user (textmode) D:cygwinbin on /usr/bin type system (binmode) D:cygwinlib on /usr/lib type system (binmode) D:cygwin on / type system (binmode) c: on /cygdrive/c type system (binmode,noumount) d: on /cygdrive/d type system (binmode,noumount) austitua@tpn5755 ~ $ ./rrdtool update /tmp/ipmhq.rrd 1141757992:7:0:0:0:7:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758002:2:0:0:0:5:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758012:7:1:6:0:6:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758023:18:1:17:0:7:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758033:28:1:22:0:7:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758043:38:1:28:0:7:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758053:48:1:32:0:6:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758063:58:1:38:0:6:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758074:69:1:43:0:7:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758084:79:1:55:0:7:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758094:89:1:63:0:7:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758104:99:1:69:0:7:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758114:109:1:71:0:6:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758125:120:1:80:0:7:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758135:130:1:87:0:7:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758145:140:1:98:0:7:0:0:0 ./rrdtool update /tmp/ipmhq.rrd 1141758155:150:1:104:0:7:0:0:
相簿設定
標籤設定
相簿狀態