Common modules of Ansible
Common modules of Ansible
Ansible provides many modules for us by default. In Linux, we can view all modules currently supported by ansible through the ansible doc - L command, view the parameters in the help document through the ansible doc - S module name, and execute the command through the ansible managed host - m module name - a 'paramete ...
Posted by ag3nt42 on Sun, 16 Jan 2022 09:30:41 +0100
Linux system calls syscall_ Detail of define
Linux source code can go here https://mirrors.edge.kernel.org/pub/linux/kernel/ Download. This article is based on linux-2.6.34. The code of the old version is simpler and easier to understand.
Little friends who have learned Linux system programming should know that the entry functions of Linux system calls in the kernel are sys_xxx, ...
Posted by bronzemonkey on Sun, 16 Jan 2022 09:07:13 +0100
centos mounts cos cloud storage server, and centos file directory mounts docker to realize sharing operation steps
Preparations: Tencent cloud configuration (at present, individuals can apply for 6-month free file storage server), centos 7, dokcer on centos, Git on centos
Tencent cloud configuration: accessKey, secretKey, bucketName, regionName
centos: Git installation (pull cosfs source code)
Operation on Cos
The cos cloud storage bucket creates a new ...
Posted by JDBurnZ on Sun, 16 Jan 2022 08:45:28 +0100
Linux processes run reliably in the background
1. Scenario requirements
Scenario: if there is only a temporary command that needs to run for a long time, what is the easiest way to ensure its stable operation in the background?
The origin of hangup name in the early versions of Unix, each terminal would communicate with the system through modem. When the user logs out, the modem will ...
Posted by z1haze on Sun, 16 Jan 2022 07:41:43 +0100
Linux: File Management: awk; Awk command
Process text files for text analysis
REFERENCE:
https://www.cnblogs.com/ginvip/p/6352157.htmlhttps://www.runoob.com/linux/linux-comm-awk.html
The Syntax of awk
awk [Option parameters] 'script' var=value file(s)
or
awk [Option parameters] -f scriptfile var=value file(s)
Option parameters
-F fs | --fiel-separator fs Specify the input f ...
Posted by juuuugroid on Sun, 16 Jan 2022 05:24:17 +0100
Principle, design and implementation of thread pool
Principle and implementation of thread pool
1. What is a thread pool
Thread pool is a form of multi-threaded processing. Threads are created in advance and placed in a queue for management. When a task needs to be processed, the task is assigned to a specific thread for execution. Improve performance by reducing thread creation, destruction, ...
Posted by sharpmac on Sun, 16 Jan 2022 05:19:29 +0100
Linux | Shell learning notes Shell process control if, case, for, while| read read the use of input | functions | cut, sed, awk, sort commands + Demo
reference material
Video link
Operating environment
windows10Linux CentOS 7Xshell 7
1, Process control
1.1 if judgment
Basic grammar
#Writing method I
if [ Conditional judgment ]; then
program
fi
#Writing method 2
if [ Conditional judgment]
then
program
fi
Precautions: (1) [conditional judgment], there must be a space ...
Posted by chaking on Sun, 16 Jan 2022 04:10:52 +0100
4. Processing of internal check device tree -- Transforming dtb into device_node(unflatten)
This section describes how dtb is converted to device node device_node. In fact, each device node is a structure.
Reserve the memory space where the dtb is located
Before explaining the device node, let's think about a problem.
Q: we put dtb files in a certain part of memory through uboot. Don't we have to worry about this memory being used ...
Posted by Lateuk on Sun, 16 Jan 2022 02:03:55 +0100
7 very practical Shell script examples!
The day before yesterday, I saw a reader sharing several Shell script example topics in the group. I simply saw them. Why not write and consolidate the basic knowledge, as follows:
1. Concurrently obtain the hostname from several machines, record the time spent returning the information, and redirect to a file hostname Txt, output the CPU info ...
Posted by alecapone on Sun, 16 Jan 2022 01:39:14 +0100
Linux text three swordsmen -- grep, sed, awk
Linux text three swordsmen – grep, sed, awk
The three functions are all text processing, but the emphasis is different, among which awk is the most powerful and complex. grep is more suitable for finding or matching text in a single flush, sed is more suitable for editing the matched text, and awk is more suitable for formatting text ...
Posted by aesir5 on Sun, 16 Jan 2022 01:16:41 +0100