async function getProcInfo(procPath) {
  try {
    return await readProc(procPath)
  } catch {
    // swallow the error if reading fails, logging handled in readProc()
    return null
  }
}
Helper method for getting /proc/* file information in Linux environments

@param {string} procPath - the proc file to read
@returns {*} null if the lookup fails, otherwise the proc file information