1. uptime command
Uptime
Output: 16: 11: 40 up 59 days, 2 users, load average: 0.00, 0.01, 0.00
As shown in:
2. View/proc/uptime file calculation system startup time
Cat/proc/uptime
Output: 5113396.94 575949.85 the first digit is 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
In centos, you can use the rm command to delete files. However, if you want to delete a file with garbled file names, you cannot directly use the rm command because the file name cannot be output at all. However, the find command can be used to
You can use commands to quickly Replace text when editing files using vi. The following describes some of its modes.
Replace the first OLD value of the current row with NEW: s/OLD/NEW, and replace the OLD value with NEW: s/OLD/NEW. replace all OLD
Use pxe in linux for Automatic Installation
First install and start the vsftp server.
Copy the installation tree to the server. You can copy the installation tree to the pub directory under ftp for convenient access.
Next we should start to
Linux Command lines attract most Linux enthusiasts. A normal Linux User generally has about 50-60 commands to process daily tasks. Linux commands and their conversion are the most valuable treasures for Linux users, Shell script programmers, and
Environment: when you start to learn about network services, to build a service, you need to use some basic network-related commands. This article will teach you how to demonstrate some basic network service commands.
LinuxCommon network service
-----------------------------------The word "Linux" should be "Linus Torvalds" according to its own pronunciation"['Li: n э ks] the accent is on the "li"-----------------------------------The above conclusions come from the red-flag Linux Technical
1 Overview 1.1 factors affecting Linux Service Program Performance
CPU, memory, disk I/O bandwidth, network I/O bandwidth1.2 Performance Evaluation
CPU: user % + sys %
Memory: Swap In (si) = 0; Swap Out (so) = 0; the Swap partition is not used. If
If the sub-swap partition of the installation host is not too large
Create a swap file
Mkdir/var/swap # create a folder to store swap partition files, and decide chmod700/var/swap # modify swap partition folder Permissions
Describes how to use
1. install the software (extundelete depends on the system's e2fsprogs three software packages)
[Root @ redhat1 home] # mkdir/mnt/cdrom -- create a CD Mount directory
[Root @ redhat1 home] # mount/dev/cdrom/mnt/cdrom-attach a cdMount: block
Wc [word count]
Name wc-print the number of newlines, words, andbytes (word count)
In files
Syntax wc [option] files
Function Description: counts the number of characters in the number of bytes in a specified file. If no file is specified, it is
The iostat command is used to monitor the load of system input/output devices.
Run the following command during installation:
Yum install sysstat
You can.
[Root @ zhaopin] # iostat
Linux 2.6.18-164. el5
Avg-cpu: % user % nice % system %
When you remotely log on to linux using telnet or SSH, if the connection is interrupted abnormally, the system opens a new session and cannot restore the original session. The screen command can solve this problem.The Screen tool is a terminal multi-
The wc (Word Count) command is used to Count the file content, including the number of lines and characters.[Python] view plaincopy
# Display file content information. The output information is the number of lines, number of words, number of
IntroductionLinux asynchronous I/O is a new enhancement provided by the Linux kernel. It is a standard feature of the 2.6 kernel. The basic idea behind asynchronous non-blocking I/O is to allow the process to initiate many I/O operations without
When the disk size exceeds the standard, an alarm is triggered. it is wise to master the df and du commands. Df allows you to view the size, usage ratio, file system, and its mount point of a level-1 folder, but there is nothing to do with
When I reinstalled an old server yesterday, I found that the Intel hardware RAID Controller has a problem and cannot identify all hard disks. However, during operating system installation, I can identify all hard disks. Another problem is that the
Drwxr-xr-x Usage Details:
The first value indicates the file type. D is a directory file, l is a link file,-is a common file, p is a pipeline
The second-to-second digit indicates the owner of the file has the permission. r indicates read, w
For example, how many software packages are installed in a CentOS-6.5-x86_64 with minimal installation?1. How many software packages have been installed? [Plain] view plaincopy
[Root @ localhost ~] # Rpm-qa | wc-l
217
2. How do I know which
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