View the most CPU-and memory-intensive processes under Linux1.CPU most occupied Top 10 processes: PS auxw|head-1;ps auxw|sort-rn-k3|head-102. Top 10 processes with memory consumption PS Auxw|head-1;ps auxw|sort-rn-k4|h ead-103. The top 10 processes
first assume that the DHCP server IP is 192.168.80.20/24.1. Installing the DHCP server softwareMount/dev/cdrom/mntrpm-ivh/mnt/packages/dhcp-4.1.1-34.p1.el6.i686.rpm2. Modify the configuration(1) View file hints cat/etc/dhcp/dhcpd.confcopy template
First, install the Libeventsudo wget http://www.monkey.org/~provos/libevent-1.3.tar.gzsudo tar zxvf libevent-1.3.tar.gzCD libevent-1.3sudo./configure-prefix=/usrsudo makesudo make installTo see if the Libevent installed successfully:Ls-al/usr/lib |
Plan to learn Linux, these two days first looked at the simple use of GCC and makefile, today is the weekend, the weather is sultry supermarket, the morning suddenly found that the refrigerator can be used, so first went out to eat something, and
In daily learning, if you encounter cluster and load balancing experiments, you need to use a lot of virtual machines, if one to create, it is obviously very laborious and inefficient. So today we give you how to use snapshots to make virtual
I. variant types of Linux According to the lifetime of the variables, the Linux variables can be divided into two categories: 1, permanent: Need to modify the configuration file, the variable is permanently effective. 2, Temporary: Use the Export
1. Function descriptionPipe (Build pipeline):1) header file #include 2) define function: int pipe (int filedes[2]);3) function Description: Pipe () creates a pipeline and returns the description of the file as a filedes array of parameters.Filedes[0]
Under Debian directly apt-get install GCC g++ will be able to. According to similar logic, the g++ package cannot be found in Fedora under Yum install GCC g++ report.Checked, the original name of the package is called gcc-c++. The complete should be
1, download into http://maven.apache.org/download.cgi download. or use the wget command.
mkdir /opt/maven
cd /opt/maven
wget http://Mirrors.cnnic.cn/Apache/maven/maven-3/3.2.2/binaries/Apache-maven-3.2.2-bin.Tar.GZ
2. Decompression
1, immediately shut down the machine:Shutdown-h now2. Restart Now:Shutdown-r nowReboot3. Cancellation:Logout4. Enter the VI editor and write a Hello Java program:VI Hello.java5, enter the VI editor insert mode:I6. Save and Exit VI:: Wq7. Do not save
Linux service addition and deletion, automatic running and status, linux addition and DeletionDuring the installation process, CAMS automatically adds related services. During the installation process, the system prompts you whether to enable the
OpenWRT compilation tutorial and openwrt compilation tutorial
1. Install Ubuntu
Download To http://www.ubuntu.org.cn/desktop/get-ubuntu/download/, version casually, I chose 10.10 32-bit version. The installation process will not be mentioned.
Lesson 4 make Makefile (below) and make makefilePreface:
The previous lesson explains the basic knowledge of Makefile, including the principle, pre-definition, and command format. In this way, you can complete an automatically compiled file. Think
Linux/Unix System Programming Manual Reading Notes 9 (file attributes), unixlinux programming practices
Linux/Unix System Programming Manual Reading Notes
In Linux, everything is a file. Therefore, the file system plays an important role in the
Linux file attributes, linux attributes
In Linux, file attributes are an important concept. users or user groups can learn the permissions of a file from the file attributes.
We can use the ls-al command to list all files (including hidden files
Linux getting started Tutorial: yum Repository
Yum is a software package manager. Generally, when I install a virtual machine, I set its yum repository as soon as possible, only in this way can we easily install various sdks officially provided by
[Git experience] Git principles and basics
Principle: The distributed version control system is like Git, Mercurial, Bazaar, and Darcs. The client not only extracts the latest file snapshot, but completely mirrors the original code repository. In
Getting started with Linux: network configuration and troubleshooting
When I was in touch with Linux, The first thing was to connect my computer to the Internet first, but that was a simple thing that had plagued me for a long time, all kinds of
Install Qt4 in Red Hat Enterprise Linux AS4.0
When the computer installed RedHat, it tried to include development tools as much as possible, but there were still a lot of RPM containing "-devel", which were not included in the installation image
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