Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I need to find out what the kernel block size is from vmstat output. I am specifically looking for kernel block size as defined in Block devices and block sizes. There it says all Linux blocks are currently 1024 bytes, but this is not true for old kernels.

Is there a command I can use to view the kernel block size?

share|improve this question
1  
Why? What are you trying to do? – ewwhite Oct 18 '12 at 0:55
I am trying to read the vmstat output in a meaningful way. Right now I can see blocks in and blocks out, but that does not tell me how much that is in terms of size. I would like to know if 512 B = 1 block or 1KB = 1 block, or something else. – dabest1 Nov 2 '12 at 17:36
Linux uses 4KiB blocks almost universally. – vonbrand Jan 24 at 19:17

migrated from serverfault.com Oct 18 '12 at 17:17

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.