summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-27 20:34:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-27 20:34:35 +0000
commit9cd0b618aeab773d80f6ed1756ffefd28dd189b1 (patch)
treec55a6d1e2b679b1bbc742d676ac4db901385edf3 /usr/local/www/status.php
parent7568638bdfdc2a23e805cf91d006cda16f867229 (diff)
downloadpfsense-9cd0b618aeab773d80f6ed1756ffefd28dd189b1.zip
pfsense-9cd0b618aeab773d80f6ed1756ffefd28dd189b1.tar.gz
Add useful commands for checking system status
Diffstat (limited to 'usr/local/www/status.php')
-rwxr-xr-xusr/local/www/status.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/status.php b/usr/local/www/status.php
index a994b1c..43e2613 100755
--- a/usr/local/www/status.php
+++ b/usr/local/www/status.php
@@ -152,6 +152,9 @@ defCmdT("config.xml","dumpconfigxml");
defCmdT("DMESG","/sbin/dmesg -a");
+defCmdT("netstat -mb","netstat -mb");
+defCmdT("vmstat -z","vmstat -z");
+
exec("/bin/date", $dateOutput, $dateStatus);
$currentDate = $dateOutput[0];
OpenPOWER on IntegriCloud