Hello!

Thank you for this great plugin!

i would add a custom idle check command. If i logged in via ssh the
server should not go down.
If i execute 
who | sudo wc -l 
at the shell, the command returns how many users are logged in.

But if i use that as custom idle check command, it returns:
Plugins::SrvrPowerCtrl::Util::SystemExecCmd (862) Command: "sudo who |
wc -l" returned 256

I have also tried to write a script:
if who | wc -l > 0
then
echo 1
else
echo 0
fi

but that will also not working.

What should i enter or do here?

regards
Blondie


------------------------------------------------------------------------
Blondie's Profile: http://forums.slimdevices.com/member.php?userid=50288
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to