def get_disk_usage(path):
cmd = '<STR_LIT>'.format(path)<EOL>total = getoutput(cmd).split()[<NUM_LIT:0>]<EOL>return int(total)<EOL>
Returns the allocated disk space for the given path in bytes.

:param path: String representing the path as it would be given to the `du`
  command. Best to give an absolute path here.