-R display routing information, routing table-e display extended information, such as UID, etc.-S statistics according to each protocol-C executes the netstat command every other fixed time.Hint: The status of listen and listening can only be seen with-a or-lPractical Command Instances1. List all ports (including listening and not listening)List all ports netstat-a# Netstat-a | MoreActive Internet connections (servers and established)Proto recv-q send-q Local address Foreign address
to get Run.bat, directly set up a good service, on the browser inputhttp://127.0.0.1:7070 into the management interface. Such as:If you want to change the service yourself, download the attachment androidpn-server-0.5.0-src.zip (303.73 KB, download number: 5140), modify it yourself.To display the managed Send page:Client implementations:Download Project source androidpn-client-0.5.0.zip (347.74 KB, Downloads: 6232), import project, change an IP add
apt-get install make libcurl4-gnutls-dev --yessudo /opt/td-agent/embedded/bin/fluent-gem install fluent-plugin-elasticsearchsudo /opt/td-agent/embedded/bin/fluent-gem install fluent-plugin-record-reformerThen, configure FLUENTD to listen to the syslog and send it to Elasticsearch. Open with the editor /etc/td-agent/td-agent.conf and add the following at the beginning of the file:Start FluentdEnter the following command to start Fluentd:sudo service td-agent startRsyslog traffic is forwarded to
/install.log:3347[email protected] lhd]# fuser-v/root/install.logLSOFLsof has more features# lsof-i See what Open ports are in the system, which processes, users are using them, and more verbose than the NETSTAT-LPTU output.# lsof-i 4 View IPv4 type of processCOMMAND PID USER FD TYPE DEVICE SIZE NODE NAMEEXIM4 2213 Debian-exim 4u IPv4 4844 TCP *:smtp (LISTEN)Dhclient3 2306 Root 4u IPv4 4555 UDP *:BOOTPC# lsof-i 6 View IPv6 type of processCOMMAND PID USER FD TYPE DEVICE SIZE NODE NAMEEXIM4 2213 d
following is a specific example:
A1.sources = r1
A1.channels = C1
A1.sources. r1.type = Exec
A1.sources. r1.command = tail-F/var/log/secure
A1.sources. r1.channels = C1
Spooling-directory Source
Spo_dir can read the logs in the folder and specify a folder to read all the files in the folder. Note that the files in the folder cannot be modified during reading, the file name cannot be modified. The following is a specific example:
Agent-1.channels = CH-1
Agent-1.sources = src-1
?
Agent-1.sourc
link-R: displays route information and route tables.-E: Display extension information, such as uid.-S: statistics by Protocol-C runs the netstat command at every fixed time.
Tip: The LISTEN and LISTENING statuses can only be viewed using-a or-l.
Practical command instance
1. List all ports (including listeners and ports not listened)
List all ports netstat-
# netstat -a | more Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address
-R display routing information, routing table-e display extended information, such as UID, etc.-S statistics according to each protocol-C executes the netstat command every other fixed time.Hint: The status of listen and listening can only be seen with-a or-lPractical Command Instances1. List all ports (including listening and not listening)List all ports netstat-a# Netstat-a | MoreActive Internet connections (servers and established)Proto recv-q send-q Local address Foreign address
information, routing table-e display extended information, such as UID, etc.-S statistics according to each protocol-C executes the netstat command every other fixed time.Hint: The status of listen and listening can only be seen with-a or-lPractical Command Instances1. List all ports (including listening and not listening)List all ports netstat-a# Netstat-a | MoreActive Internet connections (servers and established)Proto recv-q send-q Local address Foreign address stateTCP 0 0 localhost:30037 *
name of the program that establishes the associated link-R Displays routing information, routing table-e display extended information, such as UID, etc.-S statistics according to each protocol-C executes the netstat command at every other fixed time.
Hint: The status of listen and listening can only be seen with-a or-l
Practical Command Instances
1. List all ports (both listening and not listening)
List all ports netstat-a
# Netstat-a | More
Active Internet connections (servers an
the ID card. With these considerations in mind, a function is written, the input parameter is the three fields above, and the year of the birthday is printed. Written in two versions, on the author's windows2003 database server (Intel (r) Xeon (r) CPU 5140 @ 2.33GHZ,4CPU,4.00GB memory), the execution statement is as follows (Tacustomer line number is about 200 million):
-- 测试简单字符串连接的执行时间 SELECT COUNT(t.certificatetype || t.certificateno || t.birthda
| "551"; Option not supported| Extension-codeExtension-code = 3DIGITReason-phrase = *Example
The following is the RTSP negotiation process for a province IPTV: request
Media URL
Accept:application/sdpNegotiated to describe the media information protocol
Cseq:1
User-agent:zte ltd.co RTSP protocal verion 1.0 guid-2.1.1.100/b519d290-c0ec-ee35-7368-893be4c0b347
User agnet information, display is ZTE's server, 1.0 version. If it is a helix server, there will be the identity of the Helix server.
x
Tags: nbsp iptables href Service Save iptable name Key firewallFirst, download: apache-activemq-5.14.0-bin.tar.gzHttp://activemq.apache.org/activemq-5140-release.htmlSecond, installation Activemq1, gz file copy to/usr/local/src directory 2, decompression start TAR-ZXVF apache-activemq-5.14.0-bin.tar.gz CD APACHE-ACTIVEMQ-5.14.0CD bin./ ACTIVEMQ start Netstat-anp|grep 61616 off./activemq startThird, open the firewall port1, if the use of the cloud serv
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.