Recently, in the Iotop source code ioprio.py, there is a need to get the process I/O priority content. Then we study the I/O scheduling algorithm for Linux.Reference article:http://blog.csdn.net/theorytree/article/details/6259104Content related to I/
a command that is important for system securitychattr chattr for setting file properties lsattr for viewing file properties 1.functionModify the ext2 and Ext3 file System Properties (attribute), using the privilege superuser. 2. Format chattr
2014-09-02 Top real-time displays the resource usage of each process in the system, similar to the Task Manager command parameters for Windows:-B Batch Processing-c Display full command-I ignore failure process-S Secret mode-s cumulative mode-i Set
FINGER (1) BSD General Commands Manual FINGER (1)NAMEFinger-user Information Lookup ProgramSynopsisFinger [-lmsp] [user ...] [[email protected] ...]DESCRIPTIONThe finger displays information about the system users.Options are:-S Finger displays the
Configuration benefits:1 do not occupy the intranet IP2 fixed post-configuration some can not be changedNote: Log in with the root user1 Get your own IP address ifconfigGet my IP address is 192.168.239.1282 Get the gateway address Netstat-arMy
Yum1, hanging in the ISO file[[Email protected]]# Mount/dev/cdrom/media2, Installation CreaterepoCreaterepo is a configuration tool that configures the Yum source to check whether the installation of the Createrepo package is currently
GPASSWD (1) User commands GPASSWD (1)NameGPASSWD-Administrators/etc/group and/etc/gshadowBigGPASSWD [Options] GroupStrokeThe GPASSWD command is used to Administer/etc/group, And/etc/gshadow. Every group can has administrators, members and a password.
1 Thin installation package (minimized installation)2 Disabling services that are not required to boot3. Optimize kernel parameters/etc/sysctlconf4. Configure the domestic high-speed Yum source5 Add System file descriptors, stacks and other
Show the line time of the history commandThe environment here is centos5.8Vim ~/.BASHRC or ~/.bash_profile Add export histtimeformat= "%F%T "One session is executed first.Export histtimeformat= "%F%T "And then you can use the history command.#
Groupmod (8) System administration commands Groupmod (8)NameGroupmod-modify a group definition on the systemOutlinegroupmod [Options] GROUPDescribeThe groupmod command modifies the definition of the specified group by modifying the appropriate entry
Configure yum local in Linux 6.2, linux6.2yum
Yum
1. Mounting the iso file
[Root @ localhostmedia] # mount/dev/cdrom/media
2. Install createrepo
Createrepo is the configuration tool for configuring the YUM source. Check whether the createrepo
RedHat Enterprise Linux 6.4 configure Xmanager 4
RedHat Enterprise Linux 6.4 configure Xmanager 4
Perform the following operations as an administrator:
1. vi/etc/inittab
Id: 5: initdefault: // set the system runtime level to 5. If it is 5, no
Grep highlight settings
The grep highlight function is similar to the hlsearch function in vim. It highlights matching items and is easy to locate,
Here, a grep parameter-color is used. color has three values for selection: never, always, and
Common linux system monitoring commands and linux monitoring commands
Original article: http://blog.sina.com.cn/s/blog_68f1c17001016uvy.html
Linux provides many tools used to monitor the system. These tools can be used to find the bottleneck that
Precautions for Centos7 Installation
I recently purchased a new server. Most servers and PCs do not have optical drives. I used usb to install the system this time.
The server performs raid 1.
1. Prepare a USB flash drive of about 8 GB;
2;
3,
Disable UseDNS to accelerate SSH Login through CentOS
Users who often log on to SSH can feel that every time they log on to SSH, they always have to wait for a moment to connect. This is because the OpenSSH server has a DNS search option, UseDNS is
Follow the tab to create a completion method under the python command line
This method is only tested on centos6 and tested on other systems.
1. Create a hidden file named. pythonstartup in the user's home directory and write the following content:
Modify the number of TCP connections in CentOS
I. Modify the limit on the number of files
(1) vi/etc/security/limits. conf
Join:
* Soft nofile 32768
* Hard nofile 32768
Save and exit. Log on to an ssh window (or log on to the local machine again)
Sar commands in Centos
Centos itself does not contain sar commands. Therefore, you must install it on your own.
Install sar
# Yum-y install sysstat # or yum install sysstat (manually Press y)
# Whereis sar
# Whereis iostat
Installation is complete.
Deploy a fully distributed cluster of Hadoop2.2 under Centos6.5Let's take a look at how to deploy a fully distributed cluster under Centos6.5.Next, let's take a look at the specific system environment.Sequence Number Name Description 1 system
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