| Line 129... |
Line 129... |
| 129 |
if (PSI_SHOW_MOUNT_OPTION) $parm['options'] = $mount_buf[4];
|
129 |
if (PSI_SHOW_MOUNT_OPTION) $parm['options'] = $mount_buf[4];
|
| 130 |
$mount_parm[] = $parm;
|
130 |
$mount_parm[] = $parm;
|
| 131 |
}
|
131 |
}
|
| 132 |
}
|
132 |
}
|
| 133 |
}
|
133 |
}
|
| - |
|
134 |
$df = "";
|
| 134 |
if (CommonFunctions::executeProgram('df', '-k '.$df_param, $df, PSI_DEBUG) && ($df!=="")) {
|
135 |
CommonFunctions::executeProgram('df', '-k '.$df_param, $df, PSI_DEBUG);
|
| - |
|
136 |
if ($df!=="") {
|
| 135 |
$df = preg_split("/\n/", $df, -1, PREG_SPLIT_NO_EMPTY);
|
137 |
$df = preg_split("/\n/", $df, -1, PREG_SPLIT_NO_EMPTY);
|
| 136 |
if ($get_inodes && PSI_SHOW_INODES) {
|
138 |
if ($get_inodes && PSI_SHOW_INODES) {
|
| 137 |
if (CommonFunctions::executeProgram('df', '-i '.$df_param, $df2, PSI_DEBUG)) {
|
139 |
if (CommonFunctions::executeProgram('df', '-i '.$df_param, $df2, PSI_DEBUG)) {
|
| 138 |
$df2 = preg_split("/\n/", $df2, -1, PREG_SPLIT_NO_EMPTY);
|
140 |
$df2 = preg_split("/\n/", $df2, -1, PREG_SPLIT_NO_EMPTY);
|
| 139 |
// Store inode use% in an associative array (df_inodes) for later use
|
141 |
// Store inode use% in an associative array (df_inodes) for later use
|