Linux System Operation Dimension Common Command summary __linux
Source: Internet
Author: User
Netstat-na | grep 7651 View who is communicating with native 7651 ports
PS aux | grep 7651 View information about the native 7651 process
The md5sum file name is used to view the MD5 value of the file and is often used to check for consistency
PS aux--sort-rss
Displays the memory usage of each process, sorted from large to small
Netstat-ntpl
To view a TCP type port in the listening state
Netstat-nupl
To view a port on a UDP type that is in the listening state
PS HuH P 7651 | Wc-l
To view the number of threads owned by process 7651
Tcpdump-i Any-vv-xs 0 Port 8080-w Temp.cap
TCP Grab command, used to crawl HTTP requests uploaded to the host 8080 port, files Temp.cap grabbed packets can be read with strings command
Netstat-nap | grep 7651
To view the ports occupied by process 7651
Netstat-na | grep "2181" | Wc-l View the number of connections connected to the local 2181 port
lsof-i:2181 View the operation of Port 2181
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