In a UNIX system, a process ends, but his parent process does not wait (call Wait/waitpid) him, then he will become a zombie process. In the fork ()/execve () procedure, when the parent process is still present at the end of the child process, and
Linux file structure, there is a very magical directory--/usr. has not been how to pay attention to it before, anyway, the program is installed in the inside, and there is nothing to be traced to things. Until one day, fedora to simplify the entire
Often we encounter some problems, the process of writing files, writing is very slow, and the total number of Io (BI,BO) is very low, but the Vmstat display iowait is very high, is the following figure in the WA option.Iowait_oenhan
The man Vmstat
Example One
/script/cut_log.phps automatically cuts the Nginx Web Access log. The default will save 7 days of log, according to the hard disk space situation adjustment, as much as possible to save more log. This log is very important, such as the
The Open-falcon Agent project was preceded by a stand-alone project named Falcon-eye, which comes from the Linux-dash project with its own web page. Agent used to collect machine load monitoring indicators, such as Cpu.idle, Load.1min, Disk.io.util,
I use the putty, follow the operating procedures of this VPS, record these common commands
passwd: Modify Password
Cd:current Directory: access to catalogue;
Eg:cd/home into the home directory; CD/to root directory
Ls:list: Lists the current
Modify the/etc/sysconfig/network corresponding network card, append:
The code is as follows
Copy Code
Networking_ipv6=no
2. Modify the/etc/hosts, the IPv6 of the local host name resolution also commented out:
Phenomenon:
1. External machine can not connect ssh properly
2, introverted outside can not normal ping through, domain name also can not normal parsing.
Problem Troubleshooting:
through NETSTAT-ANP | grep time_wait | wc-l command to view the
Received a colleague to be disabled, the program again crash, but can not find core, and should produce core, the system is sure where there are bugs.
First of all, from the system level to check out:
1. Find the other program's PID number, then
Recently, the company has a need to use multiple ADSL access to a Linux server and do NAT use, but also to achieve bandwidth load balancing. After searching for some information on the Internet. Record the important points in the process and stay in
Linux Split command
Function Description: Cutting file.
Syntax: Split [--help][--version][-][-b ][-c ][-l ][files to cut [output FILENAME]
Add: Split can cut the file into smaller files, preset every 1000 lines cut into a small file.
Parameters
Let's take a look at the load map.
For half a day. Some optimizations are made:The number of visits is not that high when the optimization is complete. So I don't know what the effect is. Let's see how it works.[Root@localhost ~]# Netstat-an | grep
I. Check if your Linux machine has its own JDKJava-version check can be, if there is a need for the compilation of different versions, first uninstall, and then install the required version of the compilationJDK installation and configuration.(1)
Sometimes you find that you cannot modify a file with root permissions, most of all because you have locked the file with the chattr command. The chattr command is very useful, some of which are supported by the Linux kernel version, but the
The SSH service consists of the server-side software OpenSSH and the client (common Ssh,securecrt,putty,xshell), the SSH service is provided by default with Port 22, and it has two incompatible versions of the SSH protocol, 1.x and 2.x
Compile error output to a text file under LinuxCommand > FileName redirect the standard output to a new fileCommand > > FileName REDIRECT standard output to a file (append)Command 1 > Fielname redirect the standard output to a fileCommand > FileName
The NL command is used in a Linux system to calculate the line number of a file. NL can automatically add a line number to the output file content! The default result is a bit different from Cat-n, NL can make the line number more display design,
To copy files from Windows to a Linux server, use the Putty program Pscp.exePlace the Pscp.exe under the Windows C:\windows\system32\ directory, which can be run anywhere, without the Pscp.exe file placement path."Run"-->cmd--> the import File
1, Anaconda IntroductionAnaconda:fodora Maintenance of Linux system installation programAnaconda divides the entire Linux system installation process into 2 phases: Pre-installation configuration: Select keyboard type, language during
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service