系統管理
1753767 會員
5445 線上
108799 解決方案
發表新文章

系統process的問題

 
watermelonyu
教授

系統process的問題



請問這四個process的功能是?

停止這四個process對系統有什麼影響?



root 1082 1:34 /usr/sbin/snmpdm

root 1097 0:29 /usr/sbin/hp_unixagt

root 1117 0:00 /usr/sbin/trapdestagt

root 1107 0:59 /usr/sbin/mib2agt





Thanks....
2則回覆 2
watermelonyu
教授

系統process的問題

這四個process對應snmp的幾個不同的daemon.

停止這四個process對應的會停止snmp的service.

相應停止和開啓的方法如下:

/sbin/init.d/SnmpMaster stop(或start)

/sbin/init.d/SnmpHpunix stop(或start)

/sbin/init.d/SnmpTrpDst stop(或start)

/sbin/init.d/SnmpMib2 stop(或start)
watermelonyu
教授

系統process的問題

Hi David,



snmpdm is Simple Network Management Protocol (SNMP) Daemon.

The Master SNMP Agent (/usr/sbin/snmpdm) and the collection of

subAgents (/usr/sbin/mib2agt, /usr/sbin/hp_unixagt, ...) that would

attach to the Master Agent collectively form a single SNMP Agent. The

SNMP Agent accepts SNMP Get, GetNext and Set requests from an SNMP

Manager which cause it to read or write the Management Information

Base (MIB).

This version of the SNMP Agent includes three subAgents,

/usr/sbin/mib2agt, and /usr/sbin/hp_unixagt which implement the MIB-2

and hp-unix MIBs respectively, and the third /usr/sbin/trapdestagt

which is used in configuring destinations for the agent's traps.

If there is no SNMP management required on your environment,

you can stop it on run time by

# /sbin/init.d/SnmpTrpDst stop

# /sbin/init.d/SnmpHpunix stop

# /sbin/init.d/SnmpMib2 stop

# /sbin/init.d/SnmpMaster stop



and then set the configuration parameters to 0 to prevent start up

on next boot time.



Configuration file location :

/etc/rc.config.d/SnmpMaster // Startup config for Master Agent

SNMP_MASTER_START=1



/etc/rc.config.d/SnmpMib2 // Startup config for MIB2 subAgent

SNMP_MIB2_START=1



/etc/rc.config.d/SnmpHpunix // Startup config for HpUnix subAgent

SNMP_HPUNIX_START=1



/etc/rc.config.d/SnmpTrapDst // Startup config for trapdestagt subAgent

SNMP_TRAPDEST_START=1



..

.