diff options
author | Urban Müller | 2017-08-03 16:40:44 +0200 |
---|---|---|
committer | Urban Müller | 2017-08-03 16:40:44 +0200 |
commit | 829e7cafd19646b15e99f964756e6d78015f714b (patch) | |
tree | 3d02bd49dd14cc14a794e52c7b54805e84ab0c62 /it.class | |
parent | 1a0b3ddec083d4fc39137dae813e2a42d757b335 (diff) | |
download | itools-829e7cafd19646b15e99f964756e6d78015f714b.tar.gz itools-829e7cafd19646b15e99f964756e6d78015f714b.tar.bz2 itools-829e7cafd19646b15e99f964756e6d78015f714b.zip |
move processes down
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -247,9 +247,9 @@ static function error($p = array()) $body .= $_POST ? "\$_POST: " . var_export($_POST, true) . "\n\n" : ""; $body .= $_COOKIE ? "\$_COOKIE: " . var_export($_COOKIE, true) . "\n\n" : ""; $body .= $_SERVER['REMOTE_ADDR'] ? "" : "Pstree:\n" . it::exec("pstree -als " . getmypid() . " | head -n -3") . "\n"; - $body .= "Processes:\n" . it::exec('ps auxf | egrep -v "rotatelogs|getbanner|logaction|httpd|systemd|sd-pam"|egrep "^www|^cron"') . "\n"; $body .= $_SERVER ? "\$_SERVER: " . var_export($_SERVER, true) . "\n\n" : ""; $body .= $_FILES ? "\$_FILES: " . var_export($_FILES, true) . "\n\n" : ""; + $body .= "Processes:\n" . it::exec('ps auxf | egrep -v "rotatelogs|getbanner|logaction|httpd|systemd|sd-pam"|egrep "^www|^cron"') . "\n"; $body .= $stackframes ? "Stack: " . print_r($stackframes, true) . "\n\n" : ""; $body = it::replace(array('(pw|passw|password|secret)\] => .*' => '$1] => ********'), $body, array('utf8' => false)); } |