Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A monitoring method and system based on linux disk access

A disk access and disk partitioning technology, applied in the computer field, can solve problems such as the inability to read and read the disk, and achieve the results of true and reliable test results, stable system environment, and significant progress

Active Publication Date: 2021-11-05
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The disk performance test is a necessary test in the server test. It is mainly used to check the quality of the disk, such as the bad sectors of the disk. The bad sectors of the disk are mainly divided into logical bad sectors and physical bad sectors. When this problem occurs, the disk becomes unreadable or reads too slowly

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
  • A monitoring method and system based on linux disk access
  • A monitoring method and system based on linux disk access

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Specific embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0036] Such as figure 1 A kind of monitoring method based on Linux disk access shown, it is characterized in that, comprises the steps:

[0037] Step 1: Install the system monitoring probe under the Linux system.

[0038] The probe for system monitoring is systemtap-runtime.

[0039] Step 2: Install the kernel code package for monitoring the Linux system.

[0040] The kernel code packages include: kernel-debuginfo-common, kernel-debuginfo and kernel-devel.

[0041] Step 3: Call the check partition structure to check the disk partition.

[0042] Step 4: Call the ctime(now) function to print the current time.

[0043] Step 5: Obtain the return value of the called check partition structure through the $return command.

[0044] If there is no return value, output 0; if there is, and the partition table is valid, output a positive value; if there is an...

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 present invention proposes to provide a monitoring method and system based on Linux disk access. Through the "check_partition" structure in the source code of the Linux kernel, partitions of different formats are monitored, the process of disk operation is found, and the cause of the disk error is further found. . The invention can monitor the disk, helps to locate the problem of the disk, and ensures the state of the disk; it can also monitor the abnormal access of the disk and confirm the safety of the file.

Description

technical field [0001] The invention relates to the technical field of computers, and more specifically relates to a monitoring method and system based on Linux disk access. Background technique [0002] The disk performance test is a necessary test in the server test. It is mainly used to check the quality of the disk, such as the bad sectors of the disk. The bad sectors of the disk are mainly divided into logical bad sectors and physical bad sectors. When this problem occurs, the disk becomes unreadable or reads too slowly. [0003] In the daily test, some errors related to the disk will be found in the system log. For example, an "unknown partition table" error will appear in the messages log. At this time, we need to find out what process is causing this error. [0004] Therefore, there is a need for a method to monitor what process is operating on the disk, so as to locate the problem. Contents of the invention [0005] For above problem, the purpose of the presen...

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 Patents(China)
IPC IPC(8): G06F11/30
CPCG06F11/3037
Inventor 魏浩
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products