=" Http://s1.51cto.com/wyfs02/M00/80/6D/wKioL1dBdiORH6S6AAAh9ddElI0452.png "title=" Picture 4.png "alt=" Wkiol1dbdiorh6s6aaah9ddeli0452.png "/> 2. Find by File size-size N:[c] finds files with a file length of n blocks, with C indicating the length of the file in bytes.b--block (512 bytes); c--byte; w--Word (2 bytes);k--kilobytes; m--megabytes; g--gigabytes.1) find./~-size +200k//file greater than 200k650)
.png "title=" 31.png "alt=" Wkiom1c-hz7tilrgaadyhxhl4ta177.png "/>Other regular expressions include the following:-A with conditions-O or condition-not Non-conditional (the function of this parameter is similar to the negative parameter '! ') 2. Search by file size -size N:[c] finds files with a file length of n blocks, with C indicating the length of the file in bytes.b--block (512 bytes); c--byte; w--Word (2 bytes);k--kilobytes; m--
mask, gateway, DNS modify/ect/sysconfig/network-scripts/ifcfg-eth0 Modify the onboot= "no" to onboot= "yes" service Network restart restart networking service Span style= "font-size:15px;" > package management: rpm-ivh install RPM package yumsearch keyword query keyword-related packages yum-y Install package name installation -y Auto Answer yes yum-y Remove Package name package Uninstall File System command:df[option [Mount point] File system view-a displays all file sy
du [-ABCDHHKLMSSX] [-l Common parameters:-A or-all displays disk usage for each specified file, or displays the respective disk usage for each file in the directory.-B or-bytes displays the directory or file size, in bytes.-C or –total displays the sum of all directories or files in addition to the size of the directory or file.-D or –dereference-args displays the source file size for the specified symbolic connection.-H or –human-readable in k,m,g to improve the readability of the information.-
Free is used to display system memory usage and has been confusing the output of the, which is summarized as follows:123 4 5 6The output of the free command comes from the file/proc/meminfo, which is displayed by default in kilobytes, and can be displayed in megabytes with the-m option, dividing the output into 4 rows and 3 columns for convenience, fo[1][1] represents the first row of the first column of th
mounted (mount point)② display of capacity results in an easy-to-read capacity format③ all special file formats and names in the system are listed④ the available disk capacity below/etc is displayed in a readable capacity format ⑤ Lists the number of inode numbers currently available in each partitionDu parameters:- A: Lists all files and directory capacity, because the default is only the amount of files under the statistics directory;-H: displayed in a more readable capacity format (g/m);
(1) File System view command: DF [option] [Mount Point]-a displays all file system information, including special file systems such as/proc/sysfs-H Use custom units to display capacity, such as KB,MB or GB-t display file system type-m displays capacity in megabytes-K displays the capacity in kilobytes. The default is KB(2) Statistics directory or file size: du [options] [directory or file name]-a displays t
the file is full)-K or--kilobytes: Specifies a chunk size of 1024 bytes;-L or--local: Displays only the local file system;-M or--megabytes: Specifies a chunk size of 1048576 bytes;--no-sync: Do not perform sync instructions before obtaining disk usage information, this is a preset value;-P or--portability: use POSIX output format;--sync: Before obtaining the disk usage information, perform the sync instruc
Bandwidth or flow rate unit:
Kbps
Kbyte/sec
Kilobytes per second
Mbps
Mbyte/sec
Megabytes per second
Kbit
Kbits/sec
Mbit
Mbits/sec
1 , Analog Delay Transfer# TC Qdisc Add dev eth0 root netem delay 100msThis command sets the transmission of the eth0 NIC to a delay of 100 milliseconds to send.In a
memory is not enough, the system will be used to swap, but the swap speed than the real memory speed is much slower, when your computer used swap, it means that you do not have enough memory, need to add memoryFreeDescription: Displays the memory status.Syntax: free [-bkmotv][-s Additional Note: The free instruction shows memory usage, including physical memory, virtual swap file memory, shared memory segments, and buffers used by the system core.Parameters-B Displays memory usage in bytes.-K d
:18./.viminfo-RW-------. 1 root root 1087 6? 21:14./anaconda-ks.cfg[Email protected] ~]#Find by File size -size [-/+]n' B ' for 512-byte blocks (the "the default if no suffix is used)' C ' for bytes' W ' for two-byte words' K ' for kilobytes (units of 1024x768 bytes)' M ' for megabytes (units of 1048576 bytes)' G ' for gigabytes (units of 1073741824 bytes)[Email protected] ~]# find-size +20000c [[email
continuously, the default value is 5 SF or F Add or remove items from the current display o or O change the order of display items L toggle display average load and start time information m Toggle display memory information T toggle display process and CPU status information C Toggle display command name and full command line M Sort based on resident memory size p sort by percentage of CPU usage T sort by time/cumulative time W writes the current setting to the ~/.TOPRC fileThe free command can
: Displays the capacity in kilobytes;-M: Displays the capacity in megabytes.4. LN [-SF] sourcefile desfile: Connection file.Parameters:-S: If you do not add any parameters to connect, is a hard connection,-S is a symbolic connection;-F: If the file exists, proactively delete the target file after it is created.5. Fdisk [-l] Device name: Disk partitionParameters:-L: Outputs all of the partition contents of t
LinuxDFCommand DF(disk free)Feature Description: Displays information about the disk. Syntax:DF[-ahhiklmpt][--block-size=Additional notes:DFthe file system and usage scenarios for the disk can be displayed. Parameters:-A or--all contains all file systems. --block-size=-H or--human-readable displays information in a more readable way. -H or--si is the same as the-h parameter, but is calculated as Bytes instead of the Bytes. -I or--inodes displays the inode information. -K or--
(pagefile), when the process tries to access the memory that is swapped into the pagefile, the system will produce a page fault (fault), The Windows Memory Manager will then be responsible for re-entering the corresponding memory page from the hard disk into physical memory. at a certain time, the physical memory that a process can directly access (without a fault of the pages) is called the working Set of the process, whereas a process that is actually allocated (commit) from the 4G address s
Linux related Instructions 1, find file search functionFind [directory list] [match parameter] [match standard]-name: Search by file name-group: Search by group to which the file belongs-user: Search by file OwnerExample 1: Searching with-name as search criteriaExample 2: Searching with-group as search criteriaExample 3: Searching with-user as search criteria2, DF Disk-related instructionsDF: View disk information-l:locate abbreviations, viewing local disk information-H: Displays disk space in 1
The free command displays the idle, used physical memory and swap memory in the Linux system, and the buffer used by the kernel. In Linux system monitoring tools, the free command is one of the most frequently used commands.1. Command format:free [parameters]2. Command function?:The free command displays system usage and idle memory conditions, including physical memory, interactive area memory (swap), and kernel buffer memory. Shared memory will be ignored3. Command parameters:-B Displays memor
, shared memory segments, and buffers used by the system core.Parameters-B Displays memory usage in bytes.-K displays memory usage in kilobytes.-m displays memory usage in megabytes. (most commonly used)-O does not display buffer throttling columns.-s-T displays the memory sum column.-V Displays version information.
Detailed command
Total: Indicates the amount of physical memory (totals = used
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.