1. LoadRunner monitors Linux systems:(The rstatd service must be installed in Linux. If not, install the rstatd service in the following steps.) Service rstatd status
1) download the rstatd package (http://sourceforge.net/projects/rstatd ;)
2)
Module_param () comprehension-------------------------------------------In user mode, you can pass command line parameters through main (), while compile a kernel module through module_param ()The module_param () macro is added in the Linux 2.6
How to mount a USB flash disk in Linux
After inserting a USB flash drive, follow these steps:
1. fdisk-L/dev/SD *Fdisk-l lists the partition table information of a specified device. The USB disk is automatically named as SD * because it is
Fork function learning:
# Include # Include # Include # Include
Main ()
{
Pid_t PID; pid = fork ();
If (PID
Printf ("error in fork! ");
Else if (pid = 0)
Printf ("I am the child process, my process ID is % DN", getpid ());
Else
Printf ("I am the
1. optimized the network device receiving queue
Net. Core. netdev_max_backlog = 3000
This file indicates the maximum number of packets allowed to be sent to the queue when each network interface receives packets at a rate faster than the rate at
1. Linux dd read/write speed
Time is used for timing. DD is used for copying, reading from if, and writing to. If =/dev/Zero does not produce Io, so it can be used to test the pure write speed. Similarly, of =/dev/null does not generate Io and can
Common Ubuntu commands
Sudo apt-Get install software name install software command
Sudo Nautilus open the file (with root permission)
Switch su root to "root"
Ls to list current directory files (excluding hidden files)Ls-A: List the current
In Linux, multi-threaded programming will certainly encounter situations where conditional variables are required. In this case, you must use the pthread_cond_wait () function. However, the execution process of this function is hard to understand.
This is a vector-type semvector (Linux platform) that has thread security and blocking functions. You are welcome to use it.
// Semvector. h # ifndef semvector_h _ # define semvector_h _ # include # include # include # include template class
1. Process Information
1 PS
[Root @ test/root] # ps-Aux
Parameter description:
A: select to list all programs.
U: list all user programs
X: list all tty programs
Example:
[Root @ test/root] # ps-Aux
User PID % CPU % mem vsz RSS tty stat Start
The signal mechanism is a very old process communication method used by Unix. It is used to notify another process (or itself) of what happened to one process, what to do.
1. signal:Signals are a series of macros starting with SIG defined in signal.
Http://linux.chinaitlab.com/SHELL/791329.html
In the GUI, a routing tool can display network traffic. What should I do under the command line?
Obviously there are some methods. For example, ifconfig will have such output:RX Bytes: 1224128649 (1.1
Linux Power Management Research Note-acpid Working Principle
Please indicate the source when reprint: http://blog.csdn.net/absurd/
In the design of handheld devices, power management has always been one of the important research topics.
Linux system information is stored in files, which are similar to common official files. Each file has its own name, content, storage address, and other management information, such as the user and size of the file. A file can be a letter, an
Static Method
Note: All operations use the root user.
Modify IP Address:
Edit file/etc/sysconfig/network-scripts/ifcfg-eth0
Device = eth0 // device name, do not modify
Bootproto = static // do not modify
Broadcast = 10.10.22.255 // broadcast address,
Recently, I started to use Linux programming. In the past, I only had the C ++ programming basics for Windows, and I was very unfamiliar with Linux. Therefore, I learned everything from scratch.
To do well, you must first sharpen your tools. The
1.View the file and folder size in LinuxDF, Du, and LS-lH commands;
View the disk partition table tool fdisk-L;
2. Clean up system garbage in Linux
Error
Rm-F logfile
Cause
If the application has opened the file handle and directly deletes it, the
Author: Water Cut knife
Reposted from: todaygood.cublog.cn
In fact, it cannot be called transplantation. Just modify the General jflash code to suit your own board.Reference:The common JTAG cable structure is relatively simple. One end is db25,
Wait_on_buffer and wait_on_inode functions in the linux0.11 kernel are very representative delayed function processing processes.
There are also many. One of the most important problems is why we need to break down before determining B _lock. This
Nmon monitors Linux Resources
View Linux: CAT/etc/issue
CAT/proc/version
Uname-
Download the corresponding nmon version based on the Linux Version Information
Http://www.ibm.com/developerworks/wikis/display/Wikiptype/nmon
Nmon for Linux
Http://nmon.
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