Adding system calls to the Linux kernel comparison of old and new kernels

2.6 Cores1> Modify the linux-source-2.6.31/kernel/sys.c file to add the system response function at the end of the file. The function is implemented as follows:asmlinkage int Sys_mycall (int number)  {PRINTK ("This is the first system call I added")

Setup of Nic after cloning of Linux host

Software version: VMware Workstation 10.0.2Os:oracle Enterprise Linux 6.5After cloning is complete, add two network cards:650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/27/5D/wKioL1Nx3dKizDAFAACif8uyFm0361.jpg "title="

Linux mount commands in a detailed

Mount file system with Unmount file systemMount/umountNO1. Mount Optical Drive[Email protected] root]# mount-t Iso9660/dev/cdrom/mnt/cdromNO2. Mount Optical drive, support Chinese[Email protected] root]# mount-t iso9660-o codepage=936,iocharset=cp936

Check the status of the NIC under Linux or whether it is connected

Category: 1) through the mii-tool Directive[Email protected] root]# Mii-tooleth0:negotiated 100basetx-fd, link okEth1:no LinkOr[Email protected] root]#mii-tool-veth0:negotiated 100basetx-fd, link okProduct Info:vendor 00:50:43, Model 2 Rev 3Basic

"Linux" Linux font color

Transferred from: http://onlyzq.blog.51cto.com/1228/546459echo display with color, need to use parameter-EThe format is as follows:Echo-e "\033[word background color; text color m string \033[0m"For example:Echo-e "\033[41;37m Tonyzhang

Linux on-Machine notes (2)

Compile and run C + + under VIVI 1.cpp (create CPP file name)I (enter insert mode to start editing)Enter completion code and press ESC to exitThen press Shift +: Enter Wq (Save and exit)g++ 1.cpp-o 1 (Compile the 1.cpp file, the compiled executable

FAAC1.28 compilation optimization in HiSilicon hi3520d/hi3515a platform Linux

FAAC1.28:http://www.audiocoding.com/downloads.htmlHow to compile:1../configure--host=arm-hisiv100nptl-linux--prefix=/home/ssy/lib2.make3.make InstallOptimizationIn the case of non-modification of the source code, FAAC memory consumption is very high,

Linux input and output redirection, and piping

Input and output redirection 1, input and output redirection, is for the filter, not for, editor and interactive tool 2,> only the correct standard output redirection, output error message, you can use 2> 3, new or empty files can be used directly

Reasons for using double quotation marks for the address of the Linux under Curl

Only know how to use this, plus double quotes, the reason is not very clearThe reason is that with double quotation marks can prevent escaping, using & in Linux will make the process background run, must be escaped to &, and the way of adding

Linux LED light Driver

1. DriversLed.c#include #include #include #include #include #include #include #include #include #include #include #include #include #include #define LIGHT_ON 0x01#define Light_off 0X02#define GPBCON S3c2410_gpbcon#define GPBDAT S3c2410_gpbdat#define

Linux under chkconfig command detailed

The Chkconfig command is primarily used to update (start or stop) and query run-level information for system services. Keep in mind that Chkconfig does not immediately automatically disable or activate a service, it simply changes the symbolic

Linux kernel boot boot process

The startup process of the Linux kernel (uimage format image, Uimage = Zimage_ Compressed kernel image + 0x40 byte size uboot format information header) can be broadly divided into three phases: First: The Kernel's self-extracting process

Xmanger telnet to a Linux server

Environment IntroductionServer side: Centos 6.4Client: Windows 7 Server-side configurationSet the system default startup mode to graphics mode, and the configuration file/etc/inittab file content is adjusted as follows:# Default RunLevel. The

How to view and modify the size of the system block under Linux

Http://blog.163.com/[email protected]/blog/static/162607494201271435333906/To view the size of an OS system block[root]#/sbin/tune2fs-l/dev/sda1To view the size of the OS system page[Email protected] ~]$ getconf PAGESIZE4096To modify the size of a

Linux screen programming, automatic monitoring and sending commands to screen

#!/bin/bash#author:haiy#email:haiyangfu512@gmail.com# Fri Apr 25 13:04:48 CST 2014 # GNU licence. # monitor and keep the program runningDEBUG = falsefunction restart_program () {# send the command to be executed to screen if [$ #-lt 3]; then echo $ #

Linuxtone command in one sentence (regular updates)

From: bbs.linuxtone.org/thread-16-1-1.html   Content: Author: NetSeek1. Delete 0-byte filesFind-type f-size 0-exec rm-rf {}\;2. View ProcessesSort by memory from large to smallPs-e-o "% C: % p: % z: % a" | sort-k5-nr3. sort by cpu utilization

Share linux and Windows folders in VMware

Share a folder under a virtual machine: (prerequisite installed: vmtools: http://blog.csdn.net/pipisorry/article/details/21318931) Open VMware-> toolbar-> Virtual Machine-> select Settings-> Option share folder point add, follow the prompts to add a

Centos6.4 modify ssh default port 22 to other ports detailed security tutorial (including SELinux, iptables settings)

This is currently the safest tutorial. If you are a newbie, follow the steps in this tutorial. If you have a certain foundation, you can skip some paragraphs.Modify port configurations Run vim /etc/ssh/sshd_config Find the line # Port 22, remove the

Summary of linux File Permission management RHEL6

  File permissions in linux are usually displayed in the following format: Chmod File Permission: permission management chmod     -A all permissions-u file owner permissions-g group permissions-o Other User Permissions   You can use the operator

Keepalived specifies the log file

Keepalived specifies the log file First, check the parameters of the keepalived command.-S specifies the syslog facility. /Usr/local/keepalived/sbin/keepalived -- vrrp-P Only run with VRRP subsystem./Usr/local/keepalived/sbin/keepalived -- check-C

Total Pages: 5467 1 .... 4682 4683 4684 4685 4686 .... 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.