Method and system for monitoring server system running state information
A technology of operating status information and server systems, applied in the field of computer communication, can solve problems such as large system resources, inconvenient maintenance, and complex configuration, and achieve the effect of small system resources, convenient maintenance, and small occupation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] figure 2 It is a flow chart of a method for monitoring the running state information of a server system in Embodiment 1 of the present invention. Such as figure 2 As shown, the method includes the following steps S201-S205:
[0064] S201: install Python on the monitored server.
[0065] Since Python adheres to a clear and uniform style in design, this makes Python an easy-to-read, easy-to-maintain language that is popular with a large number of users and has a wide range of uses. Therefore, Python can be installed on the monitored server, and then through Python The language realizes the acquisition of the system running status information of the monitored server.
[0066] For example, this step can be achieved with the following command:
[0067] yum install gcc gcc-c++ libgcc libstdc++ libgcc-devel libstdc++-develzlib zlib-devel openssl openssl-devel pcre pcre-devel.
[0068] S202: The monitored server sends its own system operation status information to the mo...
Embodiment 2
[0094] image 3 It is a flow chart of a method for monitoring the running status information of a server system in Embodiment 2 of the present invention. Such as image 3 As shown, the following steps S301-S306 are included:
[0095] S301: The monitored server presets a configuration file; the IP address, service port and API interface of the monitoring server are recorded in the configuration file.
[0096] Among them, the configuration file can be named conf.py, and its format is as follows:
[0097] sys_status={}
[0098] sys_status["local_ip"]="192.168.28.220"
[0099] sys_status["local_name"]="Office Test"
[0100] sys_status["server_ip"]="192.168.28.101:8033"
[0101] sys_status["server_api"]=" / otttest_monitor / "
[0102] Among them, "192.168.28.220" indicates the IP address of the local server, "office test" indicates the name of the local server, "192.168.28.101" indicates the IP address of the monitoring server, "8033" indicates the port of the monitoring server...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com