start()
{
- running=`ssh -q $HOSTNAME "cat /home/bdsm/.df.pid | \
+ running=`ssh -q $HOSTNAME "cat /home/bdsm/.df.pid 2>/dev/null | \
xargs ps -T | \
grep -v PID | \
wc -l"` 2>/dev/null
status()
{
- running=`ssh $HOSTNAME "cat /home/bdsm/.df.pid | \
+ running=`ssh $HOSTNAME "cat /home/bdsm/.df.pid 2>/dev/null | \
xargs ps -T | \
grep -v PID | \
wc -l"`
start()
{
- running=`ssh -q $HOSTNAME "cat /home/bdsm/.sensors.pid | \
+ running=`ssh -q $HOSTNAME "cat /home/bdsm/.sensors.pid 2>/dev/null | \
xargs ps -T | \
grep -v PID | \
wc -l"` 2>/dev/null
status()
{
- running=`ssh $HOSTNAME "cat /home/bdsm/.sensors.pid | \
+ running=`ssh $HOSTNAME "cat /home/bdsm/.sensors.pid 2>/dev/null | \
xargs ps -T | \
grep -v PID | \
wc -l"`
start()
{
- running=`ssh $HOSTNAME "cat /home/bdsm/.vmstat.pid | \
+ running=`ssh $HOSTNAME "cat /home/bdsm/.vmstat.pid 2>/dev/null | \
xargs ps -T | \
grep -v PID | \
wc -l"` 2>/dev/null
status()
{
- running=`ssh $HOSTNAME "cat /home/bdsm/.vmstat.pid | \
+ running=`ssh $HOSTNAME "cat /home/bdsm/.vmstat.pid 2>/dev/null | \
xargs ps -T | \
grep -v PID | \
wc -l"`