How to check the statistics of a particular file like size blocks IO block and access details in Linux

check the statistics of a particular file  like size blocks IO block and access details


# stat

Example

$ stat ebportal-08092015.dmp

  File: `ebportal-08092015.dmp'
  Size: 11888291840     Blocks: 23219328   IO Block: 4096   regular file
Device: fd0eh/64782d    Inode: 43          Links: 1
Access: (0640/-rw-r-----)  Uid: (  502/  oracle)   Gid: (  502/oinstall)
Access: 2015-09-08 11:27:04.845519964 +0530
Modify: 2015-09-08 11:30:21.716551285 +0530
Change: 2015-09-08 11:30:21.716551285 +0530

Post a Comment

And that's all there is to it!

If anyone has any other questions or requests for future How To posts, you can either ask them in the comments or email me. Please don't feel shy at all!

I'm certainly not an expert, but I'll try my hardest to explain what I do know and research what I don't know.

Previous Post Next Post