View the number of tcp connections and status in Linux

In Linux, check the number of tcp connections and the status netstat-n | awk & amp; #39;/^ tcp/{++ S [$ NF]} END {for (ainS) printa, S [a]} & amp; #39; TIME_WAIT8947FIN_WAIT115FIN_WAIT21ESTABLISHED55SYN_RECV21CLOSING2LAST _. in Linux, check the

Two linux time

Two time commands in linux are found in linux Today. in summary, www.2cto.com has two time commands in linux. one is the bash command, the other is the program/usr/bin/time. The bash time command can only display the execution time of the program,

Ubuntufishshell installation and preparation

Ubuntufishshell is a very good shell in ubuntu, because it can check whether the command you entered is correct, install as follows: www.2cto. comsudoapt-getinstallfish: input fish directly from bash to fish to prepare fish ,... ubuntu fish shell

Introduction and use of Unixshell UDFs

Introduction to Unixshell user-defined functions and use 1. functions without parameters and without parameters can be directly called to implement some functions. The function is written in scripts and stored together with other commands, but the

Add root group permissions for linux users

Adding the root group permissions for linux users in Debian (ubuntu) usually does not like to directly use the root account, which causes a lot of permission troubles. the solution is not only sudo, there is a more convenient method for www.2cto.com

[Linux] study notes Article 1-installation

[Linux] learning Notes & mdash; installation environment: CentOS6.3minimalwww. 2cto. com1. download image address: http://mirrors.stuhome.net/centos/6.3/isos/x86_64/CentOS- ... [Linux] study notes Article 1-installation environment: centOS6.3

Troubleshooting during linux startup

Troubleshooting during linux startup a fault occurs when the MBR is damaged www.2cto.com. if a CD is available, www.2cto will be directly installed again. comMBR repair (ensure that the system has been installed on the hard disk) 1. first, we need

View memcached status in linux

Linux viewing memcached status [root@LinuxAS6-iCloudxinetd.d] # telnet127.0.0.111211Trying127.0.0.1... connectedto127.0.0.1.Escapecharacteris & amp; #39; ^] & amp; #39 ;. statsSTATpid22 linux view memcached status [root @ LinuxAS6-iCloud xinetd. d] #

Troubleshooting redhat-5.4

Troubleshooting of redhat-5.4 1. red Hat system boot process www.2cto. com2. rescue mode repairs failure of mbr boot www.2cto. if comlinuxrescue has a CD, reboot from the CD to repair mbr, enter the rescue mode, select the operating language, reboot,

Nginx summary (6)

Nginx summary (6) nginx summary (5) http://www.2cto.com/os/201303/193042.html Nginx is used to connect to php. We use php-fpm. php has been installed above. Next, let's take a look at www.2cto.com [root @ host2sbin] # lsphp-fpm [root @ host2sbin] #

Simple script writing

Simple script writing 1. exercise: write a script www.2cto.com to determine whether there are users in the current system. the default shell is bash. if so, the number of such users is displayed. otherwise, no such user is displayed; grep & quot;

Command set for analyzing apache logs using grep in linux

Linux grep command set for analyzing apache logs in linux. a good article is worth noting. with these commands, apache log analysis is a major part of the history. Www.2cto.com instance: month. january II... linux grep command set for analyzing

Association between unix processes and opened files

The unix process is associated with the opened file. The UNIX process and the file are associated with www.2cto through the file table. the comv node represents the real file metadata (linux only has the I node, but the function is similar). every

Ubuntu terminal shortcut

Test the shortcut key of the ubuntu terminal -- modify -- add ingwww.2cto. comctrl + alt + t open the shellBashShell shortcut & lt; ALTd & gt;: delete the part from the cursor to the end of the current word & lt; ALTa & gt ;: move the cursor to the

How does awk reference external variables?

Awk uses the following methods to reference external variables to call variables: www.2cto. com1.awk & amp; #39; {printa, B} & amp; #39; a111b222yourfile note: The variable must be placed before the file name; otherwise, it cannot be called. example:

Tcpdump: filter a port

Tcpdump filter a port we use Tcpdump are used: Java code tcpdump-iethxwww.2cto.com the following command is to view the access to port 80, sort, take the first 20 Java code tcpdump-ieth0-tnndstport8... tcpdump is used to filter a port. generally,

Number of physical CPU, logical CPU, and CPU cores in Linux

Linux distinguishes physical CPU, logical CPU, and CPU cores (I) concept www.2cto.com ① physical CPU the number of physical CPUs in the actual Server slot the number of physical CPUs, the number of non-repeated physical... information & nbsp; | &

Add files such as *. so to svn

Svn add *. so and other files. when svnadd is used in linux to add and upload files to svn ,*. so *. bin and other files are ignored: www.2cto.com two solutions: Method 1: Each time you add a file, use the following command: svn... svn add *. so

Shell tips and knowledge points

Shell tips and knowledge points: After a command is executed, ignore the returned value and continue executing the next line www.2cto.com & amp; it indicates that only the preceding command is true to continue executing the subsequent command;

Shut down and restart the Linux system

Shutting down a Linux system is different from restarting a desktop system. as a server, we rarely restart a Linux system. However, in the following cases, we will restart the system: www.2cto.com hardware change system configuration the system is

Total Pages: 2732 1 .... 2160 2161 2162 2163 2164 .... 2732 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.