Ulimitulimit-a is used to display various current user process restrictions. Linux limits the maximum number of processes for each user. To improve performance, you can set the maximum number of processes for each linux user based on the device
Judgment basis: 1. the cpu with the same coreid is hyper-threading of the same core. 2. a cpu with the same physicalid is a thread or cores encapsulated by the same cpu. Taking HP dlw.g6 as an example: ① number of physical CPUs: [root @ localhost ~]
There are still a lot of commands to check the gateway in Linux. However, if the IP address is obtained through DHCP, some commands are not applicable. of course, there are also common query gateway commands. 1.cat/ etc/resolv. conf (see DNS) 2.
If our servers are not deployed locally (usually hosted in the IDC), and there are more than one server in the IDC, when one of them is disabled, then we can remotely connect to a server that has not been shut down and start the instance remotely.
Create a user in linux 1. add an ftp user useraddftpname-d/home/ftppasswdftppwd and perform the following operations with the root permission: servicevsftpdstart to start the FTP service in Linux 2. add a common user useraddnagios?
Screen is a good thing. it has been used for a few days. If you encounter some time-consuming programs, but you can't keep on the computer to observe him, you always have to close the computer after work, then screen will come in handy. 1. if you
The vmstat command is the most common Linux/Unix monitoring tool that displays the status values of servers at a given interval, including CPU usage, memory usage, and virtual memory switching, IO read/write status. This command is my favorite Linux/
User management commands! 1. A very important part of linux user name and password management is to manage users. Not everyone can log on to the server. if someone wants to log on to the server, they must apply for relevant permissions, you can log
File management commands: ls, cd, pwd, mkdir, rmdir, cp, rm, mv, touch, cat, more, less, head, tail and so on. let's talk about it in detail (only common, not all commands) (1 ). ls command-a: All files, together with hidden files (starting. files)
1. start and exit the VI editor # vifile1 creates a new text file named file1 ~~ : Q! Exit in last line mode 2. text operations ~ : E! File1: edit the new file in the current file: r/etc/passwd to implement the file reading function: wq keep and
To improve the high availability of the system, we can bind two or more NICs to a virtual Nic and use the same IP address to ensure that a link is disconnected, another link can be started at any time to improve system stability. When you enable the
View the parameters of some common services during compilation and installation: 1. Nginx compilation and installation parameters [root @ test ~] #/Usr/local/nginx/sbin/nginx-Vnginxversion: nginx/0.7.65builtbygcc4.1.220080704 (RedHat4.1.2-48)
The netstat command displays network connection, route table, and network interface information, allowing you to know which network connections are in operation. In daily work, we usually use two parameters: netstat? An, as shown below: [root @
In Dos/Windows, rename the file. The book says that the mv should be used for renaming files or directories in Linux. I have been doing this all the time, but ignored that there is also a command named rename in Linux. All are rename, but the
I. INTRODUCTION we all know that the Internet is insecure, but most of the applications used on it, for example, Web and Email are generally provided only in plaintext transmission mode (with exceptions such as https and smtps ). Therefore, when we
This article describes in detail the roles of different running levels in startup. Linux seems to be a monster for advanced users on the DOS/Win9x/NT platform. No config. sys, no autoexec. bat, and machine configurations with personal
A hard disk is a consumable device. when used for a period of time, physical faults such as Bad Channels may occur. If a bad track occurs on the hard disk of a computer, if it is not replaced or processed in time, the number of bad tracks will
1. define the time bar using crontab-e to compile the scheduled task. the format is: reference the first five digits of the *** command, the minimum interval between minute, hour, day, month, and week cron is one minute. that is, the cron service
You can use commands to quickly replace text when editing files using vi. The following describes how to replace the first OLD of the current row with NEW: s/OLD/NEW, so the OLD is NEW: s/OLD/NEW returns all OLD values in the current file as NEW: %
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