Suddenly, I received an alarm email from Zabbix saying that the hard disk space is in alarm. I quickly boarded the server and checked the utilization rate of the hard disk with df. I found that the used space is indeed low, as follows:
# Plus - h makes it easier to see the size of the space
The output results ...
Posted on Mon, 04 May 2020 11:15:08 -0700 by kylevisionace02
A MySQL proxy implementation of read-write separation
First of all, it is necessary to implement master-slave replication on two servers, server3 and server4. server3 is the master and server4 is the slave.
1. Extract the MySQL proxy package to / usr./local directory, and rename the extracted package to MySQL proxy. Create di ...
Posted on Sat, 04 Jan 2020 04:07:30 -0800 by rossmurphy
[root@CentOS7 ~]# lsof -h
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-f[gG]] [+|-e s]
[-F [f]] [-g [s]] [-i [i]] [+|- ...
Posted on Tue, 24 Dec 2019 01:05:28 -0800 by buttercupgreen
This article assumes that you already have the PHP environment of the Linux operating system. It is highly recommended to use Vagrant to build the development environmentInstall Swoole PECL expansionIt can be compiled and installed through pecl command or source package. In this paper, we use pecl command to install Swoole and input it on the c ...
Posted on Tue, 05 Nov 2019 01:49:24 -0800 by beckjoh
Sometimes we need to know which port is being used by which process / application in the computer. At this time, we need a very convenient instruction: lsofThe command lsof means list open files. In unix system, everything is file, including tcp/udp connection.Example: lsof -n -P -i TCP | grep LISTENflag: -n refers to number instead of letter d ...
Posted on Fri, 01 Nov 2019 12:30:52 -0700 by riffy
1. Use netstat to view ports
Using netstat-anp | grep 80
2. use lsof
Lsof-i: Port number to see if a port is occupied
3. Remote Login 200 Port Address
ssh -p 22 firstname.lastname@example.org (important)
4. View configuration files
5. View the 200-rpc.sh configuratio ...
Posted on Tue, 08 Oct 2019 09:36:43 -0700 by mikes1471
1. vmstat command Virtual Meomory Statistics
2. dmesg command
III. free Order
IV. Viewing CPU Information
6. Viewing System and Kernel Related Information
List file information that process calls or opens
1. vmstat comm ...
Posted on Wed, 14 Aug 2019 03:01:36 -0700 by pixelsoul
In the use of Linux system, it is sometimes found that a large number of files (especially log files) have been deleted, but with du to view the disk, the space is still not reduced. This very strange problem has recently encountered. This article describes the causes and consequences, and gives some pe ...
Posted on Thu, 01 Aug 2019 22:31:28 -0700 by bleh
First we need to create a zookeeper folder under / usr/local
Upload to local directory
tar -zxvf zookeeper-3.3.6
mv zookeeper-3.3.6 /usr/local/zookeeper
Create a data directory under zookeeper
Enter the conf folder under the installation directory
cd zookeeper ...
Posted on Thu, 16 May 2019 22:47:53 -0700 by vcv
The technical details of this article are not universal, but the thought process of the investigation is worth mark ing. The last time we encountered such a fault on the stimulation line, it took three hours from March to March this year. It's still fast, and it's also the latest little egg.
Yesterday at coding, my colleagues in the test grou ...
Posted on Thu, 20 Dec 2018 02:18:05 -0800 by Delaran