Folks,
I was reading the vminfo.d from DTrace Toolkit and was wondering if
following section for disk swap is correct?
this->disk_resv is referring to `k_anoninfo.ani_phys_avail and
this->disk_avail is derived from it.
I wonder should it be the other way around?
Current:
/* Disk stats */
this->disk_total = `k_anoninfo.ani_phys_max;
this->disk_resv = `k_anoninfo.ani_phys_avail;
this->disk_avail = this->disk_total - this->disk_resv;
Judging from the name, should it be following instead?
/* Disk stats */
this->disk_total = `k_anoninfo.ani_phys_max;
this->disk_avail = `k_anoninfo.ani_phys_avail;
this->disk_resv = this->disk_total - this->disk_resv;
Thanks,
Sean
-------------------------------------------
dtrace-discuss
Archives: https://www.listbox.com/member/archive/184261/=now
Modify Your Subscription: https://www.listbox.com/member/?member_id=25769126
Powered by Listbox: https://www.listbox.com