View the folder size in Linux and the remaining disk space (du/df)1. Introduction
View the directory size in du, and view the disk usage in df.2. du
Disk usage(1) Basic functionsRecursively view the size of all files in a folder(2) common parameters:
Getting started with C Programming in Unix/Linux (39) shell Command System Management, getting started with shellDf command
This function is used to detect disk space usage and free space in a file system. It displays the usage of nodes and disk
I. Structure Description1. The data of the MFs client is created by Mount or the web server calls the content to be uploaded to the MFs client through a program (equivalent to the original NFS image server ).2. The master metadata server is
1, the difference between the twoDu,disk usage, is to calculate the size of each file by searching for files and then add up, du can see the files are just some currently exist, and it has not been deleted. The size of his calculations is the
BtrfsTechnical Preview, Technical previewsBtrFS (B-tree file system, also known as butter FS or better FS), 2007 by Oracle Open Source, by the IBM, Intel and other manufacturers of strong support, the goal is to replace the current Linux ext3/ 4,
I. Understanding the EXT2 file System: A, the composition of the hard disk: rotating small motor + storage disk + read/write picker B, some concepts of disk & nbsp sector is the smallest physical storage unit, each sector is 512b
DfFunctionDisplays the maximum available space and usage for all current file systemsParameters-A: Displays all file systems and disk usage for each partition-I: Show i-nodes usage-K: size is represented by K (default value)-T: Displays all
1. What is quotaSimply put, limit the amount of disk space users use.Because Linux is a multi-user multitasking operating system, many people share disk space, in order to allocate disk space reasonably, so there is a quota appearance.Use of
Hardware firewall is an important barrier to protect the internal network security. Its security and stability, directly related to the security of the entire internal network. Therefore, routine checks are important to ensure the security of a
DF Command verbose usage
A: Displays all file systems and disk usage scenarios for each partition
I: Show the usage of i-nodes
K: size is denoted by K (default value)
T: Displays all partition disk usage for one file system
X: Displays all
Now all of the popular automation operations, may not be the current technology, many automation tools are not used, so this time only through SSH to achieve the function.Description: A simple script of your own, just to achieve the basic
Manually record the hardware information of each server and it has already passed. You can write and capture the information everywhere through scripts or automated tools. This article mainly uses saltstack as a tool, then, you can use the APIS
How much does Virtual Machine spreading cost? -- Linux Enterprise Application-Linux server application information. For details, refer to the following section. Virtual machines: they are easy to create, easy to deploy, and easy to spread without
Use of ansible
Introduction:
Ansible is designed for convenient and quick configuration management. With ansible, You can simplify and standardize complex configurations and make them easier to control. Ansible can achieve 100 and 1000 batch
(1)In a large folder, I want to find a file containing a certain string, for example, find the file where the function fastatan2 is located in the opencv folder.
Find and grep. The find command is used to find a specific file (directory) in the
Scenario Description: My host is Windows 7, virtual machine is wmware, which is installed in the linux-ubuntu10.04 version.
The disk partition of the virtual machine is not enough and you want to resize it.
1) First, go to Linux in the VM and
-EQ equals
-Ne is not equal
-GT greater
-Ge is greater than or equal
-Lt is less
-Le is less than or equal
SEQ 1 30 numbers from 1 to 30
Touch-mt2010030303.03 $ dir: Modify the directory time format
STAT/tmp/1.dir view the modification time
Lines
When a Linux system encounters a problem, we not only need to view the system log information, but also need to use a large number of performance monitoring tools to determine which part (memory, CPU, hard disk ......) An error occurred. In Linux,
Hadoop's HDFs clusters are prone to unbalanced disk utilization between machines and machines, such as adding new data nodes to a cluster. When there is an imbalance in HDFs, there are a lot of problems, such as the Mr Program does not take
CentOS File System parsing and related commands
Introduction
A file system is a logical set of all files in a partition or disk.The file system contains not only the data in the file but also the structure of the file system. All files, directories,
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.