Linux network-related query scripts

1. View TCP connection StatusNetstat-nat |awk ' {print $6} ' |sort|uniq-c|sort-rnNetstat-n | awk '/^tcp/{++s[$NF]}; END {for (a in S) print A, s[a]} ' orNetstat-n | awk '/^tcp/{++state[$NF]}; END {for (key in) print key, "\ T", State[key]}

The signaling mechanism of Linux

A soft interrupt signal (signal, also referred to as a signal) is used to notify the process that an asynchronous event has occurred. Processes can send soft interrupt signals to each other through system call kill. The kernel can also send a signal

How do I set up service self-booting in Linux?

Turn from: How do I set up service self-booting in Linux?Sometimes we need the Linux system to automatically load some scripts or system services when booting up, mainly in three ways to do this: Ln-s a soft link to the/etc/init.d/service

My path to learning Linux-writing between the beginnings

Recently, we are planning to start learning Linux and are ready to take advantage of 51CTO Weibo to document the learning process and related knowledge.I purchased a CentOS 6.x version of the book and read the first chapter. Prepare to build a

Mail functions in Linux cannot send messages

fpm

SendMail components are not installed or startedSolutionsI am a novice, command not familiar, so write very detailed, old birds do not spray oh1. Reinstall the SendMail component, I use CentOS, install it using the following commandCode to copy code

Linux Message Queuing related operations

/* Send Message Queue */#include #include #include #include #include #include #include #include struct MYMSG{Long Mtype; /* Message type, must be > 0 */Char mtext[32];};#define KEY (key_t) 0x1fffIntMain (int argc, char *argv[]){key_t key;int

Linux boot Process (second edition)

LinuxBoot ProcessfirmwareFirst boot step of power down: Start firmware firmware→post power-on self testCheck for hardware loading, such as keyboard, memory, etc.Not related to the operating system. But different hardware platform, different firmware

"Linux" fork

Features of the fork function callOne call, two returnsWhy?Each process returns in its own address space----> stand in the Linux kernel thinking fork callFork is a system call that is done in the Linux kernelWhy is the fork return value designed as

Linux File System (version 2), version 2

Linux File System (version 2), version 2Linux File System Structure   /Boot directory: The storage location of the kernel files and System Bootstrap files stores the current kernel of the system [generally MB] For example, the configuration file of

Detailed explanation of zip commands under CentOS

Detailed explanation of zip commands under CentOSSyntax: zip [-AcdDfFghjJKlLmoqrSTuvVwXyz $] [-B ] [-ll] [-n ] [-t ] [-] [compressed file] [file...] [-I ] [-x ] Note: zip is a widely used compression program. After the file is compressed, it will

Configure the FTP server with vsftpd in Ubuntu

Configure the FTP server with vsftpd in UbuntuConfigure the FTP server with vsftpd in Ubuntu After working for a while, I found that although there are a lot of related tutorials on the Internet, it is either too simple to understand the content of

Linux File Permission viewing and modification command chmod

Linux File Permission viewing and modification command chmodView Permissions Linux File Access Permissions are divided into three types: readable, writable, and executable.Run the ls-l command, for example: Ls-lDisplay -Rwxr-xr-x 1 root 6444 09-22

Linux network settings (version 2)-Linux network settings

Linux network settings (version 2)-Linux network settingsLinux network settings-network configuration file and command network configuration file 1./etc/sysconfig/network-scripts/ifcfg-eth0 # [Save the IP address and gateway] [Set static IP

RedHat software management (version 2)-source code package installation

RedHat software management (version 2)-source code package installationRedHat software management-source code package installation Source Package features: It has extensive platform support and can be installed on all UNIX-like operating systems

Connect-debouncefailed appears in AR9331, And the port1disabled solution is left blank.

Connect-debouncefailed appears in AR9331, And the port1disabled solution is left blank. This error occurs on the PCB Board of the Router Based on AR9331. In Baidu, it seems that many people have encountered this error, but before I modify the board,

X11VNC enables remote desktop on Ubuntu 14.04 Server

X11VNC enables remote desktop on Ubuntu 14.04 Server About how to enable remote desktop for x11vnc on Ubuntu 14.04 server version. First, I will give a final result diagram (with several hours and looking for materials everywhere), such as a

OpenStack Node Address Changed

OpenStack Node Address Changed Normally in the production environment, each node of OpenStack performs HA and can use the domain name mechanism to manage nodes. However, if an IP address is used, the IP address must be updated once it is changed.

Install PostgreSQL using yum in CentOS

Install PostgreSQL using yum in CentOSDirectory 1 Configure YUM repository 2 Install pgdg rpm file 3 Install PostgreSQL 4 Configuration 5 Initialize 6 Startup 7 Yi search reference Configure YUM repository vim

Compile and install MySQL 5.6.16 under CentOS6.5

Compile and install MySQL 5.6.16 under CentOS6.5I. Preparations before MySQL compilation and Installation Install the tools and libraries required for compiling source code[SQL] view plaincopy Yuminstallgccgcc-c ++ ncurses-develperl Install cmake,

How to restart Mysql in CentOS

How to restart Mysql in CentOS 1. MySQL installed through the rpm package Service mysqld restart /Etc/inint. d/mysqld start 2. Install MySQL from the source code package // Linux Command to disable MySQL $ Mysql_dir/bin/mysqladmin-uroot-p

Total Pages: 5467 1 .... 4169 4170 4171 4172 4173 .... 5467 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.