Linux System Monitoring Tools
1.top Process Monitoring
The top command under Linux is a performance monitoring program that many system administrators use to monitor Linux performance, and this command is available on many Linux or Unix-like
Freshman heard that Linux, sophomore contact with Linux, a junior in Linux deployment Program, Senior began to use Linux software development, I now feel that it is both important and fuzzy, while now have time, the Linux system to understand. Use
I. The concept of a port
In Network technology, ports (port) include both logical and physical ports. Physical ports are physical ports, such as ADSL modems, hubs, switches, and interfaces used to connect to other network devices on the router, such
/etc/profile: This file sets the environment information for each user of the system, and the file is executed the first time the user logs on.and collects the shell's settings from the/ETC/PROFILE.D directory's configuration file./ETC/BASHRC: This
CRC is the cyclic redundancy check code: It is the most commonly used in the field of data communication error check code, which is characterized by the information field and check the length of the field can be arbitrarily selected.CRC Verification
Two high available open source solutions: keepalived and Heartbeat. Both are very popular, but the difference is still very large, and now the trial process of the experience and related knowledge points simply summed up for everyone to choose the
(1) Packaging and compressing filesPackaged files in Linux generally end with. Tar, and compressed commands are usually terminated with. Gz.In general, packaging and compression are carried out together, packaged and compressed files after the
Device Model Equipment Type:
* * The type of device, "struct device" is embedded in. A class
* or bus can contain devices of the different types
* like "Partitions" and "Disks", "Mouse" and "event".
* This identifies the device type and carries
Packet sending and receiving is somewhat similar, we generally use int dev_queue_xmit (struct sk_buff *skb) to send packets, such as we construct the complete packet ourselves, and finally call the real physical send function.
But we also know that
using awk for advanced text processingAwk is a tool designed for data flow. It's quite popular because you can manipulate columns and rows. AWK has many built-in functions, such as arrays, functions, and so on, which is the same as the C language.
The level of Linux system calls is as follows:
User Program-------->c library (API): INT 0x80------------>system_call------------> System Invoke Service routine---------> kernel program
The API is the C library provided by the system. System calls
1. Blocking and non-blocking I/O
Defined:
Blocking: When performing a device operation, suspend the process if the resource is not available, and then do so after you know the conditions for the operation. The suspended process enters hibernation
Reference file: \kernel\documentation\devicetree\booting-without-of.txt
1. File organization structure of the device tree
DT's file organization structure as shown
*.dts is the device organization that is summarized as a target device, and it
1, Tar: Extract the Source software package. Tar zxvf abc.gz
This step has nothing to say, the source pack to unpack the good, then the next step. 2, CD: Access to this source package.
Now LS a bit MRTG this directory has a blue font httpd-2.2.11
you are here: Linux System Tutorials > Ubuntu System >
Ubuntu14.04 installation VTK6.2 time: 2016-06-10 Source: Linux Web site Author: kyjason
VTK is an object-oriented open source three-dimensional drawing software package, the installation
1. In Linux development, the input subsystem can generate those events.
The type of event for input devices in Linux (here is a list of some of the most commonly used, more see LINUX/INPUT.H):Ev_syn 0x00 Sync EventsEv_key 0x01 Key EventEv_rel 0x02
1. Download ntp-4.2.8p8.tar.gz (Note: ntpdate rely on OpenSSL, need to compile OpenSSL)
2. Decompression
TAR-ZXF ntp-4.2.8p8.tar.gz
CD NTP-4.2.8P8
3. Add the "Mod_nano" macro definition at the end of the ntpd/ntp_loopfilter.c file
#ifndef
about the Idle process
Which is the pid=0 process. It is the first process created after the kernel completes initialization, and executes when the system is idle. Its code is simple:
for (;;) pause ();
Emphasize that the idle process is a
Vi/etc/rc.d/rc.localAdd:/usr/local/httpd/bin/apachectl Start2:[registered as service]Cp/usr/local/httpd/bin/apachectl/etc/rc.d/init.d/httpdVI httpdFind: #!/bin/shAnother line, increase:# chkconfig:35 70 30The first of the three numbers added in the
This today in the Xin Zhang Machine (old P4 machine, finally can retire, think about also ashamed, make development to this point ... ), installed Ubuntu and Fedora, now makes a summary of installing MIC2 on Ubuntu8.10,ubuntu9.04,fedora 9 and
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