The invention discloses a process monitoring method and a process
monitoring system. The method comprises the following steps of: receiving a request for querying the
list of monitored hosts from a
client, acquiring the
list of managed Windows and Linux hosts, and returning the
list of the monitored hosts to the
client; receiving information for
polling a monitored host and the concerned process list of the host from the
client, setting login information for
logging in the host, and returning the concerned process list of the host to the client; and receiving information for querying the currently-running real-time process of the monitored host from the client, securely
logging in the host based on SSH (
Secure Shell) service, acquiring the list of all currently-running real-time processes of the host based on SNMP (
Simple Network Management Protocol) service, filtering invalid
process information according to the concerned process list of the host and a preset strategy, and outputting the acquired real-time process parameters to the client for exhibition. With the adoption of the process monitoring method and the process
monitoring system, the cross-platform process monitoring can be achieved, and the cost for maintenance and development can be lowered.