Linux disk space size statistics du command common usage, linuxduIn Linux, you can collect statistics on the space occupied by a file or folder. Here we will summarize some common usage as follows:
1. Make statistics on the specified file or folder. The default unit is kbyte (k or kilobytes). In the following example, perform statistics on the testa Folder:[Web @
(automatic) is a better solution.
The Dell 1950 PERC 5/i SAS RAID Controller uses this command line tool:
MEGACLI for Linux
Http://www.lsi.com/support/downloads/megaraid/miscellaneous/Linux_MegaCLI_1.01.24.zip
MEGACLI for Windows
Http://www.lsi.com/support/downloads/megaraid/miscellaneous/Windows_MegaCLI_1.01.25.zip
# Unzip Linux_megacli_1.01.24.zip# Unzip Megaclilin.zip# RPM-IVH megacli-1.01.24-0.i3
If you are a Linux user, you may have heard that you do not need to fragment the disk of your Linux File System. You may have noticed that there is no disk fragment tool in the liunx installation package. Why?
To understand why Linux
disk detection tool to check the file system when the system is started. 1 is required, 0 is not required, and 2 is skipped;Based on these knowledge, for example, we want to automatically mount/dev/hda5 at startup; we can do the following;
[Root @ localhost beinan] # mkdir/mnt/hda5/Note: Create a mount directory first; [root @ localhost beinan] # chmod 777/mnt/hda5/Note: set the/mnt/hda5 permission to be w
How to detect bad and bad blocks on a hard disk in LinuxThe introduction begins with the definition of bad and bad blocks. They are part of a disk or flash memory that can no longer be read or written, it is generally caused by physical damage to the disk surface or flash transistor failure. As Bad channels continue to accumulate, they will have an unpleasant or
the hard disk information and partition information of the current host.:
There are still some precautions when using the fdisk command. When we use the w command to write the settings to the partition table, a warning may appear. Let's restart to update the partition table information, this is because our disk is still in use and cannot be detached, so the kernel cannot obtain partition table information
1 Fdisk Partitioning tool
1 FSIDK is a partitioning tool from IBM that supports most operating systems, and almost all Linux is equipped with FDISK
2 Fdisk is a partitioning tool that supports MBR, and we can't use Fdisk to partition if we want to use GPT
3 Fidsk is only available with Superuser commands, such as Su
telnet to machine A to execute the above commands.
Run the following command on machine B with a USB flash drive:
# Mount-t vfat-o codepage = 938, iocharset = cp936/dev/hda5/mnt/2dos
# Cd/mnt/2dos
# Modprobe eepro00
# Ifconfig eth0 192.168.1.10
# Route add default gw 192.168.1.1
# Ping 192.168.10.5
# Nc 192.168.10.5 5555 | tar xf-
If you cannot create a Windows 98 boot disk by using the format/s command, you can use the following method:
# Mkdosfs
Article Title: How to Use the Linux partition tool. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Installing Linux is the first thresh
Before learning the Linux user management, feel is not Linux multi-user multitasking system feel very understanding, but in fact not. You also need to know more. And the next thing we're going to shareAdd a hard disk in VMware to create a partition and mount it to the specified directory. Remember never to give up what you are after, even if you may not be able t
adjustable parameters -L: View the specified file system super block information; Super Block -L ' LABEL ': Modify volume label -M #: Fixed percentage of space reserved for administrators -j: Upgrade ext2 to Ext3 -o: File System Properties enabled or disabled -o: Adjust default mount options for the file system -U uuid: Modify the UUID number;DUMPE2FS: -H: View Super block informationFile system Detection Related commandsFsck:file System CheCkFsck. Fs_typeFsck-t Fs_type-A: Auto fix error-r: Int
Installation use
This script is suitable for most bash environments and has been tested in environments such as CYGWIN,UBUNTU14.04,DEBIAN,CENTOS6,MAC-OSX.
1. Dependency
Before using this program, make sure your Linux or Cygwin supports the following commands:
Curl sed awk basename date grep tr od OpenSSL base64
2. Configure
If you want to use your own app_key you need to first register a Kingsoft account, and then go to the address to create you
parameter. The Quotaon command uses the same options as the quotacheck option.For example, do the following to enable the user, group disk quota feature for the/mailbox file system, and to display procedural information for the command execution.# Quotaon-ugv/mailbox5. View quota usage for users or partitionsYou can use the Quota command, the Repquota command, where the quota command can view the quota usage of the specified users and groups, respect
on the UUID of the device file"usage of the Blkid command e2lable Command : Manage the lable of the EXT series file systemSyntax: e2lable [lable] DEVICETUNE2FS command : Reset the values of the EXT series file system adjustable parameters Parameters:-L: View the file system's Super block information: Super blocks-L ' lable ': Modify volume label-j: Upgrade ext2 to ext3 (equivalent to "-t ext3")-M #: Percentage of space reserved for managers; default 5 space-O feature[,...]: Enable specified a
Most of the IO statistics tools under Linux, such as Iostat, Nmon, and so on, are only counted to the Per Device's read and write situations, and if you want to know how each process uses IO, it's a bit cumbersome.If you can systemtap, or blktrace these things difficult to everyone, but no special tools are always not very comfortable. Fortunately, the Linux 2.6.20 kernel provides an IO accounting feature b
automatically install the tool.
6. I plan to install linux on all hard disks. How can I start from the ISO file on the hard disk?You can select a network for installation.If you still want to install the hard disk,Assume that your ISO file is on drive C. Do not format the drive C during installation.What else should I
Tags: adr level meaning also charge spam disk array line GICSoftware RAID: can only be viewed by the Linux system itselfCat/proc/mdstatYou can see information such as RAID level, status, and so on.Hardware RAID: The best way to do this is through the management tools of the installed RAID vendors, with CmdLine and graphical interfaces. such as the Adaptec company's hardware card can be viewed by the followi
successfully.Then use Xshell to connect to the Linux system remotely, then use the Fdisk tool to view the disk list information, and then use the Fdisk tool to partition the new four hard disk/DEV/SDB/DEV/SDC/DEV/SDD/DEV/SDE. The four hard disks were divided into SDB1 parti
Public Network Virtual Disk for LINUX server test and troubleshooting methods-Linux Enterprise Application-Linux server application information, the following is a detailed description. 1. View System Load
Run the w command in the server command window to obtain three groups of data (for example, 0.40 0.30 1.20), which
partitions to be deleted as prompted. ? Use the "T" directive to change the ID number of the partition. You need to specify the target partition ordinal, and the new system ID number, in turn. Different types of file systems correspond to different ID numbers, represented by 16 decimal numbers, which can be entered as "L" instructions in the Fdisk interactive environment. The most commonly used EXT4, swap file systems have an ID number of 83, 82, and the ID number for the NTFS file system in Wi
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.