View free memory/physical memory usage/remaining memory in a Linux system
There are many ways to view system memory, but the main is to use the top command and free command
How do you see the results when you execute the top command? Here is a
1. Preface
In embedded devices, hard disk space is very limited, when it comes to the process of often write log, you need to consider the size of the log and delete, or soon the hard disk is full, causing the log program crashes. In order to
The speed or efficiency of linux® is very good, but in some cases, such speed is not enough to meet the demand. What we need is the ability to meet scheduling deadlines within a specific tolerance range. This article will reveal various options for
Because of network instability and slow file uploads, we often split files into multiple files and upload them to the server
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z01-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18
Because there are several common files to be modified during the u-boot transplant, it is too cumbersome to manually modify them every time. Making patches can solve this problem.
The collection of learning materials is relatively simple, method a
Sed
SED is a powerful text-processing tool
You can use a regular match to insert the text to delete changes, and so on
When SED is processed, one line is processed at a time, each time the current processing is stored in a temporary buffer, the
Rz,sz is a command-line tool for Linux/unix Zmodem file transfer with Windows.
Windows side needs to support Zmodem TELNET/SSH clients (such as SECURECRT), run the command RZ is to receive files, SECURECRT will pop up the file selection dialog
Port mappings, including local port mappings and remote port mappings. This article describes two possible approaches: iptables and SSH. Here's how to use both methods.
Local Host IP a:192.168.1.119
Remote host IP b:192.168.1.120
Method
1:ssh Way:
Network system is the most complex and powerful subsystem in Linux design. This article is not to state the Orthodox Linux network system, but only focus on the link layer, that is, the so-called network card driver.
TCP/IP protocol family, each
Instance: compressing the contents of the current directory on the server as xxx.zip files
Zip-r xxx.zip./*
Unzip the zip file to the current directory
Unzip Filename.zip
============================
Another: Some servers do not
Socket programming refers to a complete set of API programming about sockets, not just the use of socket () system calls, but also a complete set of functions around this system call. Here we will start from the basics and learn how to write the
1, ': Command replacement
In the output of a sentence, if you want to add command output in the middle, in the inverted quotes inside the command can be done, and $command is the same.
[Root@localhost ~]# Echo today ' date +%f 'Today is 2016-08-03
In the process of inevitable need to use command-line options, you can choose to parse the command-line options, but there are ready-made, why rebuild the wheel. The following describes the use of getopt_long_only and Getopt_long (roughly the same)
1. Linux Network Path
1.1 Sending End 1.1.1 Application Layer
(1) Socket
The application layer of the various network applications are basically through the Linux Socket programming interface and kernel Space network protocol stack communication.
One,/etc/passwd is the user database, where the domain gives the user name, encryption password and other information of the userThe record line in the/etc/shadow file corresponds to one by one in/etc/passwd, which is automatically generated by the
OverviewThe network is configured with Vlan,vlan to isolate the broadcast, while the DHCP protocol uses broadcast, that is, by default the DHCP protocol can only be used within the VLAN, the DHCP server in VLAN30, only the client in VLAN30 can
Installing plugins
Docker plugin, first need to install the Docker plugin in your idea, navigate to file-setting-plugins and search for Docker integration installation
Configure the Docker server to locate
Date: The command to display the timeCommon Command ParametersUsage: date [options] ... [+ format] or: Date [-u|--utc|--universal] [MMDDHHMM[[CC]YY][.SS]] Displays the current time in the given format, or sets the system date. -D,--date=
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.