code: func DiskUsage(path string) (*resource.Quantity, error) {
  	// Uses the same niceness level as cadvisor.fs does when running du
  	// Uses -B 1 to always scale to a blocksize of 1 byte
  	out, err := exec.Command("nice", "-n", "19", "du", "-s", "-B", "1", path).CombinedOutput()
  	if err != nil {
  		return nil, fmt.Errorf("failed command 'du' ($ nice -n 19 du -s -B 1) on path %s with error %v", path, err)
  	}
  	used, err := resource.ParseQuantity(strings.Fields(string(out))[0])
  	if err != nil {
  		return nil, fmt.Errorf("failed to parse 'du' output %s due to error %v", out, err)
  	}
  	used.Format = resource.BinarySI
  	return &used, nil
  }
docs: // DiskUsage gets disk usage of specified path.