System log query method
A query method and system log technology, applied in the field of system log query that can only query the latest system log part, can solve the problems of wasting time, wasting memory resources, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0034] Example 1: When the query host 12 needs to query a total of 1000 logs starting from the oldest number, first issue an instruction R start =0 and R req =1000 query command. After receiving the query command, the log management device 11 sets K=2001 in step 204, and finally transmits the logs numbered 2001-2400 in step 216. After the query host 12 receives the logs numbered 2001~2400, it learns that S=2001 and R max =400, the query host 12 then generates an instruction R start =2401 and R req =400 query instruction, instruction R start =2801 and R req =200 query instruction, then send instruction R start =2401 and R req =400 query instruction to the log management device 11. Then, the log management device 11 sets K=2401 in step 203 according to the query command, and finally transmits the logs numbered 2401 to 2800 in step 212. Then, the query host 12 sends an instruction R start =2801 and R req =200 query command to the log management device 11. Then the log ma...
example 2
[0035] Example 2: When the query host 12 needs to query 2000 logs starting from the oldest number, similar to the above steps, the query host 12 issues an instruction R start =0 and R req =2000 query command, and the log management device 11 transmits the logs numbered 2001~2400 to the query host 12 according to the query command, the query host 12 sequentially generates instructions R start =2401 and R req =400 query instruction, instruction R start =2801 and R req =400 query instruction, instruction R start =3201 and R req =400 query instruction, instruction R start =3601 and R req =400 query commands, and send the query commands to the log management device 11 in sequence. However, unlike Example 1, the log management device 11 receives the instruction R start =3201 and R req After the query command of =400, the logs numbered 3201~3500 will be sent in step 213. When the query host 12 receives these logs, it knows that the maximum number of all logs is 3500, so it w...
example 3
[0036] Example 3: When the query host 12 only needs the latest few logs, an instruction R is issued start =0 and R req =404 query command. After receiving the query command, the log management device 11 sets K=S in step 204, and finally returns the number to (S+N-R max )~(S+N-1), that is, the logs numbered 3101~3500 are returned to the query host 12. Among them, although in this embodiment R start =0, but can be other values. In particular, in this example, it is explained that the query host 12 sets R in the query command req Equal to the predetermined value M, and let the log management device 11 determine R req After it is equal to M, the latest R is returned in a data return max Diary.
[0037] In summary, in the system log query method of the present invention, when the system administrator needs to query the latest log, the query host 12 transmits the instruction R req =M the query command to the log management device 11, and let the log management device 11 determine ...
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