Linux debug-debugfs

Mail: bookworepeng@Hotmail.com QQ: 196568501 Author: drivermonkey Undertake various embedded outsourcing projects (phone: 13410905075) Usage: 1. Enable the debugfs function in the kernel. Location:-> Kernel hacking Debug filesystem 2.

Build a local SVN server in Linux

Setting up a local SVN server in Linux can effectively manage your ownCodeThe specific process is as follows:# Mkdir svn_local# Cd svn_local# Svnadmin create led_diplayThe following directory is available in the xxx Directory: conf Dav dB format

Linux I/O optimization considerations

For Linux I/O performance tuning, you can consider the following aspects: 1. The pre-read granularity of Block devices. The size of this value is determined based on the granularity of read and write operations. 2. Block device

LINUX Kernel compilation method and steps (run successfully on read hat linux 5.0)

Step 1: Download the Linux kernel source code (URL: http://www.kernel.org /) Step 2: deploy the kernel source code to the relevant directory of the Linux system. Start Linux, open the terminal interface, and change the permission to root user. Enter

Linux Command Review

If it is #, It is root. If it is $, view the current user who Change passwd Password View the current directory pwd View kernel version uname-r View the Command help such as man shutdown,/xxx to find xxx ,? Xxx: Search for xxx, and q is

Install dual-nic in Linux

Install dual-NIC: Intranet (eth0) IP: 192.168.16.38GATEWAY: 192.168.16.1 Internet (eth1) IP: 61.136.151.38GATEWAY: 61.136.151.1261. install the first network card. The default value is eth0. Plug in the internal network cable. Generally, no problem

Embedded Linux Resource list

1 ChinaUnix Web site: http://www.chinaunix.net Description: C forum and shell Forum is very good C/C ++ Forum: http://bbs.chinaunix.net/forumdisplay.php? Fid = 23 shell Forum: http://bbs.chinaunix.net/forumdisplay.php? Fid = 24 man documentation:

Linux Device Driver Study: scull tips

The example used is the source code in the Linux Device Driver.   Existing Problems and Solutions: 1. CFLAG errors. Block all CFLAG items in Makefile; 2. The system prompts linux/config. h no such file or directory. In/usr/src/linux-source ....

Linux fork, vfork create sub-process

# Include # Include # Include # Include # Include # Include Int main (void){Pid_t child;If (child = vfork () =-1) // create a sub-process{Printf ("error ");Exit (1 );}Else if (child = 0) // sub-process{Printf ("I can do it, % d \ n", getpid

Simple process of Device Driver learning in Linux (continuous addition)

In order to learn the driver of character devices, we have to understand some related structures... So, open the kernel through Source Insight... I browsed important driver structures. * User-driver relationship: user space read, write, etc. --->

Linux uses ICMP protocol for simple Ping Network Monitoring

ICMP is an Internet Control Message Protocol. It is a sub-Protocol of the TCP/IP protocol family. It is used to transmit control messages between IP hosts and routers. A message control refers to a message of the network itself, such as network

Linux: killing a process based on a process name

#include #include #include #include #include #include using namespace std;int main(){ /*int fd; fd = open("/sddisk/tmpfile",O_RDWR|O_CREAT); if(fd==-1) { printf("Read sdcard failure!"); } else { printf("Read sdcard

Linux dns Server Configuration

Common commands and troubleshooting tools: View Processes Ps aux | grep named Start Service named start (centos) /Usr/local/bind/sbin/named-4 (redhat) Kill Killall named View port Netstat-ano | grep 53 Detection Nslookup Dig Dig-x Change

Common linux commands

I learned about linux shell commands for about two hours today. I have introduced a lot of linux shell commands that I don't know at ordinary times. I sorted it out and pasted it out.   Basic Linux shell format: Command [options]

Simple use of linux msyql

# Include "mysql. h"# Include # Include # Include Using namespace std;Int main (){MYSQL * SQL _conn = NULL;MYSQL_RES * res_ptr = NULL;MYSQL_ROW SQL _row;SQL _conn = mysql_init (NULL );If (SQL _conn = NULL )//{Cout Return 0;}If (mysql_real_connect

SD card partitioning and Linux kernel Compilation

1. Do not mount the SD card umount to the SD card Partition2. view the SD card fdisk/dev/sdbCommand (m for help): dPartition number (1-4): 1 Command (m for help): dSelected partition 2 Command (m for help ):Command (m for help ):Command (m for help )

About the sticky bit in linux)

To delete a file, you do not have to have the write permission for the file, but you must have the write permission for the file's parent directory. That is to say, even if you do not have the write permission for a file, but you have the write

Detailed description of tree commands in linux

(1) tree-A displays all files and directories (2) tree-D displays the directory name rather than the content (3) tree-F displays the complete relative path name before each file or directory. (4) tree-F adds "*", "/", "= ","@", "|. (5)

Embedded linux Kernel online upgrade references

Author: DriverMonkey Phone: 13410905075 Qq: 196568501 Mail: bookworepeng@hotmail.com Undertaking: Embedded outsourcing project (13410905075) Writing Kernel Image to NAND FlashTranslate this page to Writing Kernel Image to NAND Flash

Linux rootfs script for automatic mounting of U Disks

Author: DriverMonkey Mail: bookworepeng@hotmail.com Qq: 196568501 Phone: 13410905075 -Welcome to the discussion Testing hardware platform-am335x (linux 3.2) Prerequisites: 1. busybox supports mdev 2. the kernel has reached the USB flash drive. 1)

Total Pages: 5467 1 .... 4329 4330 4331 4332 4333 .... 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.