add clock in sysmon_toggle
modified small bugs in sysmon_toggle.c