In front of a lot of about CPU and memory analysis, that in Linux, how to view the local network related to the situation. Use: Netstat
Netstat is a program that accesses the network and related information in the kernel., generally used to verify
Zookeeper installation
The installation of zookeeper is divided into three modes: stand-alone mode, cluster mode and pseudo cluster mode.
1. Download
Enter the directory for the version you want to download, select the. tar.gz File
Recently do group purchase related services, using Linux under the Curl command to request the purchase of XML information, today in the use of Curl access to a link when a very strange phenomenon, the request of the url:http://api.union.meituan.com/
Sed
Practice: Write a script
Determine if there is a user's default shell for bash on the current system;
If so, the number of such users is shown, otherwise, there is no such user;
grep "bash$"/etc/passwd &>/dev/null
Retval=$?
If [$RETVAL-eq 0];
Linux we generally use PS to view process information, but the process information given by PS is limited, there is no process work path, the absolute path of the process command and so on, at this time we can through Linux under the/proc/directory
How to modify the swap partition size after installing Linux
The testing test is RH AS4If you are not sure what swap is, or the concept of partitioning, the following procedure may be of some risk to you.It is also more convenient to enlarge your
Linux network card name change Eth0 method
Note: You need to operate on a physical machine (that is, a Linux server) the Linux tested here is Redhat version 6.7 (pro-test effective)
Reprint please indicate the Source: Search & Star Children
Step
Command Basic Format
Command Prompt
First: Root
Second: Host name
~: Current directory (home directory)
#: Super User's prompt (Root permission)
$: Prompt for normal usercommand Format command "Options" "Parameters"
Note: Individual commands do
The listen system allows a TCP socket on one host to be passively listening on a port number, waiting for a connection request from a TCP socket from another host, and the following is the function prototype of the LISTEN system call:
#include int
Mind map of the "Brother Bird's Linux private dishes basic article-third edition"
The man who is called L
Original link: http://www.jianshu.com/p/ec06e1ace0bd description
Use the mind map Mindjet MindManager made the "Brother Bird's Linux
Linux Learning-find command
Used to look up files in the file tree and make the appropriate processing
Command format:
Find Pathname-options [-print-exec-ok ...]
Command parameters:
The directory path that the Pathname:find command looks for.
Pthread_cond_wait
Multi-threaded condition variables
A condition variable is a mechanism for synchronizing a global variable shared between threads, consisting mainly of two actions: one thread waits for the condition of the condition variable to
The first time in Linux installed on the MATLAB r2009a, in order to solve the Chinese garbled problem, refer to the article, the general system may follow the following articles to do, Chinese garbled should be able to solve, but I did not solve, I
There are several commands for Linux to view logs: Tail, Cat, TAC, head, Echo
A. View Log mode
command format: tail[necessary parameters [select parameters] [file]
This is one of my most common ways to view1.tail
-F Loop Read
-Q does not
Zssh's full name is Zmodem SSH. Look at the name to know, using the Zmodem, we used to SECURECRT, directly can be used to send files, more convenient than the use of SCP.The ZMODEM protocol facilitates the main representation at the following
1 command function (brief description):Commands can be used to move files or change file names, often used to back up files or directories, MV--and move2 Command syntax:MV "option" "Source file or directory name" "Target file or directory name" #注: "
Scheduled TasksEnvironment: UBUNTU-16.04.4-SERVER-AMD64crontab [-u user] Filecrontab [-u user] [-i] {-e |-l |-r}(default operation is replace, per 1003.2)-E (Edit user ' s crontab)-L (list user ' s crontab)-R (Delete user ' s crontab)-I (Prompt
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