DCS upper computer CPU and memory utilization rate monitoring method and system
The method and system address the lack of long-term monitoring in DCS host computers by using the top command and Python visualization to generate interactive charts and tables, enhancing troubleshooting efficiency and resource management.
Patent Information
- Application Number
- CN202411374705.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-01-03
AI Technical Summary
Existing DCS host computer monitoring technologies lack the ability to perform long-term CPU and memory usage monitoring, especially on systems like Galaxy Kylin V10, and cannot record historical data or identify performance inflection points, leading to inefficiencies in troubleshooting and resource management.
A method and system utilizing the top command, shell scripts, and Python-based visualization to collect, process, and display CPU and memory usage data in real-time and historical trends, generating interactive tables and charts for analysis.
Enables efficient, interactive, and scalable monitoring of CPU and memory usage, allowing users to identify performance bottlenecks and troubleshoot issues by providing real-time and historical data visualization.
Smart Images

Figure CN119248610A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of DCS control, and relates to a method and system for monitoring the CPU and memory usage of a DCS host computer. Background Art
[0002] DCS (Distributed Control System) is a control system with centralized monitoring, operation, management and decentralized control. It combines computer technology, signal processing technology, measurement technology, control technology, communication technology, graphic display technology and human-machine interface.
[0003] With the continuous development and increasing intelligence of industrial control systems, the requirements for the functions and performance of DCS controllers are becoming higher and higher. Therefore, the testing technology of DCS controllers will continue to develop and improve in the future. On the one hand, we can strengthen the research and application of automated testing technology to improve testing efficiency and accuracy; on the other hand, we can strengthen the research and application of safety testing technology to ensure the safety and stability of DCS controllers.
[0004] The domestic trusted DCS host computer integrates trusted module functions such as trusted startup, static trusted verification, dynamic trusted verification, trusted whitelist, process protection, and application access control. Some will also deploy a trusted management platform. After the trusted function is deployed, it is necessary to understand the CPU and memory usage of the system when performing trusted business operations, and the resource usage of the equipment with trusted modules in the long-term operation state. The traditional use of the top command can only monitor real-time data, and cannot achieve long-term monitoring. The operating system used on the trusted DCS host computer is Galaxy Kylin V10. Some third-party monitoring tools are not compatible with Galaxy Kylin V10. Although some tools can display the CPU usage trend over a period of time in real time, people need to keep watching, and cannot record historical data. It is impossible to know the performance inflection point when the device has too high occupancy and memory leakage. Therefore, a means is needed to obtain original resource usage data and perform short-term and long-term performance monitoring. Summary of the invention
[0005] In order to improve the monitoring efficiency of a trusted DCS system, the present invention proposes a method and system for monitoring the CPU and memory usage of a DCS host computer. The method can generate a table containing raw data and trend graphs, which is convenient for users to analyze and troubleshoot problems.
[0006] To achieve the above purpose, the present invention adopts the following technical means: The first aspect of the present invention is to provide a method for monitoring the CPU and memory usage of a DCS host computer, comprising: Run the top command to obtain real-time information about CPU and memory usage, and save the output of the top command to a log file in the specified path; Use a visualization program to display and allow users to select the log file storage directory, including showing the CPU and memory usage trend charts of the top n processes, as well as the CPU and memory usage trend charts of the specific process of interest; Read the log file content and save the data to the variables and data tables in the memory; process the read data according to the settings of the preset module; Write the processed data into a table and draw a line chart of the CPU and memory usage of the entire system and some processes; Generate a table containing raw data and trend chart in the log file directory; users can click the trend chart to jump to the table and view the raw data.
[0007] As a further improvement of the present invention, the running of the top command is implemented by using a shell script. The shell script uses the top command to obtain real-time CPU and memory usage, and saves the output of each top command to a log under a specified path. The script customizes the time interval for refreshing the output information of the top command, the number of times the top command needs to output results, and the time interval for running the top command once.
[0008] As a further improvement of the present invention, the visualization program used is an exe executable program packaged based on the Python program, and a visualization operation window is displayed after the program is run.
[0009] As a further improvement of the present invention, the display allows the user to select the log file storage directory, and also includes: Each time the top command outputs the CPU and memory usage trends of the top n processes, the CPU and memory usage trends of the processes of interest.
[0010] As a further improvement of the present invention, the processing of the read data according to the setting of the preset module includes: According to the process and top position set by the preset value module, the read data is processed according to the rules preset by the program; The preset rule is: if the CPU and memory usage of the top n processes are set, when reading each log file, the processes with the top n highest CPU usage and the top n highest memory usage are taken, and the process name and the corresponding CPU and memory usage values are recorded in the data table.
[0011] As a further improvement of the present invention, in the table, the file column includes the following contents: log file name, time, usCPU usage, sysCPU usage, memory usage, CPU usage of the process of interest, memory usage of the process of interest, CPU usage of the top n processes and memory usage of the top n processes.
[0012] As a further improvement of the present invention, the line trend graph includes: an overall CPU usage trend graph, a system overall memory usage trend graph, a focused process CPU usage trend graph, a focused process memory usage trend graph, a top n process CPU usage trend graph, and a top n process memory usage trend graph.
[0013] The second aspect of the present invention is to provide a DCS host computer CPU and memory usage monitoring system, comprising: The data collection module is used to run the top command to obtain real-time information about CPU and memory usage, and save the output of the top command to a log file in a specified path; The data pre-setting module is used to use a visualization program to display and allow users to select the log file storage directory, including displaying the CPU and memory usage trend charts of the top n processes, as well as the CPU and memory usage trend charts of the specific processes of interest; The data processing module is used to read the contents of the log file and save the data into variables and data tables in the memory; the read data is processed according to the settings of the preset module; The chart drawing module is used to write the processed data into a table and draw a line trend chart of the CPU and memory usage of the entire system and some processes; The interactive and display module is used to generate a table containing raw data and trend charts in the log file directory; users can click on the trend chart to jump to the table and view the raw data.
[0014] As a further improvement of the present invention, the data collection module runs the top command using a shell script. The shell script uses the top command to obtain real-time CPU and memory usage, and saves the output of each top command to a log under a specified path. The script customizes the time interval for refreshing the top command output information, the number of times the top command needs to output results, and the time interval for running a top command.
[0015] As a further improvement of the present invention, the data pre-setting module uses a visualization program which is an exe executable program packaged based on the Python program, and a visualization operation window is displayed after the program is run.
[0016] As a further improvement of the present invention, the data pre-setting module displays and allows the user to select the log file storage directory, and also includes: Each time the top command outputs the CPU and memory usage trends of the top n processes, the CPU and memory usage trends of the processes of interest.
[0017] As a further improvement of the present invention, the data processing module processes the read data according to the settings of the preset module, including: The data processing module processes the read data according to the process and top position set by the preset value module and the rules preset by the program; The preset rule is: if the CPU and memory usage of the top n processes are set, when reading each log file, the processes with the top n highest CPU usage and the top n highest memory usage are taken, and the process name and the corresponding CPU and memory usage values are recorded in the data table.
[0018] As a further improvement of the present invention, in the table of the chart drawing module, the file column includes the following contents: log file name, time, usCPU usage, sysCPU usage, memory usage, CPU usage of the process of interest, memory usage of the process of interest, CPU usage of the top n processes and memory usage of the top n processes.
[0019] As a further improvement of the present invention, the line trend chart in the chart drawing module includes: an overall CPU usage trend chart, a system overall memory usage trend chart, a CPU usage trend chart of a process of interest, a memory usage trend chart of a process of interest, a top n process CPU usage trend chart, and a top n process memory usage trend chart.
[0020] The third aspect of the present invention is to provide an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the DCS host computer CPU and memory usage monitoring method when executing the computer program.
[0021] A fourth aspect of the present invention is to provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the DCS host computer CPU and memory usage monitoring method is implemented.
[0022] Compared with the prior art, the present invention has the following beneficial effects: The method of the present invention comprises five steps: data collection, data presetting, data processing, chart drawing and interactive display. The top command is run through a shell script to obtain real-time resource usage, and the Python program is used to process, visualize and interactively operate the data, and finally an Excel table containing raw data and trend charts is generated, which is convenient for users to analyze and troubleshoot problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A flow chart of a method for monitoring the CPU and memory usage of a DCS host computer provided by the present invention; Figure 2 The present invention provides a DCS host computer CPU and memory usage monitoring system; Figure 3 A schematic diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.
[0026] In addition, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, product, or apparatus.
[0027] like Figure 1 As shown, the first object of the present invention is to provide a method for monitoring the CPU and memory usage of a DCS host computer, comprising the following steps: S1, run the top command to obtain real-time information about CPU and memory usage, and save the output of the top command to a log file in the specified path; S2, uses a visualization program to display and allow users to select the log file storage directory, including showing the CPU and memory usage trend charts of the top n processes, as well as the CPU and memory usage trend charts of the specific process of interest; S3, reads the log file content and saves the data into the variables and data tables in the memory; processes the read data according to the settings of the preset module; S4, writes the processed data into a table, and draws a line trend chart of the CPU and memory usage of the entire system and some processes; S5, generates a table containing raw data and trend chart in the log file directory; the user can click the trend chart to jump to the table and view the raw data.
[0028] The DCS host computer CPU and memory usage monitoring method of the present invention is mainly based on the top command of the Linux system and a visualization program written in Python (or other programming languages).
[0029] Use the top command to get the system CPU and memory usage in real time. The top command can dynamically display the system status, including process information, memory usage, CPU usage, etc. By redirecting the output, this information can be saved in a log file for subsequent analysis.
[0030] A visual program written in Python reads the contents of the log file, extracts the data and saves it to variables and data tables in memory. During this process, the program will filter and process the read data according to the configuration of the pre-set modules, such as extracting the CPU and memory usage data of the top n processes, or focusing on the resource usage of a specific process.
[0031] The preprocessed data will be written into a table, and a chart library (such as matplotlib) will be used to draw line charts of CPU and memory usage for the entire system and some processes. These charts can intuitively display the usage of system resources and help users quickly find problems.
[0032] The generated tables and trend graphs will be stored in the log file directory. Users can directly jump to the corresponding table and view the original data by clicking on the trend graph. This interactive method allows users to have a deeper understanding of the usage of system resources, which is convenient for troubleshooting and performance optimization.
[0033] Therefore, the specific advantages of the present invention are: by using the top command to obtain the system resource usage in real time, potential performance problems can be discovered in time. The visualization program allows users to customize the monitored parameters and the processes of interest, and can be flexibly configured according to different needs. The system resource usage is displayed by a broken line trend chart, so that users can intuitively understand the operating status and performance bottlenecks of the system. Users can directly view the original data by clicking on the trend chart. This interactive method improves the efficiency and accuracy of data analysis.
[0034] Therefore, the DCS host computer CPU and memory usage monitoring method of the present invention has the advantages of real-time, flexibility, intuitiveness, interactivity and scalability, and can effectively help users monitor and analyze system resource usage and improve system performance and stability.
[0035] Optionally, the running of the top command is implemented using a shell script. The shell script uses the top command to obtain real-time CPU and memory usage, and saves the output of each top command to a log under a specified path. The script customizes the time interval for refreshing the top command output information, the number of times the top command needs to output results, and the time interval for running the top command once.
[0036] Optionally, the visualization program used is an exe executable program packaged based on the Python program, and a visualization operation window is displayed after the program is run.
[0037] Optionally, the display allows the user to select a log file storage directory, and also includes: Each time the top command outputs the CPU and memory usage trends of the top n processes, the CPU and memory usage trends of the processes of interest.
[0038] Optionally, the processing of the read data according to the setting of the preset module includes: According to the process and top position set by the preset value module, the read data is processed according to the rules preset by the program; The preset rule is: if the CPU and memory usage of the top n processes are set, when reading each log file, the processes with the top n highest CPU usage and the top n highest memory usage are taken, and the process name and the corresponding CPU and memory usage values are recorded in the data table.
[0039] Optionally, in the table, the file column includes the following contents: log file name, time, usCPU usage, sysCPU usage, memory usage, CPU usage of the process of interest, memory usage of the process of interest, CPU usage of the top n processes, and memory usage of the top n processes.
[0040] The line trend graphs include: overall CPU usage trend graph, system overall memory usage trend graph, focused process CPU usage trend graph, focused process memory usage trend graph, top n process CPU usage trend graph, top n process memory usage trend graph.
[0041] like Figure 2 As shown, the embodiment of the present invention proposes a method for monitoring and obtaining the CPU and memory usage on the Kylin V10 system by combining shell scripts and python programs. The method includes five modules: a data collection module, a data presetting module, a data processing module, a chart drawing module, and an interaction and display module.
[0042] Data collection module: Run a shell script on the DCS host computer to obtain information on the CPU and memory usage of the DCS host computer during script execution.
[0043] The core of the shell script is to use the top command to obtain real-time CPU and memory usage, and save the output of each top command to a log under the specified path. The script customizes the time interval for refreshing the output information of the top command, the number of times the top command needs to output results, and the time interval for running the top command once.
[0044] According to the actual situation, when performing short-term monitoring of major trusted functional businesses, the time interval for running the top command is generally in seconds, such as 5s. When performing long-term stress testing such as nighttime and weekend stress testing, the time interval for running the top command is generally in minutes, such as 10 minutes.
[0045] After stopping the script, take out the log file on the Linux system and import it to the local Windows.
[0046] The top command is often used to monitor the system status of Linux. It is a commonly used performance analysis tool that can display the resource usage of the CPU, memory, and various processes in the system in real time.
[0047] Data pre-setting module: An exe executable program packaged based on Python program is run. After the program is run, in the visual operation window, the user selects the directory where the top file is stored, and optionally sets the top n processes and the processes of interest. That is, the final result not only displays the overall CPU usage trend chart of the system and the overall memory usage trend chart of the system, but also displays the CPU and memory usage trend charts of the processes with the top n highest CPU and memory usage rates output by the top command each time, and the CPU usage trend chart of the processes of interest. If not set, only the overall CPU usage trend chart of the system and the overall memory usage trend chart of the system are displayed.
[0048] Click the Start button and the program begins processing the data.
[0049] Data processing module: The program reads all log files in the directory line by line, saves the read content into the variables in the memory and writes it into the pre-designed data table. It mainly processes the read data according to the process and top position set by the preset value module and the rules preset by the program.
[0050] The preset rule is: if the CPU and memory usage of the top n processes are set, the processes with the top n highest CPU usage and the top n highest memory usage are taken when reading each log file, and the process name and the corresponding CPU and memory usage values are recorded in the data table; Detailed description: When reading the first log file, in addition to saving the overall CPU and memory usage of the system, the top n processes with the highest CPU and memory usage and the CPU and memory usage values of the processes will be taken; when reading the second log file, if there is a process that is not in the first log among the top n processes with the highest CPU and memory usage, and it appears for the first time, then new process information will be added to the data table; if there is a process that is in the first log among the top n processes with the highest CPU and memory usage, then only one line of CPU and memory usage information for the same process will be added. Exceptionally, there are cases where the same process has multiple threads, and several identical processes will appear in the top command output. The CPU and memory usage values need to add up the values of these multiple threads and record them as one process, and then take another n-1 processes from top.
[0051] Chart drawing module: Use openpyxl library to generate and create Excel spreadsheet files, create sheets, and write data into sheets according to the data table generated by the data processing module.
[0052] The excel file columns include: log file name, time, usCPU usage, sysCPU usage, memory usage, CPU usage of the process of interest, memory usage of the process of interest, CPU usage of the top n processes, and memory usage of the top n processes.
[0053] Use the matplotlib library to read the contents of the Excel table, extract the time and the corresponding column values, and draw a line trend chart of system resource usage, including: overall CPU usage trend chart, system overall memory usage trend chart, CPU usage trend chart of the process of interest, memory usage trend chart of the process of interest, top n process CPU usage trend chart, top n process memory usage trend chart.
[0054] Interactive display module: After the program is finished running, an Excel table containing raw data and trend charts is generated in the log file directory.
[0055] When users click on any line trend chart, they can jump to the sheet to view the original data and can flexibly generate other types of charts based on the original data.
[0056] Through this method, the key data of CPU and memory usage are extracted from a large amount of complex log information, and converted and stored in a concise and easy-to-understand Excel table, and then a line trend chart of the CPU and memory usage of the whole system and some processes is drawn. Not only can the detailed CPU and memory usage during the execution of trusted functional business in a short period of time and the long-term operation of the system be obtained, but also when there is a phenomenon of excessive resource usage and memory leakage can be intuitively seen from the trend chart, which is convenient for users to understand the resource usage of trusted business and equipment and troubleshoot and locate problems.
[0057] like Figure 3 As shown, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the DCS host computer CPU and memory usage monitoring method when executing the computer program.
[0058] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the DCS host computer CPU and memory usage monitoring method is implemented.
[0059] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0060] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0061] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0062] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0063] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium).
[0064] As is well known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storing information (such as computer readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
Claims
1. A method for monitoring the CPU and memory usage of a DCS host computer, characterized in that: include: Run the top command to obtain real-time information about CPU and memory usage, and save the output of the top command to a log file in the specified path; Use a visualization program to display and allow users to select the log file storage directory, including showing the CPU and memory usage trend charts of the top n processes, as well as the CPU and memory usage trend charts of the specific process of interest; Read the log file contents and save the data into variables and data tables in memory; Process the read data according to the settings of the preset module; Write the processed data into a table and draw a line chart of the CPU and memory usage of the entire system and some processes; Generate a table containing raw data and trend chart in the log file directory; Users can click on the trend chart to jump to the table and view the original data.
2. A method for monitoring CPU and memory usage of a DCS host computer according to claim 1, characterized in that: The top command is run using a shell script. The shell script uses the top command to obtain real-time CPU and memory usage, and saves the output of each top command to a log under a specified path. The script customizes the time interval for refreshing the top command output information, the number of times the top command needs to output results, and the time interval for running the top command once.
3. A method for monitoring CPU and memory usage of a DCS host computer according to claim 1, characterized in that: The visualization program used is an exe executable program packaged based on the Python program, and a visualization operation window is displayed after the program is run.
4. A method for monitoring CPU and memory usage of a DCS host computer according to claim 1, characterized in that: The display allows the user to select the log file storage directory, and also includes: Each time the top command outputs the CPU and memory usage trends of the top n processes, the CPU and memory usage trends of the processes of interest.
5. A method for monitoring CPU and memory usage of a DCS host computer according to claim 1, characterized in that: The step of processing the read data according to the setting of the preset module includes: According to the process and top position set by the preset value module, the read data is processed according to the rules preset by the program; The preset rule is: if the CPU and memory usage of the top n processes are set, when reading each log file, the processes with the top n highest CPU usage and the top n highest memory usage are taken, and the process name and the corresponding CPU and memory usage values are recorded in the data table.
6. A method for monitoring CPU and memory usage of a DCS host computer according to claim 1, characterized in that: In the table, the file column includes the following contents: log file name, time, usCPU usage, sysCPU usage, memory usage, CPU usage of the concerned process, memory usage of the concerned process, CPU usage of the top n processes, and memory usage of the top n processes.
7. A method for monitoring the CPU and memory usage of a DCS host computer according to claim 1, characterized in that: The line trend graphs include: overall CPU usage trend graph, system overall memory usage trend graph, focused process CPU usage trend graph, focused process memory usage trend graph, top n process CPU usage trend graph and top n process memory usage trend graph.
8. A DCS host computer CPU and memory usage monitoring system, characterized in that: include: The data collection module is used to run the top command to obtain real-time information about CPU and memory usage, and save the output of the top command to a log file in a specified path; The data pre-setting module is used to use a visualization program to display and allow users to select the log file storage directory, including displaying the CPU and memory usage trend charts of the top n processes, as well as the CPU and memory usage trend charts of the specific processes of interest; The data processing module is used to read the log file content and save the data into variables and data tables in the memory; Process the read data according to the settings of the preset module; The chart drawing module is used to write the processed data into a table and draw a line trend chart of the CPU and memory usage of the entire system and some processes; The interactive and display module is used to generate a table containing raw data and trend charts in the log file directory; Users can click on the trend chart to jump to the table and view the original data.
9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for monitoring the CPU and memory usage of a DCS host computer as claimed in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the DCS host computer CPU and memory usage monitoring method according to any one of claims 1 to 7 is implemented.
