#!/bin/bash # chkconfig: 12345 55 45 # description: System statistics cd "/opt/HotSaNIC" . ./settings case $1 in start) echo "Starting rrdtimer..." ./rrdtimer.pl Dp ;; stop) echo "Stopping rrdtimer..." if [ -e "$PIDFILE" ]; then PID=`cat "$PIDFILE"` for nn in $PID ; do kill $nn; done else echo "pid-file not found, rrdtimer not running?!" fi ./clearall CLEAR_COUNTERS ;; status) if [ -e $PIDFILE ]; then echo "main process on PID `cat $PIDFILE` (according to PID-file)" else echo "pid-file not found, rrdtimer not running?!" fi ;; restart) ./rrdgraph stop ./rrdgraph start ;; *) echo "usage: rrdgraph [start|stop|status|restart]" ;; esac WebSVN - hotsanic - Blame - Rev 9 - /branches/HotSaNIC-0.5.0-jablonecka/rrdgraph
  jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [branches/] [HotSaNIC-0.5.0-jablonecka/] [rrdgraph] - Blame information for rev 9

 

Line No. Rev Author Line

Powered by WebSVN 2.2.1