linux Learning Lesson 28

Catalog 1 awk command 1 awk command Copy exercise files [root@worker1 dir9]# cp /etc/passwd ./testpasswd Print the first field [root@worker1 dir9]# head -n2 testpasswd | awk -F ':' '{print $1}' ROOT bin Print entire line [root@worker1 dir9]# head -n2 testpasswd | awk -F ':' '{print $0}' ROOT:x:0:0:roooot:/root:/bin/ ...

Posted by stickynote427 on Wed, 30 Jan 2019 21:06:14 -0800

Out of memory, OOM killer output information analysis

When out of memory occurs, the out_of_memory function chooses a process that the kernel considers guilty of allocating too much memory and kills the process. There is a high probability of freeing up more free pages and then jumping back to retry the memory allocation operation. Here we do not discuss out_of_memory function pr ...

Posted by thegreatone2176 on Sun, 16 Dec 2018 16:21:05 -0800

Raspberry Pi AP Functional Improvement: System D Service Encapsulation and the Use of dnsmasq

PrefaceIn the last article "Raspberry pi Setting up Automatic Dial-up, Building Wireless Routing Environment", the author uses hostapd and udhcpd programs to create wireless hotspots, address allocation and DNS server settings. This article will improve the raspberry pie AP based on the environment of the previous article: using dnsma ...

Posted by weaselandalf on Tue, 11 Dec 2018 13:18:05 -0800