reset functionality on cdp
- This topic has 2 replies, 2 voices, and was last updated 14 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › MultiConnect OCG › reset functionality on cdp
Hi,
I am trying to get a notification when user presses reset button on the CDP. I have a script that traps SIGHUP and SIGINT signals.
I am using mts-io-sysfs command to setup the trigger, but it gives error. Here is the log ( where 1948 is the pid of my script ) :
# mts-io-sysfs store reset-monitor 1948 1 2
error: store name value
error: exiting with 99
Any help or pointer is appreciated.
Thanks,
Hitesh
The usage for mts-io-sysfs doesn’t make it very clear, but you have to quote the arguments to reset-monitor (it only takes one string as an argument).
So try this:
mts-io-sysfs store reset-monitor '1948 1 2'
Jesse
Thanks Jesse !!
Putting the arguments in quotes did the trick.
-Hitesh