Changeset 141 for system/traffic-flow.php
- Timestamp:
- Jan 21, 2009, 10:16:47 AM (16 years ago)
- Location:
- system
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
system
- Property svn:ignore
-
old new 1 1 nohup.out 2 statistic
-
- Property svn:ignore
-
system/traffic-flow.php
r111 r141 7 7 $Commands[] = '/ip firewall filter {:foreach i in=[find] do={:put (\"src-address=\".[get \$i src-address].\" dst-address=\".[get \$i dst-address].\" bytes=\".[get \$i bytes])}}'; 8 8 $Commands = implode(';', $Commands); 9 $Command = '/usr/bin/ssh -l admin-ssh -i /root/.ssh/id_dsa rt-hajda- 5"'.$Commands.'"';9 $Command = '/usr/bin/ssh -l admin-ssh -i /root/.ssh/id_dsa rt-hajda-0 "'.$Commands.'"'; 10 10 echo($Command."\n"); 11 11 //echo('Output: '.shell_exec($Command));
Note:
See TracChangeset
for help on using the changeset viewer.