日期:2014-05-16 浏览次数:20817 次
# cd $ORACLE_HOME/bin # stat oracle File: `oracle' Size: 93300148 Blocks:182424 IO Block:4096 Regular File Device: 343h/835d Inode: 12009652 Links: 1 Access: (6751/-rwsr-s--x) Uid:( 500/ oracle) Gid:( 500/ dba) Access: 2006-08-04 04:30:52.000000000 -0400 Modify: 2005-11-02 11:49:47.000000000 -0500 Change: 2005-11-02 11:55:24.000000000 -0500
# stat -f oracle
  File: "oracle"
    ID: 0        Namelen:255     Type:ext2/ext3
Blocks: Total: 24033242   Free: 15419301   Available: 14198462   Size: 4096
Inodes: Total: 12222464   Free: 12093976  
另一个选项 -t 显示了完全相同的信息,只不过是在一行中显示的: 
# stat -t oracle 
oracle 93300148 182424 8de9 500 500 343 12009652 1 0 0 1154682061 
1130950187 1130950524 4096