Hey, I am also having a problem getting this to work properly.
When I try to launch cgmon.tcl it gives me this error:
miner@miner:~$ sudo sh cgmon.tcl
cgmon.tcl: 27: cgmon.tcl: Syntax error: "(" unexpected
This is currently how my crontab file looks:
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
*/2 * * * * root /home/miner/cgmon.tcl >/dev/null 2>&1
And here is a link to my edited version of the cgmon.tcl
http://pastebin.com/xLzhYvpCI'd apprecciate all and any help. Thank you.