Memory monitoring achievement method based on startup and shutdown of Linux system

A technology of memory monitoring and implementation method, applied in hardware monitoring and other directions, can solve the problems of single memory test item and inconvenient operation, and achieve the effect of intuitive, simple, effective and stable display of results

Inactive Publication Date: 2015-04-29
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention aims at the problem of single and inconvenient operation of the memory test items under the manual setting of the server on and off based on the Linux system, and provides a method for realizing memory monitoring under the on and off of the Linux system, which is applicable to the current linux operating system and realizes unattended operation. Automatic test, and realize the counting of the test and the monitoring of the memory capacity, so as to evaluate the stability of the whole machine during the restart stress test of the test machine, and provide a reference for ensuring that the memory can work stably and continuously during the machine's power-on / off process

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory monitoring achievement method based on startup and shutdown of Linux system
  • Memory monitoring achievement method based on startup and shutdown of Linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The present invention is further described with reference to the accompanying drawings.

[0019] The crontab command under the Linux system is used to set the periodically executed commands. Through this command, the / sbin / reboot command that comes with the system will be executed regularly to the crontab file, and the crond service will be automatically started after the boot is set, and the scheduled power on and off under the Linux system will be run. test.

[0020] When the script starts running, it will capture the memory capacity under / proc / meminfo as an initial reference. In the subsequent power-on and power-off tests, this capacity will be used as a reference. The reference capacity is used for comparison. If the memory capacity is not equal, it will be recorded in the warmboot.log and fail.log generated when running the script. The recorded content includes the fail time, the reference memory capacity, and the memory capacity at the time of the current test fa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a memory monitoring achievement method based on startup and shutdown of a Linux system, and belongs to the technical field of memory monitoring. The memory monitoring achievement method comprises the following specific steps: (1) ensuring that the Linux system is arranged on a to-be-tested main machine, enabling a user to log in, coping a warmboot script to a desktop, opening linux system termination program, switching a current directory into the desktop, executing the following operations as shown in the specification; (2) after the command is executed, capturing memory capacity under /proc/meminfo by a script as reference memory capacity; (3) generating a RebootResult file folder on the desktop, and recording the memory test condition by a sub-file holder under the file holder; (4) restarting the system according to the set time interval; (5) counting by reading a RebootResult/count file, capturing the memory capacity in the /proc/meminfo and comparing with the reference capacity; and (6) automatically carrying out the test frequency set by restart by the system until execution is ended. According to the memory monitoring achievement method, unattended operation and automatic test are achieved; the test is counted; the memory capacity is monitored; and the stability of the overall machine in a tester restart pressure test is evaluated.

Description

technical field [0001] The invention discloses a method for realizing memory monitoring, which belongs to the technical field of memory monitoring, and specifically relates to a method for realizing memory monitoring based on a Linux system on and off. Background technique [0002] As we all know, the server is the core of the entire network system and computing platform. Many important data are stored on the server, and many network services run on the server. Therefore, the performance of the server determines the performance of the entire application system. There are many different types of servers. When purchasing, it is not enough for users to judge only from the configuration. They need to be screened through actual tests. At present, in the stability test of the whole server, the power-on / off stress test is essential, but the power-on / off test under the current linux system can only be set manually, and the power-on / off stress test is performed only, and memory loss ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/34
Inventor 李萌王守昊
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products