module Process::Metrics

def self.duration(value)

According to the linux manual page specifications.
Parse a duration string into seconds.
def self.duration(value)
	if match = DURATION.match(value)
		days = match[:days].to_i
		hours = match[:hours].to_i
		minutes = match[:minutes].to_i
		seconds = match[:seconds].to_i
		fraction = match[:fraction].to_i
		
		return days * 24 * 60 * 60 + hours * 60 * 60 + minutes * 60 + seconds + fraction / 100.0
	else
		return 0.0
	end
end

def capture(...)

def capture(...)
	return Memory::Darwin.capture(...)
end

def capture(...)

def capture(...)
	return Memory::Linux.capture(...)
end

def supported?

def supported?
	return true
end

def supported?

def supported?
	return true
end

def total_size

def total_size
	return Memory::Darwin.total_size
end

def total_size

def total_size
	return Memory::Linux.total_size
end