Check the NIC status in Linux or whether it is connected

1) Use the MII-tool command[Root @ localhost root] # miI-ToolEth0: negotiated 100basetx-fd, link OKEth1: no linkOr[Root @ localhost root] # miI-tool-VEth0: negotiated 100basetx-fd, link OKProduct Info: vendor 00:50:43, Model 2 Rev 3Basic Mode:

Linux Kernel development-system call

ArticleDirectory System Call and User Programming API Example of direct system call and C library call using getpid Implementation of system calls Implementation example of getpid system call System Call performance problems

Howto: Linux send a gratuitous Arps requests

HOw do I send gratuitous Arps under Linux? How do I tell my dummy router that the IP is over here now, under Linux operating systems? You can use the arping command to send a gratuitous reply using the-A option. arping can send ARP request to a

Htop, a process management tool that replaces top in Linux

gpg

I. Introduction to htop This is htop, an interactive process viewer for Linux. It is a text-mode application (for console or X terminals) and requires ncurses. Comparison between htop and top In 'htop' you can scroll the list vertically

Configure dual-host SSH trust in Linux

I. Implementation Principle Use a public/private key authentication method for SSH login. The following is a simple explanation of the "Public/Private Key" authentication method: First, create a pair of public and private keys on the client

Set up a Web server in Linux by yourself (figure) 6

ArticleSummary: When Linux is used as the Web application server, you need to consider the various details in the Web application process. This article takes into account that the Web server is hosted in the Application website.Code, Database,

Obtain the MAC address source code of the NIC. Currently, Windows/Linux systems are supported to obtain the physical (MAC) Address of the NIC.

forlinux (); break; Case "Solaris": break; Case "Unix": break; Case "Aix": break; default: $ this-> forwindows (); break;} $ temp_array = array (); foreach ($ this-> return_array as $ v Alue) {If (preg_match ("/[0-9a-f] [0-9a-f] [:-]". "[0-9a-f] [0-9

Linux Kernel Development -- kernel thread

The kernel often needs to execute some operations in the background. This task can be completed through the kernel thread-a standard process that runs independently in the kernel space. The difference between a kernel thread and a common process is

A simple Linux script to remove the program line number

When you browse a technical blog, you will findCodeThere is a row number, just like the following code: 1 void main ()2 {3 printf ("hello ");4} If this happens in the blog, you can also copy the row number without copying it (if the row is

I am wrong -- virtual optical drive for Linux

In Linux, you can directly mount the virtual Optical Drive. Reference:Ubuntu Linux does not require us to install the virtual optical drive software. It can be easily done with simple Mount commands without additional downloads. For example, to

Common functions in Linux-signal processing functions)

Alarm)Related functions: signal, sleepHeader file # include Define the function unsigned int alarm (unsigned int seconds );Function Description alarm () is used to set the signal sigalrm to be sent to the current process after the specified number

Linux multithreading and lock Synchronization

POSIX pthreadLibraries It is a standard thread API-Based C/C ++. Concurrent execution. This is the most effective process flow of a multi-processor or multi-core system. It runs on another processor to speed up processing through parallel or

Crontab command usage in Linux

Crond resident command for Task SchedulingCrond is a Linux Command Used to regularly execute programs. After the operating system is installed, the task scheduling command is started by default. The crond command periodically checks whether there is

Qt for Linux error undefined reference to 'fcfreetypequeryface' Solution

Download the qt-sdk-linux-x86-opensource-2009.02.bin, after installing in RedHat Linux As5, you can start QT creator normally. However, when compiling the example program that comes with QT, The Link error is found:

How to set the path of the environment variable in Linux

There are two ways to set the PATH environment variable. The first option is to set the path for a single user, and the second option is to set the path for the global user. 1. There is a. bashrc file in the user's main directory. You can add the

Conditional variables for Linux Thread Synchronization

Different from mutex lock,Conditional variables are used for waiting, not locking. Conditional variables are used to automatically block a thread until a special situation occurs..Usually the condition variable and mutex lock are used at the same

Linux inter-process communication-shared memory

Shared memory is the fastest way to communicate between processes running on the same machine, because data does not need to be copied between different processes. A shared memory area is usually created by a process, and other processes read and

Linux temporary files

To use temporary files, consider the following: Ensure that the file names of temporary files do not conflict with each other. Ensure that the contents of temporary files are not peeked, deleted, or modified by other users or hackers. The

Linux Kernel Development -- interrupt

Upper and lower half of the interrupt Interruption is a mechanism for communication between the system hardware and the processor. When the hardware device is interrupted, the kernel is interrupted and the corresponding processing function is

Linux 2.6 interrupt mechanism analysis

Linux 2.6 interrupt mechanism analysis Author: meteor SummaryThis article mainly analyzes softirq, tasklet, and workqueue in the lower half of Linux 2.6 kernel from the perspective of users. The specific implementation of these three mechanisms in

Total Pages: 5467 1 .... 2812 2813 2814 2815 2816 .... 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.