code: func (p *Process) GetStatus(pid int) (statusFile *status.File, err error) {
  	p.status, err = p.sh.ReadStatusFromPID(pid)
  	if err != nil {
  		return &status.File{}, errors.Errorf("failed to read status file for process ID %d: %v", pid, err)
  	}
  	return p.status, nil
  }
docs: // GetStatus updates actual process status and returns status file