I. CPU[Root @ bogon/] # Cat/proc/cpuinfo
Ii. Memory[Root @ bogon/] # Cat/proc/meminfo
Iii. view the number of CPU Cores1. [root @ bogon/] # getconf long_bit2. [root @ bogon/] # uname-I
4. view the Linux version1. [root @ bogon/] #
The top command is a common performance analysis tool in Linux. It can display the resource usage of various processes in the system in real time, similar to the Windows Task Manager. The following describes how to use it.
Top-01:06:48 up, 1
From http://www.myhack58.com/Article/sort099/sort0102/2011/30199.htm
The test is installed successfully, and the following errors are modified (The modified version in bold is 5.5.19.):
1. Install the required system library filesYum-y
1. change your password 2. use simple commands: date, Cal, WHO, Echo, clear, etc. 3. browse the file system (1) Run PWD and confirm the current directory (2) Run ls-L to understand the meaning of fields (3) run ls-ai to understand the meaning
SVN update // Update the entire project ./Ant // Build Project ./Stopofbiz. Sh // The current OFBiz service can be disabled several times. PS-Ef | grep Java // View All Java Processes ./Startofbiz. Sh // Enable OFBiz Service
How to install ubantu9.10alpha6 in VMware (Virtual Machine Linux)-Xixi
I recently joined the TNT team. Our TNT team will start from scratch in the last year to start Linux development. The plan has been almost settled. We will be here with
If you select English when installing centos, the default installation does not seem to display Chinese characters correctly. Firefox and gedit are garbled Chinese characters. Solution:
1. Check "Chinese" in "supported language" during installation.
RunSudo apt-Get Install SSHInstall the SSH service, and then you can use the Super Terminal to connect to port 22 of the server to operate the Linux server.We use putty as an example to connect to Ubuntu and implement Input and Output in both
Linux Management of I/O port resources
Almost every type of peripherals is performed by reading and writing registers on the device. A peripheral register, also known as an "I/O port", usually includes three categories: control
LinuxKernel Analysis-Initialization Analysis
Refer to the three files I provided: bootsect.txt,head.txt,setup.txtFor x86 boot, follow these steps:1. The CPU initializes itself and executes a command at a fixed position.2. This
CGI programming-Get and post examples I am still new to CGI programming! But as long as you understand C, C-based CGI programming will not be very difficult!The following describes the application of the get and post methods, and provides a small
The general recommendations are as follows:
/Store system commands and support data 1 GB
/Boot storesProgram100 m
/Usr stores Linux applications 3 GB
/Swap implementation of virtual memory more than 256 MB is the most basic directory, other
LSM is short for Linux security modules. It is an underlying framework used in Linux kernel to support more flexible security policies. Although it sounds complicated, however, we can understand it as a set of hook functions embedded in the Linux
In the development of a Linux-based embedded simulation platform, the appearance and customization of terminals are an important issue. The string and monotonous penguin icons that scroll on the screen at startup make embedded devices unable to
Re-compile the lamp environment with reference to lampbrother.
The shell script compiled and compiled here
cd /lamp/libxml2-2.6.30./configure --prefix=/usr/local/libxml2/make make install cd /lamp/libmcrypt-2.5.8./configure
Grep is a common command in Linux. Its main function is to compare string data, use regular expressions to search for text, and print the strings that meet your needs. Grep stands for global regular expression print, which indicates the global
Sed is a good file processing tool. It is a pipeline command mainly used for processing by behavior units. It can replace, delete, add, and select data rows, next, let's take a look at the usage of sed.Sed command line format:Sed [-nefri] 'command'
#include #include #include int main(){ char computer[256]; struct utsname uts; if(gethostname(computer,256)!=0 || uname(&uts)
Function prototype:
# Include
Int gethostname (char * Name, size_t namelen );
Write the Network Name
Sed is a good file processing tool. It is a pipeline command mainly used for processing by behavior units. It can replace, delete, add, and select data rows, next, let's take a look at the usage of sed.Sed command line format:Sed [-nefri] 'command'
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