It's easy to see how memory is being used in a Windows system, and presumably everyone is familiar with it, so how do you see memory usage in Linux? Below are some of the free commands you can use to view memory usage under Linux:[[email protected]
Free NAME FreeShow system available memory and used memory Grammar Free [-B |-k |-m] [-O] [-s delay] [-t] [-l] [-v] Description Freeshows the total available and used physical memory andSwap memory, and also includes the kernel used by the Buffer ,
i386 refers to the type of *cpu*, or *cpu* 's Architecture (architecture). Now the CPU is generally used "core 2 duo" or "athlon","xeon","opteron" the kind of cool name to call. When Linux was born, the CPU was used as an important component,
System #uname-a # View kernel/Os/cpu information #head-n 1/etc/issue # view OS version #Cat/proc/cpuinfo # Viewing CPU information #hostname # view computer name #LSPCI-TV # List all PCI devices #LSUSB-TV # list all USB devices #Lsmod # List of
Under Linux You can create two types of swap space, one swap partition and one swap file. The former is suitable for free partition can be used, the latter is suitable for the non-empty hard disk partition, the hard disk space has been allocated.
There are two obvious benefits of reducing file size, one is to reduce storage space, and the other is to reduce transmission time when transferring files over the network. Gzip is a frequently used Linux system command to compress and decompress
1. Tool Puttyhttp://www.chiark.greenend.org.uk/~sgtatham/putty/download.html compressed version will be used to upload tool psftp. //installation of the JDK1. Manually download the jdk.rpm file under Win7.
Input and output redirection1, input and output redirection, is for filter, not for, editor and interactive tool2,> only the correct standard output redirect, output error message, can be used 2>3, new or empty files can be used directly with
1. PrefaceThis week, learning the Linux user and group management, exposure to a lot of new things, the knowledge of the brain is a bit messy, ready to write a blog, the rationale for a solution.2. Some viewsFirst, whether it is the GUI of Windows
1. Restart under X window (logout + re-login)Alt + Ctrl + Backspace2. X window and command-line mode switchCtrl + Alt + F1 ~ F6: Text interface login Tty1~tty6 TerminalCtrl + Alt + F7: graphical interface Login3. Start Linux in plain text mode, how
1. Install samba and smbfs
2. Configure the smb. conf file
You need to back up the files that need to be configured before the configuration file (forming a good habit)
Enter the following command:
Enter the smb. conf file and add the
LZ has never learned how to write makefile, but only knows how to use tab. As a result, we found the autotools tool series.
The basic procedures are: autoscan, aclocal, autoconf, autoheader, automake, and configure.
(1) Use the autoscan command to
References:
Http://wenku.baidu.com/view/94e08a20a5e9856a561260e2.html
Http://httpd.apache.org/docs/2.4/install.html
During work, we need to transplant apache on the MIPS platform board for one week. The initial steps are as follows:
Development
Likely () and unlikely () are two macros defined in the kernel (both versions of 2.6 Should Have. In/include/linux/compiler. h,The specific definition is as follows:# Define likely (x) _ builtin_exact CT (!! (X), 1)# Define unlikely (x) _
I. File file11. Use shell to query the row number of the empty row in file1Awk '{if ($0 ~ /^ $/) Print NR} 'fileOrGrep-n ^ $ file | awk 'in in {FS = ":" }{ print $1 }'2. Compile ShellScript to query the rows ending with abc in file1.Grep abc $ file13
For talents in any field, they started from the beginning. As time went on, they improved their technology and knowledge, however, for enterprise-level products-servers, IT administrators are required to learn, and new users are never familiar with
Whether you are an individual webmaster or a full-time webmaster, you are either hosting a host, renting an exclusive host, or hosting a server. Your Website or application is limited by the network quality of the IDC provider, therefore, for the
E-commerce system architecture related to Linux Server File backup, database backup, and data security storage. There are a variety of security solutions, data backup is the top priority. E-commerce websites pay more attention to data security and
Python apply function:
The apply (func [, args [, kwargs]) function is used to call a function indirectly when a function parameter already exists in a tuple or dictionary. Args is a tuple that contains parameters that will be provided to the
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