Audit function implementing method based on history command

A technology of audit function and implementation method, which is applied in the field of server information, can solve problems such as time waste and delay, and achieve the effect of strong practicability, wide application range and easy promotion

Inactive Publication Date: 2015-02-11
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the testing process, we will encounter some problems, which may sometimes be caused by our improper operations. In order to locate the problems more quickly and efficiently, we need to record the process we execute, so

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
  • Audit function implementing method based on history command

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0020] The history function of the Linux system provides us with the historical records of our execution commands, but because it is only basic information, sometimes we still lack some necessary information for us to locate the problem. The present invention provides a method for implementing the audit function based on the history command , this method can add some key information (execution time, execution user, etc.) that we focus on by customizing the history on the script, and generate a log file so that we can check it at any time, so that we can correlate when there is a problem Operational query, thus assisting us in locating the problem. as attached figure 1 As shown, the specific implementation process is:

[0021] 1. Create a Log storage location;

[0022] 2. Modify the path and file permissions;

[0023] 3. Add the shell comman...

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 an audit function implementing method based on a history command. The audit function implementing method based on the history command comprises the following specific steps: creating a Log storage location; modifying a path and a file permission; adding a shell command and taking effect, and carrying out archiving; when a suspected problem exists, viewing a log executed by the command; restoring related operations before, and looking up the reason of the problem; if the problem still exists, repeating the operations and continuing to look up other reasons. Compared with the prior art, the audit function implementing method based on the history command has the advantages as follows: the history command can be conveniently looked up at any time, so that problem location is more rapid; the audit function implementing method based on the history command is strong in practicality, high in debugging efficiency, wide in application range and easy to popularize.

Description

technical field [0001] The invention relates to the technical field of server information, in particular to a highly practical audit function realization method based on a history command. Background technique [0002] With the continuous development of IT technology, traditional information services and increasingly powerful cloud computing services have higher and higher requirements for server stability. As a server product provider, a server needs to conduct various tests on the product whether it is in the research and development stage or the production stage, and the main responsibility of the test and verification department is to find out the problems of the product so as to strictly ensure the quality of the product. During the testing process, we will encounter some problems, which may sometimes be caused by our improper operations. In order to locate the problems more quickly and efficiently, we need to record the process we execute, so that when problems occur, ...

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
IPC IPC(8): G06F11/22G06F11/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