LinuxProgramErrors mainly include memory problems and program exceptions.
For memory problems, such as wild pointers and memory leaks, valgrind is mainly used for checks, combined with top and other system resource check tools.
For other program
How to Use Netlink in Linux kernel 2.6.24 and later versions
Netlink 2.6.24 has been transplanted recently. There are also a lot of online tutorials, some of which are still very systematic, but I have used a test to compile none of them. Later, I
Modify Linux time zone
1. view the current time zone
# Vi/etc/sysconfig/clock
Linux system time modification
2. Modify the time zone
Method (1)
# Tzselect
Method (2 Limited to RedHat Linux and centos)
# Timeconfig
3. Copy the corresponding
Mutex lock
Although the IPC semaphore mechanism can also be used in POSIX thread to implement mutex functions, the semphore function is obviously too powerful, the POSIX thread defines another set of mutex functions for thread synchronization.
1.
Use Putty to Generate Keys and log onAccording to the principle of public key authentication (see the description below), either party can make the key pair, and the authentication can be successful as long as the authenticated party has the public
Before reading, please take 30 seconds to view the preface (in the first and second chapters)
UNIX & Linux University tutorial-Chapter 1 and II study notes about UNIX & what is Linux? What is UNIXUNIX & Linux University tutorial-Chapter 3 and
You can use the VI editor to compile programs.
The VI editor is a standard editor for all UNIX and Linux systems. It is not inferior to any of the latest text editors. Here we just briefly introduce its usage and a few instructions. The VI editor is
Author: Miao virtues,Hua Qing vision embedded College (www.embedu.org) Lecturer.
After a Linux kernel version of 2.6, devfs no longer exists, and udev becomes a replacement for devfs. Note that udev is at the application layer. Do not try to find
The EHCI Protocol specifies several data models:
Periodic frame list
Asynchronous list queue head pointer
Isochronous (high-speed) Transfer Descriptor (ITD)
Split transaction isochronous transfer Descriptor (sitd)
Queue element transfer Descriptor
Signal
Value
Description
Sighup
1
Hangup (POSIX)Report that user's terminal is disconnected. signal used to report the termination of the controlling process.
SIGINT
2
Interrupt (ANSI)Program interrupt. (CTRL-C)
Use of static and dynamic libraries in Linux
In Linux, there are two types of static library and dynamic library,The suffix of the static link library is. A, and the suffix of the dynamic link library is. So., The following details:
Static Link
Signal mechanism in Linux kernel-from user layer to kernel layer
Kernel version:2.6.14
CPU architecture:ARM920T
Author:Ce123. (http://blog.csdn.net/ce123)
1. Introduction
If a process needs to process a signal, it must register the signal in the
Signal mechanism in Linux kernel-a simple example
Author:Ce123. (http://blog.csdn.net/ce123)
Signal mechanism is an important means of inter-process communication in Unix-like systems. We often use signals to send a short message to a process. For
7.1 video games and Operating Systems
1. How does a video game work?
(1) Space: The game must draw images at specific locations on the computer screen.
(2) Time: The image moves at different speeds on the screen. Change the location at a specific
Differences and implementations of memcpy and memmove functions in Linux Kernel
Kernel version:2.6.32
CPU architecture:Arm
Author:Ce123. (http://blog.csdn.net/ce123)
Embedded Development Exchange Group:280352802. welcome to join us!
Memcpy
1. Install VMware Tools:
1. Go to the Linux system under VMware;
2. On the VMware menu bar, choose [VM]> [install wmware tools] to install VMware Tools;
3. Double-click VMware Tools on the Linux system desktop;
4. Double Click to install the
There are already a large number of families with more than two desktops. Retired Old Machines are tasteless and are a pity. In fact, you can use it as a LAN server. After dinner, you can call friends, call neighbors, pull several network cables,
How to create multiple users in Linux
@! /Bin/sh (definition uses sh shell)Groupadd users (create a user group)@ T_class code (define the first parameter as the code of the total group and assign the variable "t_class ")T_class = $1@ Class code
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