fdisk partition Fdisk/dev/sdb -P View Current partition-T change the partition number-W write partitioned table to disk-N Create partitions-P Primary Partition-E Extended partition partprobe the kernel to update partition information
Vmstat is used to view memory usage in real time, reflecting more intuitively than using top.If used directly, can only get the current situation, preferably with a time interval to collectVmstat T with a specific time indicator, the unit is seconds
The following error was found when installing Pycurl with PIP:
Src/pycurl.h:152:5: Warning: #warning "Libcurl is compiled with SSL support ....
But the system has been installed Libcurl and Libcrul-devel, finally Google to the reason, because the
Suppose the binding Nic Eth0 and eth1 are bond0
Creating BOND0 Files
Cp/etc/sysconfig/network-scripts/ifcfg-eth0 ifcfg-bond0Vim/etc/sysconfig/network-scripts/ifcfg-bond0# # #文件内容
1, a few CPU
# More/proc/cpuinfo |grep "Physical ID" |uniq|wc-l
2, each CPU is a few cores (assuming the same CPU configuration)
# More/proc/cpuinfo |grep "Physical id" |grep "0" |wc-l# Cat/proc/cpuinfo | grep processor
3, view the number of
When you use Git, you often find that you create a large number of branches unconsciously. So, the trouble is coming, so many abandoned branches, what should be done?
You can't always do a git branch-d branchname delete it!
Here's a way to bulk
Installation and configuration of Clustershell
Clustershell installation is easy, if the use of apt or yum package management, the basic is a command of things, I will not say, here to say how to install from the source code, you need to execute
viewing disksDf-hView the size of the file folder under the current directory.Du-sh *
viewing system CPUsTop then press "1": you can see how many nuclear CPUs there areFree-m See how much memory there is.
View 2743 thread-occupied handles/usr/sbin/
A very simple Linux tutorial, interested to see it!
If it is under the Xwindows interface, the whole operation is very simple, just like the operation under Windows. Now focus on the absence of a graphical interface, such as the installation of
Solution:Like when I was a problem with Su Apache.Use VI to look at Apache account information# CAT/ETC/PASSWD | grep Apache found that its shell is "/sbin/nologin"and needs to be changed to "/bin/bash"# VIPW/ETC/PASSWDAfter the modification is
SendMail component not installed or started
Solutions
I am a novice, the command is not familiar, so write very detailed, the veteran don't spray OH
1. Reinstall the SendMail component, I use the CentOS, install with the following command
1) Tool DescriptionDstat is a tool for replacing Vmstat,iostat Netstat,nfsstat and Ifstat commands, and is an all-purpose system Information statistic tool. Compared with Sysstat, Dstat has a color interface, which is easy to observe when manually
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