I used SSH in a Terminal on my Mac to log into the QNAP, then ran that command.
Some good info in Q13, Qnap faq.....read me first!
My session was basically:
$> ssh admin@192.168.1.42
<password entered>
$ sysctl -a
$ sysctl -a | grep inotify
$ exit
$>
plus / minus a typo