https://bugs.contribs.org/show_bug.cgi?id=10331

            Bug ID: 10331
           Summary: wrong psstatus configuration
    Classification: Contribs
           Product: SME Contribs
           Version: 9.2
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-phpsysinfo
          Assignee: contribteam@lists.contribs.org
          Reporter: te...@pialasse.com
        QA Contact: contribteam@lists.contribs.org
  Target Milestone: ---

default configuration for psstatus is 

[psstatus]

ACCESS="command"

USE_REGEX=false

PROCESSES="mysqld, sshd, httpd, qmail, qpsmtpd"



however, it returns qmail and qpsmtpd as non functionning
# pidof -s qmail
#
would be in fact qmail-send we need to search

also httpd could be for either httpd-admin or httpd-esmith


either regex should be used or a script to generate data
; - "data" a file must be available in the data directory of the phpsysinfo
installation 
;          with the filename "psstatus.txt"; content is the output from
;   <code>for ps in "apache2" "mysqld" "sshd"; do echo $ps "|" `pidof -s $ps`;
done</code>


also a lot a services are missing


the script could use hash 
"service"=> "command regex" using pgrep -n -x or pgrep -n then 

qmail => qmail-send
qpsmtpd => /usr/bin/perl -Tw /usr/bin/qpsmtpd-forkserver -u qpsmtpd -l 0.0.0.0
-p 25 .*
sqpsmtpd => /usr/bin/perl -Tw /usr/bin/qpsmtpd-forkserver -u qpsmtpd -l 0.0.0.0
-p 465 .*
....

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to