As a linux system administrator, the main task is to optimize system configuration so that applications can run in the optimal state on the system, however, due to the complexity and variability of hardware, software, and network environments, the
If you remotely log on to another server through ssh from a linux server,This situation is usually used when multiple servers are used.Because a firewall is often set up for the server and cannot directly access a server on the internet,To be
The date command can get the current time. man shows that many parameters of date can be used, which is easy to format. For example:
Date + "% F" output format: 2011-12-31date + "% F % H: % M: % S" output format: 2011-12-31 16:29:50
This is to
1. Network Configuration
# Ifconfig eth0
Description of ifconfig command display information:Link encap network interface type, such as Ethernet or PPPThe Mac address of the HWadrr Nic. Each network card has its own ID, which is used to locate the
After logging on to the system, you will have a default permission when creating a common file or directory. The common file is 644, And the directory file is 755. We all know that this is determined by the umask value. You can run the umask command
Use 'top-I 'to check how many processes are Running. The system may have memory or I/O bottlenecks. Use free to check whether the system memory usage is high, use iostat to check the I/O load...
Another method is ps-ef | sort-k7, which sorts
In the SMP system, our applications often use multithreading technology. How can we view multiple threads of a process in Linux?
This article describes how to view the Linux threads (LWP) by using three commands:
In my system, I started an SMP Guest
Add sudo to a command to execute the command with the permissions of the Super User. But not any user can use sudo. This command can be used only when the user belongs to The sudo group.If you want to add a user to The sudo group, you can log on to
Ifconfig
Function Description: The Ifconfig command can be used to obtain the network interface configuration information of a device and modify the configuration. However, after the device is restarted, the information will be cleared. If you want
Symlinks (symbolic links)Function Description: tool for maintaining symbolic connections.
Syntax: symlinks [-cdrstv] [Directory]
Note: symlinks can check the symbolic connection in the directory and display the symbolic connection type. The
Introduction: centos generally has an iptables firewall. Because the vps of the centos System in hyper-v architecture adopts the IPTABLES setting method widely circulated on the Internet, port 22 of ssh cannot be modified, if you modify the ssh port,
A chance of accidentally installing a DB database found that the installation was slow, so the system engineer suggested that I test the hard disk read/write speed and found that the read/write speed was only about 200,
The machine is dellR710
1. Concept of average load in Linux
Sometimes we feel that the system response is slow, but we cannot find the cause. Now we need to check the average load to see if there are a large number of processes waiting in the queue. The average number of
Recently, hadoop was developed on Linux, So I installed a virtualbox Virtual Machine and installed a centOS system on the virtual machine. Linux is installed, but network configuration is another headache. I mainly want to allow the host machine and
Multiple multi-core CPUs are now the mainstream servers. Many applications, such as Squid and nginx, have the ability to distribute processes or threads to different CPU cores.
How can we view the distribution of different processes in the CPU core.
By default, Linux reserves a lot of space for caching (almost all) for accelerating file IO. When a large number of reads and writes occur in the system, the page cache often consumes physical memory. Although there is no danger of swap to the hard
The latest CentOS version is 6.5, which provides the iso image for minimal installation (32-bit 285 M, 64-bit 322 M), the previous 5. version x is not provided separately. It is a good news for us to develop these products. Whether it is download or
I thought that when I first got started with linux, my brother forgot the root password after installing the system. I re-installed it once every time I forgot it. At that time, I never thought about how to change the root password. Later, one day,
CentOS (Community ENTerprise Operating System) is one of the Linux releases. It is compiled from the source code that Red Hat Enterprise Linux releases according to open source code regulations. Because of the same source code, some servers that
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