One: View CPUMore/proc/cpuinfo | grep "model name"grep "model name"/proc/cpuinfoIf you feel the need to see more comfortablegrep "model Name"/proc/cpuinfo | Cut-f2-d:Two: View memorygrep memtotal/proc/meminfogrep Memtotal/proc/meminfo |
User Category:Admin: 0System users: 1-499Ordinary users: the researcherGroup Category:Administrators group: 0System Group: 1-499General Group: ResearcherLinux files related to users and groups:/ETC/PASSWD: User's account information/etc/shadow: User
Chen Tie + Original works reproduced please specify the source + "Linux kernel analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000I have been using Linux, through the study of this system learning, really improved a lot, although
Iptables (NetFilter network filter)Iptables is a unique firewall mechanism on Linux that is very powerful. The CentOS default is no iptables rule.The iptables command can be used to configure packet filtering rules for Linux, which are commonly used
Linux Application Development-time programmingTime TypeWorld Standard Time: GMTCalendar time: Number of seconds since 1970-1-1Two time functions1 Get Calendar TimeName of functionTimeFunction prototypetime_t time (time_t *t)function functionTime
The operating system manages files and data through the file system, the disk or partition needs to create a file system before it can be used for the operating system, and the process of creating a file system is called formatting. Devices without
Linux file segmentation can be achieved through the split command, you can specify the number of rows divided by the size of the two modes. File merging under Linux can be done with the Cat command, which is very simple.Use split for file
#definePORT 1234#defineBACKLOG 5#defineMaxdatasize 1000typedefstructclient{intFD; Char*name; structSockaddr_in addr;//addr with client_addr more accurate Char*data; }; voidMain () {intI,MAXI,MAXFD,SOCKFD;inchnready; fd_set rset,allset;//Allset is
specified during installation./configure--prefix=/usr/local/memcached-1.4--with-libevent=/usr/local/libevent-1.4.2/When you start memcached#cd/usr/local/bin//Enter into the directory#./memcached-d-M 900-u root-l 192.168.100.186-p 11211-c
typedefstructTask_queue {pthread_mutex_t mutex; pthread_cond_t cond; /*When no task, the manager thread is wait for; When a new task come, signal.*/ structTask_node *head;/*Point to the Task_link.*/ intNumber/*Current number of tasks,
Install Robot Framework on Linux
Step
Description
How To
Note
0
Install Python
sudo apt-get install pythonFedora:yum Install Python
If not yet installedFedora:yum List python/* can
Linux-(11) Permissions
Permissions are mechanisms used by the operating system to restrict resource access. In Linux, permissions are generally divided into read, write, and execution. Each file in the operating system has specific permissions,
How to clean up system memory in CentOSAfter opening a lot of programs that will occupy the memory, close these programs and find that the memory space is the same as that used when the application is not closed, as a result, when other applications
Use smartmontools in CentOS to view hard disk usage time
First install:[Python] view plaincopy
[Arm @ acer ~] $ Sudoyum-yinstallsmartmontools
Run:[Python] view plaincopy
[Arm @ acer ~] $ Sudosmartctl-A/dev/sda
The following result is displayed:
How many folders can be nested in centos?
How many folders can be nested in centos?
This is a homework that the teacher left us to think about, so we kept on mkdir and mkdir, and finally found that it could be done manually. So I wrote a script
Meaning of seven running levels of CentOS
The CentOS system has seven runlevels)
The running level is the current running function level of the operating system. Levels are from 0 to 6, with different functions. These levels are defined in the/ect/
Rename CentOS multi-nic Configuration
I have installed three NICs in CentOS7, but the name is in the enoxxxxx format, which makes my obsessive *** seat very uncomfortable, the following describes how to configure the NIC and rename it to
Install OpenOffice4.0 on CentOS6.6
Recently, due to project requirements, we need to install Openoffice on the company's server. After searching for some information on the Internet, we have successfully installed Openoffice. I will share it with
Attaching and detaching disks in linux and attaching disks in linux
In Linux, each file system has independent inode, block, super block, and other information. This file system must be mounted to the directory tree for use.The operation that
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