CPU Performance Metrics
1. Ratio of CPU used by user process
2. Ratio of CPU used by system process
3. Wio, waiting for I/O but the CPU is in idle state ratio.
4. CPU Idle Rate
5. CPU Ratio for context exchange
6,nice
7,real-time
8, run the length
first section CPU utilization and CPU load
Under Linux/unix, CPU utilization (CPU utilization) is divided into user state, System State and idle state, respectively, the CPU is in user state execution time, system kernel execution time, and idle
One: Introduction
In any computer device, files are all necessary objects, and in Web programming, the operation of files has always been a headache for Web programmers, file operations in the CMS system this is necessary, very useful, we often
Processor usage
Here you will extract four data from/proc/stat: User mode (users), low priority user mode (NICE), kernel mode (System), and idle processor Time (idle). They are all located on the first line of the/proc/stat file. CPU utilization is
1, the characteristics of MySQL:1) multithreading, multi-user2) based on C/S (client/server) architecture3) Easy to use, fast query speed4) Safe and reliable2, MySQL compilation installation (* on behalf of the Keyboard tab key)1) Ready to work:
1. Create a new user accountUseradd-The user name of the new parameterParameter description:-C remarks > Add note text. Note text is saved in the remarks field of the passwd. -D login directory > Specify the start directory for user login. -eDate >
Logical Backup MysqldumpThe Mysqldump Backup tool was originally written by Igor Romanenko and is typically used to complete a backup of the dump database and porting between different databases, such as upgrading from a low-version MySQL database
This article will share some common Linux command detailed usage, hope can give everybody some helpChange the directory's instruction CD
CD Path : Enter the specified directory
CD or CD ~: Enter your home directory
CD- : Go to the
File attributes (Ls-lhi see the information)1.1 First column: Inode number 1.1.1 What is inodeThe file is stored on the hard disk, and the minimum storage unit for the hard disk is called "Sector" (sector). The size of each "sector" is 512 bytes
1. PrefaceWork involves file systems, and sometimes it is necessary to determine whether files and directories exist. I combined apue fourth chapter file and directory, summed up how to correctly determine the existence of files and directories,
1. Powerful and usable shellShell: command-line tool. Bash: A terminal used by many mainstream Linux systems (Bourne-again Shell).2. View Help CommandsLong format: Man--help; short format man-hView command details: Man [command]For example, man man
Basic Commands-2Compression and archivingPackaged:Archive, similar to packing before travellingCompression:To reduce the amount of disk space used, backups can be made to save network bandwidth when transferred over the network.Packaged compression
Linux timed Task crontab
Cron Service
Cron is a timed execution tool under Linux that can run a job without human intervention.
Service Crond Start//Startup servicesService Crond stop//Shutdown servicesService Crond restart/
Directory Management:LS cd pwd mkdir rmdir treeFile Management:Touch Stat file RM cp mv NanoDate Time:Date Clock Hwclock calTo view text:Cat tac more less head tailCat: Connect and display (can connect to display multiple files)Split screen
IntroductionMpstat is the abbreviation of multiprocessor statistics and is a real-time system monitoring tool. Some statistical information about its report and CPU, which is stored in the/proc/stat file. In a multi-CPUs system, it not only can view
First, the Linux system structure1.Linux is an inverted tree structure. Everything in Linux is a file. These files are in the top-level directory of the System "/", "/" is the root directory. The "/" directory below is a level two directory, which
Regular Expressions1. Use du-sh/* to see how much memory is consumed by all directories under the root2.lsof-i: view Port3. empty the file,cat/dev/null>access_log empty a file4. If you are creating a directory under the Oldboy/ett directory, what
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.