Methods used to collect stats of linux-like system