Contents
The default version of lsof in CentOS6 is 4.82
The default version of lsof in CentOS7 is 4.87< /p>
The difference between the above two versions is shown in the figure be
Linux is a free-to-use and freely disseminated Unix-like operating system. It is a multi-user, multi-tasking, multi-threaded and multi-CPU operating system based on POSIX and UNIX. It can run major UNIX tools, applications, and network protocols. It supports 32-bit and 64-bit hardware. Linux inherits Unix’s network-centric design philosophy and is a multi-user network operating system with stable performance.
Contents
The default version of lsof in CentOS6 is 4.82
The default version of lsof in CentOS7 is 4.87< /p>
The difference between the above two versions is shown in the figure be
Two ideas:
First, execute the monitoring script regularly
Use the crontab that comes with centos to execute the status.sh script regularly as needed.
#!/bin/bash
status=$(ps
One, the type of user
1. root administrator: all permissions (rwx)
2. file owner (u): who created Who owns
3. Main group (g): user group AAA {A1,A2}
4. Other users (o): does
1. There are many ways to boot Linux. For example, I set mysql boot to start as: chkconfig –level 35 mysqld on
Second, let’s talk about booting through the rc.local file:
1 , First cre
The normal process of logging in to mysql is generally to execute the following command:
mysql -uroot -p
and then enter the password. In the local linux system, if you want to automatic
First, server side
1, create a socket:
int socket(int domain, int type, int protocol);
domain: Specify the protocol family, usually AF_INET.
type: Specify the socket type, a
First check mysql related directories under linux
Execute query SQL< /p> mysql>show variables like ‘%dir%’;
datadir is the data path
The running path is determined, and the impo
1. Introduction to the use of disk quota management
In the Linux system, due to the multi-user and multi-tasking environment, if a few users use a lot of disk space, other users’ Normal use, so yo
Process in Linux: an executable running instance that has been started
1, PID: process ID (each new process has a unique PID)
3, any process can create a child process
4, above re
①Check the work CentOS6 rpm -qa|grep mysql or rpm -qa | grep mysql
If mysql-libs exists The old version package is as follows:
must be Perform uninstallation! ! ! Uninstall command: