Process and scheduled task management
Relationship between program and process
program
● executable codes and data stored in hard disk, optical disk and other media ● statically saved code in the file
process
● program code running in CPU and memory ● dynamically executed code ● parent and child processes: each program can create one or more processes
View proces ...
Posted by spiffy577 on Sat, 19 Feb 2022 07:04:04 +0100
Java Engineer's road to God IO
Original author: Hollis
Character stream, byte stream
Bytes and characters
Bit is the smallest binary unit and is the operating part of the computer. Value 0 or 1
Byte (byte) is the smallest unit of computer operation data, which is composed of 8 bit s. The value (- 128-127)
Char (character) is the smallest readable and writable unit of th ...
Posted by annette on Sat, 19 Feb 2022 03:49:54 +0100
IM Logon Server and Message Server Design
I recommend a free open course for the zero acoustics academy. I think the teacher has done a good job. Share it with you: Linux, Nginx, ZeroMQ, MySQL, Redis, fastdfs, MongoDB, ZK, streaming media, CDN, P2P, K8S, Docker, TCP/IP, protocol, DPDK and other technical content, learn now
2 IM Logon Server and Message Server Design
1. Communication ...
Posted by SoccerGloves on Sat, 19 Feb 2022 03:10:26 +0100
linux: threading & & multithreading
thread
1. Linux thread concept
A thread is a subtask that runs independently in a process. It can be understood as a "lightweight process". There can be multiple threads in a process, and these threads use the same PCB.
1. An execution route in a program is called a thread. A more accurate definition is that a thread is "a se ...
Posted by JTapp on Sat, 19 Feb 2022 02:06:42 +0100
What you see may be an illusion. Four configurations of DNS domain name resolution experiment Linux DNS domain name resolution service
I BIND domain name service foundation
In daily life, people are used to using domain names to access servers, but machines only recognize IP addresses. There is a many-to-one relationship between domain names and IP addresses. An IP address does not necessarily correspond to only one domain name, and a complete domain name can only corres ...
Posted by senatedc on Sat, 19 Feb 2022 01:41:05 +0100
You have to learn the complete ELK construction tutorial
1, ELK introduction
1. What is ELK?
"ELK" is an acronym for three open source projects: Elasticsearch, Logstash and Kibana.
Elasticsearch is a search and analysis engineLogstash is a server-side data processing pipeline, which can collect data from multiple sources at the same time, convert data, and then send data to "reposit ...
Posted by mlewczuk on Fri, 18 Feb 2022 22:51:44 +0100
Unix/Linux socket collation -- address structure
preface
Students who have read UNIX network programming know that this book introduces all aspects of sockets in detail, and gives each structure Implementation code file of system API. However, with the continuous development of technology, the kernel of the operating system is constantly updated. The book describes the relevant address struc ...
Posted by lilywong on Fri, 18 Feb 2022 21:23:57 +0100
Redis database - introduction, deployment and common commands of redis
1, Overview of relational database and non relational database
1. Relational database
Relational database is a structured database, which is created on the basis of relational model (two-dimensional table model) and is generally record oriented. SQL statement (standard data query language) is a language based on relational database, whic ...
Posted by McMaster on Fri, 18 Feb 2022 20:13:39 +0100
Linux common commands
1, Basic command
1.1. Startup and login
Boot will start many programs. They are called "service s" in Windows and "daemon s" in Linux. After successful startup, the text login interface will be displayed, which will not be displayed when entering the password. Generally speaking, there are three ways for users to log i ...
Posted by nickholt1972 on Fri, 18 Feb 2022 15:32:48 +0100
lcd driver using linux kernel
LCD driver under Linux
In linux driver development, it is essential to use lcd for human-computer interaction. Therefore, how can we initialize lcd in the kernel?
1. LCD screen IO configuration
Open dts device tree file, create lcd child nodes in iomuxc
pinctrl_lcdif_dat: lcdifdatgrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0 ...
Posted by rubbertoad on Fri, 18 Feb 2022 14:51:27 +0100