# id apache
uid=48(apache) gid=48(apache) groups=48(apache)
# id n-lex
uid=503(n-lex) gid=100(users) groups=100(users)
The system's apache server is run at boot time, my PC is always turned on 24/7 and only restarts may occur. As I can see from my MRTG graphs for httpd processes run every 5 minutes, it was unable to count ever the system's httpd processes, but only that development httpd.
Hello Jan,
Something very weird is happening. It now works:
# snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.2 MIB::prIndex. 1 = INTEGER: 1 MIB::prIndex. 2 = INTEGER: 2 MIB::prIndex. 3 = INTEGER: 3 MIB::prNames. 1 = STRING: httpd MIB::prNames. 2 = STRING: smbd MIB::prNames. 3 = STRING: sshd MIB::prMin. 1 = INTEGER: 1 MIB::prMin. 2 = INTEGER: 1 MIB::prMin. 3 = INTEGER: 1 MIB::prMax. 1 = INTEGER: 30 MIB::prMax. 2 = INTEGER: 25 MIB::prMax. 3 = INTEGER: 20 MIB::prCount. 1 = INTEGER: 4 MIB::prCount. 2 = INTEGER: 2 MIB::prCount. 3 = INTEGER: 7 MIB::prErrorFla g.1 = INTEGER: noError(0) MIB::prErrorFla g.2 = INTEGER: noError(0) MIB::prErrorFla g.3 = INTEGER: noError(0) MIB::prErrMessa ge.1 = STRING: MIB::prErrMessa ge.2 = STRING: MIB::prErrMessa ge.3 = STRING: MIB::prErrFix. 1 = INTEGER: noError(0) MIB::prErrFix. 2 = INTEGER: noError(0) MIB::prErrFix. 3 = INTEGER: noError(0) MIB::prErrFixCm d.1 = STRING: MIB::prErrFixCm d.2 = STRING: MIB::prErrFixCm d.3 = STRING:
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
UCD-SNMP-
but only for an Apache started as normal user having 4 processes. The system processes are not calculated:
# ps -ef | grep -i httpd lex/tools/ bin/httpd -f /home/n- lex/natlex_ utils/Nat- Lex_perlsoap/ conf/soap_ httpd.conf lex/tools/ bin/httpd -f /home/n- lex/natlex_ utils/Nat- Lex_perlsoap/ conf/soap_ httpd.conf lex/tools/ bin/httpd -f /home/n- lex/natlex_ utils/Nat- Lex_perlsoap/ conf/soap_ httpd.conf lex/tools/ bin/httpd -f /home/n- lex/natlex_ utils/Nat- Lex_perlsoap/ conf/soap_ httpd.conf
root 1044 1 0 10:39 ? 00:00:00 /usr/sbin/httpd -k start
apache 1047 1044 0 10:39 ? 00:00:00 /usr/sbin/httpd -k start
apache 1048 1044 0 10:39 ? 00:00:00 /usr/sbin/httpd -k start
apache 1049 1044 0 10:39 ? 00:00:00 /usr/sbin/httpd -k start
apache 1050 1044 0 10:39 ? 00:00:00 /usr/sbin/httpd -k start
apache 1051 1044 0 10:39 ? 00:00:00 /usr/sbin/httpd -k start
apache 1052 1044 0 10:39 ? 00:00:00 /usr/sbin/httpd -k start
apache 1053 1044 0 10:39 ? 00:00:00 /usr/sbin/httpd -k start
apache 1054 1044 0 10:39 ? 00:00:00 /usr/sbin/httpd -k start
n-lex 6274 1 0 12:24 ? 00:00:00 /home/n-
n-lex 6275 6274 0 12:24 ? 00:00:00 /home/n-
n-lex 6276 6274 0 12:24 ? 00:00:00 /home/n-
n-lex 6277 6274 0 12:24 ? 00:00:00 /home/n-
# id apache
uid=48(apache) gid=48(apache) groups=48(apache)
# id n-lex
uid=503(n-lex) gid=100(users) groups=100(users)
The system's apache server is run at boot time, my PC is always turned on 24/7 and only restarts may occur. As I can see from my MRTG graphs for httpd processes run every 5 minutes, it was unable to count ever the system's httpd processes, but only that development httpd.