diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-08-28 16:25:28 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-08-28 16:25:28 +0000 |
commit | ee6214ac3df856c0b451021a64147700d460c5b0 (patch) | |
tree | 1385d5e9d2377a23f8aff759b1c8259967a00a5a /frontends/php/report1.php | |
parent | 8a20abcfa460b4bacbe2bbc2e519ee9a0b5c3846 (diff) | |
download | zabbix-ee6214ac3df856c0b451021a64147700d460c5b0.tar.gz zabbix-ee6214ac3df856c0b451021a64147700d460c5b0.tar.xz zabbix-ee6214ac3df856c0b451021a64147700d460c5b0.zip |
- report1.php to use 'ps -ef' (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@954 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/report1.php')
-rw-r--r-- | frontends/php/report1.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/report1.php b/frontends/php/report1.php index 8a55ade2..f324126c 100644 --- a/frontends/php/report1.php +++ b/frontends/php/report1.php @@ -40,7 +40,7 @@ <td>Is zabbix_suckerd running ?</td> <?php $str="<font color=\"AA0000\">No</font>"; - if(exec("ps axw|grep zabbix_suckerd|grep -v grep|wc -l")>0) + if(exec("ps -ef|grep zabbix_suckerd|grep -v grep|wc -l")>0) { $str="<font color=\"00AA00\">Yes</font>"; } @@ -52,7 +52,7 @@ <td>Is zabbix_trapperd running ?</td> <?php $str="<font color=\"AA0000\">No</font>"; - if(exec("ps axw|grep zabbix_trapperd|grep -v grep|wc -l")>0) + if(exec("ps -ef|grep zabbix_trapperd|grep -v grep|wc -l")>0) { $str="<font color=\"00AA00\">Yes</font>"; } |