diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-12 18:47:32 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-12 18:47:32 +0000 |
commit | 73d0459fbbd42b78c343b2ddeba66b5abbfd6318 (patch) | |
tree | f46724d1d3c80294822d7a105624202ef37bfceb /packages | |
parent | e0311d68d893c7fea08877fbe5a0690e65cb7dd0 (diff) | |
download | pfsense-packages-73d0459fbbd42b78c343b2ddeba66b5abbfd6318.tar.gz pfsense-packages-73d0459fbbd42b78c343b2ddeba66b5abbfd6318.tar.bz2 pfsense-packages-73d0459fbbd42b78c343b2ddeba66b5abbfd6318.zip |
Show nodes syncing on carp status page.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/carp_status.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/carp_status.php b/packages/carp_status.php index 1bdf0b29..09d09b9d 100644 --- a/packages/carp_status.php +++ b/packages/carp_status.php @@ -95,7 +95,14 @@ if($config['installedpackages']['carp']['config'] <> "") ?> <tr><td> -<center>Nodes syncing: <?php `/sbin/pfctl -vvss |/usr/bin/grep creator |/usr/bin/nawk '{print $4;}' |/usr/bin/sort -u`; ?></center> +<center> +<?php + echo "<br>Nodes syncing:<br>"; + echo "<pre>"; + system("/sbin/pfctl -vvss | /usr/bin/grep creator | /usr/bin/cut -d\" \" -f7 | /usr/bin/sort -u"); + echo "</pre>"; +?> +</center> </td></tr> </table> </td></tr> |