linux 下 查看 磁盘空间
来源:互联网 发布:微表情软件白金版 编辑:程序博客网 时间:2024/06/07 06:17
如果要查看磁盘还剩多少空间,当然是用df的命令了。
[root@localhost ~]# df -h
文件系统 容量 已用 可用 已用% 挂载点
/dev/sda2 14G 11G 2.6G 82% /
/dev/sda1 99M 14M 81M 14% /boot
tmpfs 442M 275M 168M 63% /dev/shm
/dev/mapper/vg_test-lv_test
24M 1.3M 21M 6% /mnt/lvm
[root@localhost ~]#
当然你可能并不关系磁盘还剩余多少空间,你是需要知道当前的文件夹下的磁盘使用情况:
[root@localhost ~]# du --max-depth=1 -h
24K ./.gnome www.2cto.com
8.0K ./.eggcups
8.0K ./.config
0 0
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- Linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- linux下查看磁盘空间
- 用于签名的数字证书
- Java关键字synchronized详解
- UVA - 10790 How Many Points of Intersection?
- CUDA初学,实现1000*256的数组运算
- WPF——画刷
- linux 下 查看 磁盘空间
- Poj 2312 BFS+优先队列
- 【cocos2dx】std::function与std::bind 函数指针
- Java使用jxl对excel文件进行简单的读写
- 利用pymongo操作mongoDB数据库
- 14.约瑟夫环
- git笔记
- arm-linux工具的功能
- 禁止键入非法值