Method for monitoring and controlling subprocess based on Linux system
An operating system and sub-process technology, applied in hardware monitoring, program control devices, program loading/starting, etc., can solve the problems of consuming system resources, unable to realize real-time startup and unexpected exit, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] The flow process of the subprocess monitoring method based on the Linux operating system provided by the present invention, such as figure 2 shown, including steps:
[0039] Step 201, start the system (start).
[0040] Step 202, the system performs initialization settings, including operations such as initializing the console, setting terminal attributes, setting system environment variables, shielding and taking over signals, and the like.
[0041] Step 203, analyzing the startup configuration file inittab, loading the tasks that need to be run when the init process starts, and generating a task list. The task structure is as follows:
[0042] struct init_action{
[0043] struct init_action*next; single linked list next pointer
[0044] int action; current task type
[0045] pid_t pid; current task pid
[0046] char command[INIT_BUFFS_SIZE]; current task command execution full path
[0047] char terminal[CONSOLE_BUFF_SIZE]; the output console of the current task...
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