Revision e05458b0
Added by Scott Ullrich over 14 years ago
usr/local/www/diag_packet_capture.php | ||
---|---|---|
196 | 196 |
/* check to see if packet capture tcpdump is already running */ |
197 | 197 |
$processcheck = (trim(shell_exec("/bin/ps axw -O pid= | /usr/bin/grep tcpdump | /usr/bin/grep {$fn} | /usr/bin/grep -v pflog"))); |
198 | 198 |
|
199 |
$processisrunning = false; |
|
200 |
|
|
201 | 199 |
if ($processcheck != "") |
202 | 200 |
$processisrunning = true; |
203 | 201 |
else |
Also available in: Unified diff
Remove extra variable set