docs: def get_memory(self, note=None):
  		"""Returns memory available for use in k as an int"""
  		shutit = self.shutit
  		shutit.handle_note(note)
  		if self.current_environment.distro == 'osx':
  			memavail = self.send_and_get_output("""command vm_stat | grep ^Pages.free: | awk '{print $3}' | tr -d '.'""",
  			                                    timeout=3,
  			                                    echo=False)
  			memavail = int(memavail)
  			memavail *= 4
  		else:
  			memavail = self.send_and_get_output("""command cat /proc/meminfo  | grep MemAvailable | awk '{print $2}'""",
  			                                    timeout=3,
  			                                    echo=False)
  			if memavail == '':
  				memavail = self.send_and_get_output("""command free | grep buffers.cache | awk '{print $3}'""",
  				                                    timeout=3,
  				                                    echo=False)
  			memavail = int(memavail)
  		shutit.handle_note_after(note=note)
  		return memavail