Detailed explanation of zombie process and orphan process in PHP
Zombie process
When the child process finishes running, the parent process continues to run, but the parent process does not recycle the child process, freeing the resources occupied by the child process, then the child process becomes a zombie process.
In Unix process management, if the new child process is finished, the parent process will re ...
Posted by move3rd on Thu, 21 May 2020 00:31:00 -0700
Handling mining zombie network dota3 Trojan attacks under CentOS7
In the early morning, I received alert text messages from Ali cloud server.Emergency security incident: access malicious download source, access malicious download IP.Instant wake up, immediately get up to handle.
First log in to Aliyun backstage, check the security center's warning mascot, found several records:
Parent process path: /usr/bin ...
Posted by lur on Wed, 20 May 2020 09:57:35 -0700
abandon os.path , embrace pathlib
Based on Python's file, directory and path operations, we usually use os.path modular.
pathlib is its replacement in os.path On the basis of the encapsulation, the path is objectified, the api is more popular, the operation is more convenient, more in line with the thinking habits of programming.
The pathlib module provides classes that use sem ...
Posted by SuNcO on Tue, 19 May 2020 20:44:08 -0700
RHEL7 does not have a graphical interface. Install the graphical interface
Background:
When a RHEL7 machine is newly built, there is no graphic interface????
reason:
The system was created without graphing installed
The default run level of the system is not graphical
After the system is installed, there are operations to reduce the memory. If the memory is too low, the desktop cannot be ...
Posted by spicerje on Thu, 30 Apr 2020 18:41:29 -0700
MySQL function of database
1, Date and time functions
1. Function to get the current dateIt's the same. It's different
CURDATE(): used to get the current date of the systemCurrent "date() is used by the system to get the current date
mysql> select CURDATE(),CURRENT_DATE();
2. Get function of current time
CURTIME(): used to get the current time of the system ...
Posted by deerly on Fri, 24 Apr 2020 10:12:24 -0700
RedHat 7.0 set weblogic to start automatically after power on
1 Description
The system CTL tool is required to set the startup and self start.
systemctl is a systemd tool, which is mainly responsible for controlling systemd system and service manager.
SYSTEMd is a collection of system management daemons, tools, and libraries to replace the System V initial process. The function ...
Posted by nalkari on Mon, 13 Apr 2020 10:39:17 -0700
Moment.js display Chinese
Moment.js display Chinese
1, Reference article: moment.js add Chinese language (Chinese)
2, Start
0. Premise background
Recently, I was working on a project of wechat applet, in which time stamps are needed. Then I thought of using Moment.js to process the class library, wrote a piece of code, tested it, and the prin ...
Posted by hhawkins on Thu, 02 Apr 2020 23:41:43 -0700
LDAP/SASL/GSSAPI/Kerberos programming API--krb5 client
There are two libraries available for krb5 API: MIT and Heimdal. The APIs of the two libraries are different. It is basically OK for one client's API to connect to the otherThe two kadmin libraries in API are completely incompatible. From the kadmin application tools of MIT and Heimdal, it can be seen that it is not successful to connect the k ...
Posted by AdRock on Tue, 17 Mar 2020 22:47:23 -0700
Getting started with Go language - process control
go process control
String explanation
String principle
The bottom layer of string is a byte array, so it can be converted to and from [] byte type
Characters in a string cannot be modified
String is composed of byte, so the length of string is the length of byte
The run type (int32 in four bytes) is used to represent utf8 characters. A run co ...
Posted by fredted40x on Sat, 14 Mar 2020 08:37:41 -0700
One article on the four main uses of Go Language Select
This article introduces you to the use of Select in the Go Language and believes that you are not unfamiliar with switching. However, select and switching have a common feature that they both handle things in a case way, but select and switching handle things completely different and incompatible.Let's see what switching is like: various types ...
Posted by wafawj on Tue, 10 Mar 2020 10:28:21 -0700