mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-09 05:26:50 +09:00
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@2 860744bd-22fc-0310-8c96-e9fe5004b5ca
14 lines
338 B
PHP
14 lines
338 B
PHP
<?
|
|
|
|
$do_not_read_config = true;
|
|
include ("../include/config.php");
|
|
|
|
if ($database_password == "") {
|
|
$sql = `mysqladmin -h $database_hostname -u $database_username status | awk '{print $6 }'`;
|
|
}else{
|
|
$sql = `mysqladmin -h $database_hostname -u $database_username -p$database_password status | awk '{print $6 }'`;
|
|
}
|
|
|
|
print trim($sql);
|
|
|
|
?>
|