当前位置: 技术问答>linux和unix
如保获得磁盘free空间?
来源: 互联网 发布时间:2015-09-28
本文导语: 用c在hp-ux下如何得到磁盘free的空间? 类似如命令df /emc1/report>df /home (/dev/vg00/lvol5 ): 197558 blocks 26338 i-nodes /opt (/dev/vg00/lvol6 ): 8893298 blocks ...
用c在hp-ux下如何得到磁盘free的空间?
类似如命令df
/emc1/report>df
/home (/dev/vg00/lvol5 ): 197558 blocks 26338 i-nodes
/opt (/dev/vg00/lvol6 ): 8893298 blocks 1180197 i-nodes
/oracle (/dev/vg00/lvol7 ): 557996 blocks 73902 i-nodes
/tmp (/dev/vg00/lvol4 ): 118070 blocks 15431 i-nodes
/usr (/dev/vg00/lvol8 ): 2410508 blocks 321376 i-nodes
/var (/dev/vg00/lvol9 ): 2223814 blocks 294558 i-nodes
/stand (/dev/vg00/lvol1 ): 473692 blocks 48732 i-nodes
/ (/dev/vg00/lvol3 ): 285318 blocks 37685 i-nodes
类似如命令df
/emc1/report>df
/home (/dev/vg00/lvol5 ): 197558 blocks 26338 i-nodes
/opt (/dev/vg00/lvol6 ): 8893298 blocks 1180197 i-nodes
/oracle (/dev/vg00/lvol7 ): 557996 blocks 73902 i-nodes
/tmp (/dev/vg00/lvol4 ): 118070 blocks 15431 i-nodes
/usr (/dev/vg00/lvol8 ): 2410508 blocks 321376 i-nodes
/var (/dev/vg00/lvol9 ): 2223814 blocks 294558 i-nodes
/stand (/dev/vg00/lvol1 ): 473692 blocks 48732 i-nodes
/ (/dev/vg00/lvol3 ): 285318 blocks 37685 i-nodes
|
statfs