💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
功能:显示文件系统磁盘空间的使用情况 语法: df 【option】【file】 常用选项: -h 以容易理解的格式显示磁盘使用情况 -i 显示文件系统的inode信息 范例1: [root@fenfa test]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_fenfa-lv_root 17938864 1925652 15095300 12% / tmpfs 510056 0 510056 0% /dev/shm /dev/vda1 487652 38712 423340 9% /boot [root@fenfa test]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_fenfa-lv_root 18G 1.9G 15G 12% / tmpfs 499M 0 499M 0% /dev/shm /dev/vda1 477M 38M 414M 9% /boot 范例2:查看inode节点 [root@fenfa test]# df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/vg_fenfa-lv_root 1148304 48871 1099433 5% / tmpfs 127514 1 127513 1% /dev/shm /dev/vda1 128016 39 127977 1% /boot