1836611 Members
1951 Online
110102 Solutions
New Discussion

Re: sysdef or kmtune -q

 
SOLVED
Go to solution
f. halili
Trusted Contributor

sysdef or kmtune -q

what's the difference between sysdef & kmtune -q.

I wan't to know my maxdsiz.

with kmtune -q, I get:

# kmtune -q maxdsiz
maxdsiz 1073741824 - 1073741824

with sysdef, I get
# sysdef | grep maxdsiz
maxdsiz 262144


Thanks,
f. halili
derekh
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: sysdef or kmtune -q

The use of sysdef is deprecated but in this case they are reporting exactly the same value. Sysdef is telling you the value in 4K (4096 byte) pages and kmtune is telling you the values in bytes.
If it ain't broke, I can fix that.
Sandman!
Honored Contributor

Re: sysdef or kmtune -q

kmtune reports what maxdsiz was tuned to in the kernel while sysdef gives its current value in the running kernel. Also sysdef reports maxdsiz in page size units:

# getconf PAGE_SIZE

PAGE_SIZE multiplied with "sysdef | grep maxdsiz" should equal the kmtune output.

best of luck!



f. halili
Trusted Contributor

Re: sysdef or kmtune -q

THANKS !!!
derekh