CN107943591A - A kind of method of more host processes management based on linux - Google Patents
A kind of method of more host processes management based on linux Download PDFInfo
- Publication number
- CN107943591A CN107943591A CN201711267720.4A CN201711267720A CN107943591A CN 107943591 A CN107943591 A CN 107943591A CN 201711267720 A CN201711267720 A CN 201711267720A CN 107943591 A CN107943591 A CN 107943591A
- Authority
- CN
- China
- Prior art keywords
- web client
- host
- management
- request
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
- G06F21/552—Detecting local intrusion or implementing counter-measures involving long-term monitoring or reporting
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明公开一种进程管理的方法,涉及进程管理领域,具体的说是一种基于linux的多主机进程管理的方法。The invention discloses a method for process management, relates to the field of process management, and in particular is a process management method for multi-hosts based on linux.
背景技术Background technique
进程Process是计算机中的程序关于某数据集合上的一次运行活动,是系统进行资源分配和调度的基本单位,是操作系统结构的基础。在早期面向进程设计的计算机结构中,进程是程序的基本执行实体;在当代面向线程设计的计算机结构中,进程是线程的容器。程序是指令、数据及其组织形式的描述,进程是程序的运行的实例。因此随着计算机技术的高速发展,数据量的剧增,计算机得到广泛的有应用,完成复杂的操作,单一主机已不能满足业务需求,多主机同时运行才能满足用户的需求,多主机运行时,查看管理单主机进程是非常必要的,而目前尚没有有效地利用可视化界面对多主机进程进行管理的方法,本发明提出一种基于linux的多主机进程管理的方法,可以为用户提供可视化的便捷界面,方便查看多主机中各个主机的进程运行情况。A process is a running activity of a program in a computer on a certain data set. It is the basic unit for system resource allocation and scheduling, and the basis of the operating system structure. In the early process-oriented design computer structure, the process is the basic execution entity of the program; in the contemporary thread-oriented design computer structure, the process is the container of the thread. A program is a description of instructions, data and its organizational form, and a process is an instance of a program running. Therefore, with the rapid development of computer technology and the sharp increase in data volume, computers are widely used to complete complex operations. A single host can no longer meet business needs, and multiple hosts can run simultaneously to meet user needs. When multiple hosts are running, It is very necessary to view and manage a single host process, but currently there is no effective method for managing multi-host processes with a visual interface. The present invention proposes a method for managing multi-host processes based on linux, which can provide users with visual convenience The interface is convenient for viewing the process running status of each host in the multi-host.
发明内容Contents of the invention
本发明针对目前技术发展的需求和不足之处,提供一种基于linux的多主机进程管理的方法。Aiming at the needs and deficiencies of current technical development, the present invention provides a linux-based multi-host process management method.
一种基于linux的多主机进程管理的方法,基于浏览器的web客户端进行进程管理,实现对应主机进程的操作和展示,服务器端接收web客户端发送的进程管理请求,响应请求,返回请求的相关结果,具体步骤为:A linux-based multi-host process management method, based on the browser web client for process management, to realize the operation and display of the corresponding host process, the server receives the process management request sent by the web client, responds to the request, and returns the request Related results, the specific steps are:
web客户端发送对应主机的针对进程的操作请求到服务器端,The web client sends the operation request for the process corresponding to the host to the server,
服务器端接收web客户端发送的操作请求,对操作请求做出响应,并返回操作请求的相关结果给web客户端,The server receives the operation request sent by the web client, responds to the operation request, and returns the relevant results of the operation request to the web client.
web客户端进行对应主机的进程操作和展示。The web client performs process operation and display corresponding to the host.
所述的方法中针对进程的操作包括进程查询,关闭进程,进程黑名单管理,系统进程隐藏。The operations for processes in the method include process query, process closing, process blacklist management, and system process hiding.
所述的方法中进程查询操作根据输入的多项查询条件进行组合查询进程信息。In the method, the process query operation is combined to query process information according to multiple input query conditions.
所述的方法中进程查询以列表的形式显示对应主机的进程信息,所述进程信息包含用户名称,PID,CPU占用率,内存占用率,运行时间,命令。In the method, the process query displays the process information of the corresponding host in the form of a list, and the process information includes user name, PID, CPU occupancy rate, memory occupancy rate, running time, and command.
所述的方法中web客户端发送对应主机的关闭进程操作请求到服务器端,服务器端接收web客户端发送的操作请求,执行关闭对应主机进程的命令,并返回状态信息给web客户端进行状态信息展示。In the described method, the web client sends the closing process operation request of the corresponding host to the server, and the server receives the operation request sent by the web client, executes the command to close the corresponding host process, and returns status information to the web client for status information exhibit.
所述的方法中web客户端发送对应主机的进程黑名单管理操作请求到服务器端,服务器端接收web客户端发送的操作请求,执行对应主机进程的加入/移除黑名单命令,并返回状态信息给web客户端进行状态信息展示。In the described method, the web client sends the process blacklist management operation request corresponding to the host to the server, and the server receives the operation request sent by the web client, executes the join/remove blacklist command corresponding to the host process, and returns status information Display status information to the web client.
所述的方法中web客户端发送对应主机的系统进程隐藏请求到服务器端,服务器端接收web客户端发送的操作请求,执行调用接口对对应主机系统进程隐藏命令,并返回状态信息给web客户端进行状态信息展示。In the described method, the web client sends the system process hiding request corresponding to the host to the server, and the server receives the operation request sent by the web client, executes the calling interface to hide the command of the corresponding host system process, and returns status information to the web client Display status information.
一种基于linux的多主机进程管理系统,包括基于浏览器的web客户端和服务器端,web客户端进行进程管理,实现对应主机进程的操作和展示,服务器端接收web客户端发送的进程管理请求,响应请求,返回请求的相关结果,具体步骤为:A linux-based multi-host process management system, including a browser-based web client and server, the web client performs process management, realizes the operation and display of the corresponding host process, and the server receives the process management request sent by the web client , respond to the request, and return the relevant results of the request. The specific steps are:
web客户端发送对应主机的针对进程的操作请求到服务器端,The web client sends the operation request for the process corresponding to the host to the server,
服务器端接收web客户端发送的操作请求,对操作请求做出响应,并返回操作请求的相关结果给web客户端,The server receives the operation request sent by the web client, responds to the operation request, and returns the relevant results of the operation request to the web client.
web客户端进行对应主机的进程操作和展示。The web client performs process operation and display corresponding to the host.
web客户端针对进程的操作包括进程查询,关闭进程,进程黑名单管理,系统进程隐藏。The operations of the web client for processes include process query, process shutdown, process blacklist management, and system process hiding.
web客户端针对进程的进程查询操作根据输入的多项查询条件进行组合查询进程信息。For the process query operation of the process, the web client performs combined query process information according to multiple input query conditions.
本发明与现有技术相比具有的有益效果是:The beneficial effect that the present invention has compared with prior art is:
本发明提出一种基于linux的多主机进程管理的方法,基于浏览器的web客户端进行进程管理,实现对应主机进程的操作和展示,服务器端接收web客户端发送的进程管理请求,响应请求,返回请求的相关结果,可以为用户提供可视化的便捷界面,方便用户查看多主机中各个主机的进程运行情况及对主机进程进行相应管理。The present invention proposes a method for managing multi-host processes based on linux. The browser-based web client performs process management to realize the operation and display of corresponding host processes. The server side receives the process management request sent by the web client and responds to the request. Returning the relevant results of the request can provide the user with a visual and convenient interface, which is convenient for the user to view the process running status of each host in the multi-host and manage the host process accordingly.
附图说明Description of drawings
图1 本发明方法中web客户端行驶的功能框图;The functional block diagram of web client running in the method of the present invention in Fig. 1;
图2 本发明方法中服务器端响应web客户端请求的流程图;Fig. 2 is a flow chart of server end responding to web client request in the inventive method;
图3本发明中web客户端进程黑名单管理界面示意图;Fig. 3 schematic diagram of web client process blacklist management interface in the present invention;
图4本发明中web客户端进程黑名单管理结果界面示意图。Fig. 4 is a schematic diagram of the web client process blacklist management result interface in the present invention.
具体实施方式Detailed ways
本发明提供一种基于linux的多主机进程管理的方法,基于浏览器的web客户端进行进程管理,实现对应主机进程的操作和展示,服务器端接收web客户端发送的进程管理请求,响应请求,返回请求的相关结果,具体步骤为:The present invention provides a method for managing multi-host processes based on linux. The browser-based web client performs process management to realize the operation and display of corresponding host processes. The server side receives the process management request sent by the web client and responds to the request. Return the relevant results of the request, the specific steps are:
web客户端发送对应主机的针对进程的操作请求到服务器端,The web client sends the operation request for the process corresponding to the host to the server,
服务器端接收web客户端发送的操作请求,对操作请求做出响应,并返回操作请求的相关结果给web客户端,The server receives the operation request sent by the web client, responds to the operation request, and returns the relevant results of the operation request to the web client.
web客户端进行对应主机的进程操作和展示。The web client performs process operation and display corresponding to the host.
同时提供与上述方法相对应的一种基于linux的多主机进程管理系统。At the same time, a linux-based multi-host process management system corresponding to the above method is provided.
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific examples.
利用本发明方法,具体步骤为:Utilize the inventive method, concrete steps are:
根据web客户端操作引导,用户可以操作实现相应的进程的操作和展示,利用web客户端发送对应主机的针对进程的操作请求到服务器端,其中针对进程的操作包括进程查询,关闭进程,进程黑名单管理,系统进程隐藏,According to the operation guidance of the web client, the user can operate and realize the operation and display of the corresponding process, and use the web client to send the operation request for the process of the corresponding host to the server. The operation for the process includes process query, closing the process, and blacking the process. List management, system process hiding,
web客户端进行进程查询操作:根据输入的多项查询条件进行组合查询进程信息,比如可通过User、PID、CMD命令提示符进行组合查询主机进程信息,The web client performs process query operations: perform combined query process information according to multiple input query conditions, for example, the combined query of host process information can be performed through User, PID, and CMD command prompts.
通过GET/PUT方式调用接口,服务器端接收web客户端发送的进程查询操作请求,执行调用对应主机节点进程信息命令,并返回节点进程信息相关结果给web客户端,web客户端再以列表的形式显示对应主机的进程信息,进程信息可以包含用户名称,PID,CPU占用率,内存占用率,运行时间,命令等;The interface is invoked through GET/PUT. The server side receives the process query operation request sent by the web client, executes the call corresponding host node process information command, and returns the node process information related results to the web client, and the web client then lists them Display the process information of the corresponding host. The process information can include user name, PID, CPU usage, memory usage, running time, commands, etc.;
web客户端进行关闭进程操作:发送对应主机的关闭进程操作请求到服务器端,通过GET/PUT方式调用接口,服务器端接收web客户端发送的操作请求,执行关闭对应主机进程的命令,并返回状态信息给web客户端进行状态信息展示。The web client performs the closing process operation: sends the closing process operation request of the corresponding host to the server, calls the interface through GET/PUT, the server receives the operation request sent by the web client, executes the command to close the corresponding host process, and returns the status The information is displayed to the web client for status information.
web客户端进行进程黑名单管理操作:根据多项条件进行进程黑名单管理,比如可通过User、PID、CMD命令提示符进行组合查询需要进行黑名单管理的主机进程信息,参考图3;The web client performs process blacklist management operations: perform process blacklist management according to multiple conditions, for example, the combination of User, PID, and CMD command prompts can be used to query the host process information that needs blacklist management, refer to Figure 3;
发送对应主机的进程黑名单管理操作请求到服务器端,通过GET/PUT方式调用接口,服务器端接收web客户端发送的操作请求,执行对应主机进程的加入/移除黑名单命令,并返回状态信息给web客户端进行状态信息展示,参考图4;Send the process blacklist management operation request corresponding to the host to the server, call the interface through GET/PUT, the server receives the operation request sent by the web client, executes the join/remove blacklist command of the corresponding host process, and returns the status information Display the status information for the web client, refer to Figure 4;
web客户端进行系统进程隐藏操作:web客户端发送对应主机的系统进程隐藏请求到服务器端,通过GET/PUT方式调用接口,服务器端接收web客户端发送的操作请求,执行调用接口对对应主机系统进程隐藏命令,并返回状态信息给web客户端进行状态信息展示。The web client performs system process hidden operations: the web client sends the system process hidden request of the corresponding host to the server, calls the interface through GET/PUT, the server receives the operation request sent by the web client, and executes the call interface to the corresponding host system The process hides the command and returns status information to the web client for status information display.
利用上述本发明方法及系统,可以为用户提供可视化的便捷界面,方便用户查看多主机中各个主机的进程运行情况及对主机进程进行相应管理。The method and system of the present invention can provide users with a visual and convenient interface, which is convenient for users to view the process operation status of each host in the multi-host and to manage the host process accordingly.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711267720.4A CN107943591A (en) | 2017-12-05 | 2017-12-05 | A kind of method of more host processes management based on linux |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711267720.4A CN107943591A (en) | 2017-12-05 | 2017-12-05 | A kind of method of more host processes management based on linux |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107943591A true CN107943591A (en) | 2018-04-20 |
Family
ID=61945757
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711267720.4A Pending CN107943591A (en) | 2017-12-05 | 2017-12-05 | A kind of method of more host processes management based on linux |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107943591A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111522579A (en) * | 2020-06-22 | 2020-08-11 | 上海通联金融服务有限公司 | Version environment process detection method, device and storage medium |
CN112052088A (en) * | 2020-08-31 | 2020-12-08 | 北京升鑫网络科技有限公司 | Adaptive process CPU resource limitation method, device, terminal and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521099A (en) * | 2011-11-24 | 2012-06-27 | 深圳市同洲视讯传媒有限公司 | Process monitoring method and process monitoring system |
CN102866919A (en) * | 2012-07-31 | 2013-01-09 | 电子科技大学 | Cloud drawing-based large-sized three-dimensional scene multi-person collaborative creation method |
US20140068560A1 (en) * | 2012-09-06 | 2014-03-06 | Digital Rapids Corporation | Systems and methods for partitioning computing applications to optimize deployment resources |
CN103853743A (en) * | 2012-11-29 | 2014-06-11 | 百度在线网络技术(北京)有限公司 | Distributed system and log query method thereof |
CN104077180A (en) * | 2012-03-15 | 2014-10-01 | 北京奇虎科技有限公司 | Multi-process management method and device |
CN104503887A (en) * | 2014-12-15 | 2015-04-08 | 北京奇虎科技有限公司 | Method and device for showing state of computing equipment |
CN104899077A (en) * | 2015-06-30 | 2015-09-09 | 北京奇虎科技有限公司 | Process information acquiring method and device based on container technology |
CN106790182A (en) * | 2016-12-30 | 2017-05-31 | 广州华多网络科技有限公司 | Distributed service service system and its corresponding device of centralized services control method |
-
2017
- 2017-12-05 CN CN201711267720.4A patent/CN107943591A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521099A (en) * | 2011-11-24 | 2012-06-27 | 深圳市同洲视讯传媒有限公司 | Process monitoring method and process monitoring system |
CN104077180A (en) * | 2012-03-15 | 2014-10-01 | 北京奇虎科技有限公司 | Multi-process management method and device |
CN102866919A (en) * | 2012-07-31 | 2013-01-09 | 电子科技大学 | Cloud drawing-based large-sized three-dimensional scene multi-person collaborative creation method |
US20140068560A1 (en) * | 2012-09-06 | 2014-03-06 | Digital Rapids Corporation | Systems and methods for partitioning computing applications to optimize deployment resources |
CN103853743A (en) * | 2012-11-29 | 2014-06-11 | 百度在线网络技术(北京)有限公司 | Distributed system and log query method thereof |
CN104503887A (en) * | 2014-12-15 | 2015-04-08 | 北京奇虎科技有限公司 | Method and device for showing state of computing equipment |
CN104899077A (en) * | 2015-06-30 | 2015-09-09 | 北京奇虎科技有限公司 | Process information acquiring method and device based on container technology |
CN106790182A (en) * | 2016-12-30 | 2017-05-31 | 广州华多网络科技有限公司 | Distributed service service system and its corresponding device of centralized services control method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111522579A (en) * | 2020-06-22 | 2020-08-11 | 上海通联金融服务有限公司 | Version environment process detection method, device and storage medium |
CN112052088A (en) * | 2020-08-31 | 2020-12-08 | 北京升鑫网络科技有限公司 | Adaptive process CPU resource limitation method, device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10762277B2 (en) | Optimization schemes for controlling user interfaces through gesture or touch | |
US10209851B2 (en) | Management of inactive windows | |
US10409901B2 (en) | Providing collaboration communication tools within document editor | |
CN104572293A (en) | Implementation method of medical image reading system based on BS (Browser/Server) structure | |
JP2016502200A (en) | Content manipulation using swipe gesture recognition technology | |
WO2022048329A1 (en) | Menu display method and apparatus | |
US20140325418A1 (en) | Automatically manipulating visualized data based on interactivity | |
CN107480893A (en) | A kind of flow method of combination and device | |
US20140331179A1 (en) | Automated Presentation of Visualized Data | |
US10417320B2 (en) | Providing insertion feature with clipboard manager application | |
CN109766196A (en) | A task scheduling method, device and equipment | |
WO2021244343A1 (en) | Cloud computing power allocation method, user terminal, cloud computing power platform and system | |
WO2016192546A1 (en) | Method and device for updating data point of dynamic curve | |
WO2018086454A1 (en) | Page data processing method and device | |
US20160231876A1 (en) | Graphical interaction in a touch screen user interface | |
WO2016154426A1 (en) | System and methods for a multi-display collaboration environment | |
CN107943591A (en) | A kind of method of more host processes management based on linux | |
CN105320508A (en) | System for obtaining service integration workflow engine | |
US20170185966A1 (en) | Providing calendar utility to capture calendar event | |
US8886890B2 (en) | Adaptive configuration of cache | |
US9501205B2 (en) | Nature inspired interaction paradigm | |
CN103135912B (en) | A kind of method of generating run object and electronic equipment | |
US10082931B2 (en) | Transitioning command user interface between toolbar user interface and full menu user interface based on use context | |
CN104361106B (en) | The method and device of more charts switching displayings in a kind of cognos reports | |
Chen et al. | MSA: A Novel App Development Framework for Transparent Multiscreen Support on Android Apps |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180420 |
|
RJ01 | Rejection of invention patent application after publication |