Tags: 100%/dev/null cannot maximum space method Div handles spanA: If the Linux root partition usage reaches 100%, it will cause the following behavior: root cannot log on system does not start properly Second: Find large files within the root partition by command 1.du-sh/* 2>/dev/null | sort-hr | head-3 2. If the above command is found to be the largest/var/space, look for large files within the/var partition, such as: du-sh/var/* 2>/dev/null | sort-
it directly calls the MySQL Vi/etc/profile
#按shift +g key to the end of the file, add Path=/usr/local/mysql/bin at the end
: $PATH
export PATH
#:wq exit, Let the configuration take effect immediately
Source/etc/profile Now enter the MySQL environment #使用root用户登陆
mysql-uroot
#给root用户设置密码
mysql>set PASSWORD = PASSWORD (' 123456 '); To set the root user to have remote access, perform Mysql> GRANT All privileges on * * to ' root ' @ ' 172.16.% ' identified by 'password' with GRANT OPTION;# # r
cache. It differs from the character device in that it supports random storage. The character type is a stream form that is stored one after the other.
Pseudo-Device
In Unix-like operating systems, device nodes do not necessarily correspond to physical devices. Devices that do not have this correspondence are pseudo-devices . The operating system uses many of the features they provide. Some of the pseudo-devices that are often used include: Null,zero,
supports random storage. The character type is a stream form, stored one at a while.
Pseudo device
In Unix-like operating systems, device nodes do not necessarily correspond to physical devices. A device that does not have this correspondence is a pseudo device. The operating system uses the many functions they provide. Some of the most commonly used pseudo devices include: null,zero,full,loop,random,urandom
Second, special equipment and use
It s
Install oralce 11g full version in centos linuxSystem Environment: CentOS 5.5 64bit Software Version: linux. x64_11gR2_database_1of2 is good. Now you can install: 1. hardware requirement: memory: grep-I memtotal/proc/meminfo officially requires at least 1 GB of memory swap partition grep-I swaptotal/proc/meminfo if your memory is less than 2 GB, the swap partition is 1.5 times the memory. If the memory is b
How to solve the problem of alter tablespace MAXTHONBI add datafile '/data/oracledata/biapp/maxthonbi2.dbf 'size 10 M autoextend on next 10 M maxsize 10G www.2cto.com after the linux Oracle tablespace is full can be added using the above method storage blocks. During database startup. There are two database instances in the system, ORCL and biapp, which cannot be connected only after the database instance i
Linux to build Sphinx full text search engine first download mysql and sphinx source package extract sphvf:> tar zxvf sphinx-2.0.6-release.tar.gz www.2cto.com unzip Mysql> tar zxvf mysql-5.1.42.tar.gz into the mysql source directory, create the sphashes directory under the mysql-5.1.42/storage directory, go to the sphashes source directory, copy all the files under the sphashes-2.0.6-release/mysqlse/directo
In linux, the sphtracing full-text search engine-stubbornRookie has recently encountered various problems due to the company's website requirements.
Server System: centos7 (64-bit)
For details, see the installation tutorial on the installation website for coreseek 3.2.14.
Here are some notes.
1. install the basic development library and database dependencies before installation.
yum install make gcc g++ g
fileSave exitSSH protocolSSH IP Address Login other hostTransfer native files to other machines scp/etc/hosts 192.168.16.151:/tmpDownload files from other machines to this machineCommand: SCP 192.168.16.151:/root/1111.txt. (Current path)Each connection requires a password, in order not to knock the password every time, to establish a suo relationshipThe lock leaves itself:Key sent to other people: Storage path:/root/.ssh/*Code: Ssh-keygen (Create key)Give the key to someone: Ssh-copy-id-i (rece
1. LS —————— list, list, directory
-A —————— all (file)
-L —————— Long (verbose property)
-D —————— Direct (refers directly to view folder properties)
-H —————— Human human (refers to humanization)
-I —————— I node i
2. mkdir —————— make directories Create directory-P —————— Parents parents (referred to as recursive creation)3. CD —————— Change Directory4. PWD —————— Print working directory display the current directory5. rmdir —————— Remove empty directory (directo
1. The storage space is full.The 2.inode node is full.View: http://www.cnblogs.com/predisw/p/4799664.htmlThe number of Inode nodes allowed for a file system is limited, and if the number of files is too large, even if each file is a 0-byte empty file, the system will eventually run out of node space and no more files can be created. So when you find that you can't build a file, consider whether there is space in the hard drive data area (via the du command), and then check the node space.Multipl
Find a very detailed Linux shell script tutorial, in fact, not only the shell script programming, but also introduced the system of various commandsHttp://vdisk.weibo.com/s/yVBlEojGMQMpvThis book is divided into five parts, in detail the shell programming skills, a variety of UNIX commands and syntax, but also related to UNIX under the word processing and a small number of system management problems. The book is comprehensive, concise and smooth text,
Cp-f e:/xml_editor/xmleditor25/xmleditor/editor_uiouterctrl/traceviewdlg.cpp E:/XML_EDITOR/' xmleditor windows serv Er '/xmleditor/editor_uiouterctrl/traceviewdlg.cpp cp-f e:/xml_editor/xmleditor25/xmleditor/editor_ Uiouterctrl/traceviewdlg.h e:/xml_editor/' xmleditor Windows Server '/xmleditor/editor_uiouterctrl/traceviewdlg . h cp-f e:/xml_editor/xmleditor25/xmleditor/editor_uiouterctrl/uimanageversion.cpp E:/XML_EDITOR/' XmlEditor Windows Server/xmleditor/editor_uiouterctrl/uimanageversion.cp
Linux disk is fully occupied
When a disk is occupied by a large file, and the large file is being read and written by some processes and is occupied, the file cannot be deleted and empty at this time, only the process that occupies the large file can be found, then the process is terminated, and the file is finally empty.Examples are: Create a large file test in the/boot partition, fill the boot partition's disk, enter the host through another t
ModulesRmmod:remove Module Delete ModulesLsmod:list Module List Modulessudo is a shorthand for superuser doReboot: RestartLogout: Exit logoffBinary: BinaryDevice: Means of equipmentEtcetera: Wait. System configuration FileRecursion: Recursive (-R)Disrecursion: No recursion) (-D)Force: Direct override (-f)All: All (-a)List: List all information (-L)If: Prompt for overwrite (-i)Normal file (-): Text file and binary fileCatalog file (d): FolderConnection file (L): LN-created fileSpecial files: Dev
Summary to the crontab inside the command Monitoring inode occupancy and receiving inode alarms should use these methods to locate the problem in a timely manner and give feedback to the appropriate personnel to resolve the root cause. In the future encounter similar problems to pay attention to, with Df-i check the use of the inode. Extension: View size of block and Inode
1234567
[[email protected] ~]# dumpe2fs/dev/sdb1 |grep-i "Block size"DUMPE2FS 1.41.12 (
partition table, start 2048 end 34815 4Create a second partitioned tableN P 2 Enter enter 5 then list the created partition table p if you do everything correctly, then you should see the following information: disk/dev/sdx:2001 MB, 2001731584 bytes heads, Sectors/track, 2270 cylinders, total 3909632 sectors Units = sectors of 1 * all = BYTES Sector size (logical/physical): bytes/512 bytes I/O size (minimum/optimal): bytes/512 bytes Disk identifier:0x00000000 Device Boot Start
before passing any arguments to the program. What this means by extension is that the program replaces the wildcard character (such as *) with the appropriate filename, which is replaced with the variable value. To prevent the program from making this substitution, you can use quotes: Let's look at an example, assuming there are some files in the current directory, two JPG files, mail.jpg and tux.jpg.
1.2 Compiling the shell script
#ch #!/bin/sh mod +x filename
Cho *.jpg∪ slow Teman tip Chri
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.