in reply to Re^10: show a message only during the sleep time
in thread show a message only during the sleep time
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: show a message only during the sleep time
by cc (Beadle) on Jul 25, 2005 at 19:51 UTC | |
|
Re^12: show a message only during the sleep time
by cc (Beadle) on Jul 25, 2005 at 21:10 UTC | |
by merlyn (Sage) on Jul 25, 2005 at 21:30 UTC | |
by cc (Beadle) on Jul 25, 2005 at 22:09 UTC | |
by merlyn (Sage) on Jul 25, 2005 at 22:13 UTC | |
by cc (Beadle) on Jul 25, 2005 at 22:51 UTC | |
by cc (Beadle) on Jul 25, 2005 at 23:41 UTC | |
|