Use of Supervisor in Python 3
Introduction to supervisor
First, let's introduce supervisor. Supervisor( http://supervisord.org )It is a client/server service developed in Python. It is a process management tool under Linux/Unix system. It does not support Windows system. It can easily monitor, start, stop and restart one or more processes. For a process managed by supervis ...
Posted by psymonic on Wed, 19 Jan 2022 08:55:27 +0100
Learning notes of UNIX Network Programming Volume 1: socket networking API -- name and address conversion
Domain name system
Domain name system (DNS) is mainly used for the mapping between host name and IP address. The host name can be either a simple name, such as solaris or bsdi, or a fully qualified domain name (FQDN), such as solaris unpbook. com .
resource record
Entries in DNS are called resource records (RR s).
A. A record maps a ho ...
Posted by kparish on Fri, 14 Jan 2022 07:13:58 +0100
makefile concise tutorial
5 Makefile project management
Script file: put a series of commands in a file for batch execution
Name: makefile Makefile
One rule:
Objectives: dependencies
Command (1 table indent before the command)
Two functions:
#The wildcard function, together with wildcards, finds all the files in the folder . c Documents
src=$(wildcard ./*.c)
#P ...
Posted by noise on Tue, 11 Jan 2022 01:57:15 +0100
Linux - account and permission management
preface
One of the best things about Linux is its multi person and multi task environment. If you are exposed to Linux for the first time, what is the meaning of so many directories and files under Linux? Let me make a summary.
1, Manage user accounts
Compared with windows operating system, the functions of user account and group account ...
Posted by Percadan on Tue, 28 Dec 2021 23:11:19 +0100
Sockets for interprocess communication
The methods of interprocess communication described in the previous articles, such as pipeline, shared memory, message queue, etc., all depend on the shared resources of a computer system. These resources include file system space, shared physical memory, or message queues, but they can only be used on the same host. So how can we communicat ...
Posted by amclean on Wed, 22 Dec 2021 06:32:19 +0100
shell script practice III
From Chapter 2 of the second edition of shell script actual combat to improve user commands
Script 14 formatting long lines
If you're lucky, the Unix system you use already contains the fmt command, which is very useful if you work with text every day. fmt can help you format your email or fill the available page width of your document wit ...
Posted by paul2463 on Sat, 11 Dec 2021 14:20:25 +0100
Linux gossip: introduction to Select
1. Introduction to select
Under linux, we can use select for I/O reuse, monitor multiple file descriptors and judge whether there are qualified events. When using the select function, we can see whether there are readable, writable or error events.
2 function explanation
2.1 function prototype
#include <sys/select.h>
int select(i ...
Posted by juancarlosc on Sun, 05 Dec 2021 18:42:32 +0100
Threads listening for signals in the JVM and Unix domain socket communication threads
[experiment]
package com.infuq.tmp;
public class Main {
public static void main(String args[]) {
for (;;) {
try {
Thread.sleep(5000);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
}
In the above code, let the JVM not exit. Let's do so ...
Posted by randomfool on Sat, 20 Nov 2021 11:23:05 +0100
Practical test of deploying rabbitMQ image cluster
Deploying rabbitMQ image cluster
Version information
rabbit MQ: 3.8.5
Erlang: Official recommended minimum 21.3 recommended 22.x
Here's 23
Environmental preparation
Host planning
host
node
172.16.14.3
Disk node
172.16.14.4
Memory node
172.16.14.5
Disk node
Memory node:
The memory no ...
Posted by JayBachatero on Tue, 30 Jun 2020 03:06:29 +0200
vnc,vnc remote control tutorial, vnc server installation tutorial diagram.
VNC introduction
VNC is a remote control tool software. VNC is a free open source software based on UNIX and Linux operating system. It has powerful remote control ability, high efficiency and practicality. iis7 server management tool is a free VNC connection software. It supports batch opening and installation of VNC servers. It can connect m ...
Posted by ashly on Tue, 02 Jun 2020 16:50:15 +0200