const portionHigh = 4294967296;

const obj = JSON.parse(value);

const dskAvailHigh = parseInt(obj['dskAvailHigh'], 10),
	  dskAvailLow = parseInt(obj['dskAvailLow'], 10),
	  dskUsedHigh = parseInt(obj['dskUsedHigh'], 10),
	  dskUsedLow = parseInt(obj['dskUsedLow'], 10);

const available = (dskAvailHigh * portionHigh + dskAvailLow) * 1024,
	  used = (dskUsedHigh * portionHigh + dskUsedLow) * 1024;

if ((available + used) <= 0) {
	return 0;
}

return used / (used + available) * 100;