Either pick backquotes (because you want to capture the output) or system (because you want to run the child process), but not both. You're taking the output of ntop, and running it as yet another command, ignoring the results.system `/usr/local/www/cgi-bin/ntop/ntop.sh stop`
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re^11: show a message only during the sleep time
by merlyn
in thread show a message only during the sleep time
by cc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |