Question about the destination IP address in network datagram (skb)

For more information about the destination IP address in network datagram (skb)-Linux general technology-Linux programming and kernel, see the following. I wrote a driver that runs in a kvm virtual machine. This driver can be disguised as a NIC to

Test Process status of shell script

Test the network connection status based on the running status of the daemon. This is far better than simply finding the network connection status parameters. The following uses a script to test the status of a specified process name and displays

Monitor simple scripts run by Squid

#! /Bin/shwhilesleep30doSquidNum = 'ps-ef | grepsquid | grep-vgrep | wc-l' # HttpNum = 'netstat-an | grew.0.0.0: 80 | grep-vgrep | wc-l' #80 status if [$ SquidNum! = 3]; then/etc/rc3.duidstartad #! /Bin/sh While sleep 30 Do SquidNum = 'ps-ef | grep

Shell script forwards port 80 packets

Development is based on Node. js WEB applications are very convenient, but the service port is very painful. Because Linux kernel requires that common users only use port numbers greater than 1024, so common users can run Node. the js service cannot

Eclipse + libpcap network development engineering configuration problems

Eclipse + libpcap network development engineering configuration problems-General Linux technology-Linux programming and kernel information, the following is a detailed description. I want to use eclipse + libpcap as a packet capture tool, so I first

LinuxSD card driver

Linux general technology-Linux programming and kernel information-linuxSD card driver. I transplanted the SD card driver on linux2.6.25. SD card plugging during board power-on can be properly identified (debugging information can be printed in the

Use scripts to release CentOS system memory

In the past few days, the CentOS system memory has been rising. even if apache and mysql are disabled, the memory will not be released. you can use the following script to release the memory :#! /Bin/bash # release cache: In the past few days, the

Shell time operation (take the day before yesterday, etc)

1. get the Shell code for today's time $ date-d & quot; now & quot; + % Y-% m-% d2. get the Shell code for yesterday's time $ date-d & nb 1. obtain the current timeShell code $ Date-d "now" + % Y-% m-% d   2. take the time of yesterdayShell code

The default special symbols in the shell environment

\ D: indicates the date in the format of weekdaymonthdate. for example, & quot; SunSep18 & quot; \ H: The Complete host name. For example, my machine name is redhat. in linux, the name is fc4.linux \ h: only the first name of the host. in the

Ipsectools installation in centos

How to install ipsectools in centos-Linux general technology-Linux technology and application information. After ipsectools is installed on centos6.2, configure the racoon. conf file. However, if you add the remote anonymous option, racoon cannot be

First glance at Linuxshell tools

I. common shell tools linux shell tools are divided into two types: Image interface shell (GUI) and command line form (CLI. GUI tools include Xwindowmanger, CDE, GNOME, KDE, and XFCE2.CLI tools including bsh, csh, tcsh, ksh, bash, and zsh. Bash is

Batch test local area network host online scripts

Because there are many hosts and many VLANs in the LAN, you can always know the number of online hosts and write scripts to check the online hosts. The result is that the host is displayed in green online and the host is displayed in red offline.

Share the second Chinese version of the classic BrianW. Kernighan C language programming

Share the second Chinese version of the classic BrianW. Kernighan C language programming-General Linux technology-Linux programming and kernel information. For more information, see the following. The computer industry has undergone a revolution

Use iptables to automatically seal IP scripts in CentOS

This script is used to analyze and count the secure log file. you can use iptables to block IP addresses with many ssh logon errors. #! /Bin/bash # Createdbyhaiyunnum = 10 # Upper limit foriin 'awk & #39;/Failed/{print $ (NF-3)} & #39;

It really left me speechless

I am speechless-General Linux technology-Linux technology and application information. The following is a detailed description. I used a USB flash drive as the boot disk of the red flag linux7, but it cannot be started. the boot interface is

Linux port the MPC875 process

Linux-General Linux technology-Linux programming and kernel information-the process of porting the MPC875 to linux. The following is a detailed description. Linux has been transplanted to the MPC875 using idle time recently. This Post records the

Code-reading2.1 study notes

Code-reading2.1 study Notes-Linux general technology-Linux programming and kernel information, below is the details to read. Objective: to test the compiler's processing of undefined numbers The procedure is as follows: # Include Int main ()

Python2.6.3

Python2.6.3 -- Linux general technology-Linux programming and kernel information. The following is a detailed description. We are pleased to announce the release of Python BRL. 3, a bugfix release of Python 2.6.2, on October 2, 2009. Python 2.6 is

Install hdparm on Centos to test hard disk performance

1. install hdparmyuminstallhdparm-y. 2. use the hdparm command to read the SSD hard disk. Hdparm-t/dev/sda1SSH can be used to evaluate the SSD read rate by executing the above commands. NOTE: & ldquo;/dev/sda1 & rdquo; indicates the drive number of

Hello everyone, I am a newbie. I have some questions to ask ....

Hello everyone, I am a newbie. I have some questions to ask .... -- Linux general technology-Linux technology and application information. for details, refer to the following section. The hosts file cannot be directly executed. after decompression,

Total Pages: 2732 1 .... 1038 1039 1040 1041 1042 .... 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.