Linux disk space analysis
2011-06-10 12:09
197 查看
-- unix df du command
using
df -option [block device|directory|file|resource]
df display the number of free disk blocks and free files.
df -a
reports all the file system
df -b
print the total number of kilobytes free (only this column information)
df -h
display the information in a more human readable format.
df -k
have a column information about the free blocks in 1024 bytes.
-- unix du command
using
du -option [file .. or directory]
summarize disk usage.
if the du command used without any option ,it will display the space that
directory occupied (not including the file)
du -a
display the current directory occupied space(Including subdir and files)
du -s
just display the total space occupied for the current direcory.
du -h
display in a more human readable format
using
df -option [block device|directory|file|resource]
df display the number of free disk blocks and free files.
df -a
reports all the file system
df -b
print the total number of kilobytes free (only this column information)
df -h
display the information in a more human readable format.
df -k
have a column information about the free blocks in 1024 bytes.
-- unix du command
using
du -option [file .. or directory]
summarize disk usage.
if the du command used without any option ,it will display the space that
directory occupied (not including the file)
du -a
display the current directory occupied space(Including subdir and files)
du -s
just display the total space occupied for the current direcory.
du -h
display in a more human readable format
相关文章推荐
- Linux / Unix: Checking Free Disk Space
- How to clean up disk space on Linux
- 12 Useful “df” Commands to Check Disk Space in Linux
- How do I add more disk space to a virtual guest using LVM on Red Hat Enterprise Linux?
- Linux_12 Useful “df” Commands to Check Disk Space in Linux
- Upon startup of Linux database get ORA-27102: out of memory Linux-X86_64 Error: 28: No space left on device
- The Linux Bootdisk HOWTO 之 3. Bootdisks and the boot process 启动盘与启动过程
- Helpful Linux I/O stack diagram & Analysis and Tools
- lvm add new hard disk for oracle linux 5.8
- GetDiskFreeSpaceEx 函数
- The Linux Bootdisk HOWTO
- linux常用disk磁盘操作命令整理
- The Linux Bootdisk HOWTO 之 4. Building a root filesystem 构建根文件系统
- Linux: PRVF-5449 : Check of Voting Disk location "ORCL:<diskname>(ORCL:<diskname>)" failed [ID 12675
- Obtaining Disk Space Information获取磁盘空间信息
- Linux Hard Disk Format Command
- ASM磁盘空间假装耗尽,ORA-15041: diskgroup space exhausted
- linux磁盘空间不足:Can't start server: can't create PID file: No space left on device
- Linux Process analysis
- 监控linux disk status