code: private String getSystemArchitecture() {
          String arch = Constants.EMPTY_STRING;
          String outputStr = null;
          BufferedReader bufferedReader = null;
          Process process = null;
          try {
              process = Runtime.getRuntime().exec(ARCH_LINUX_ARCHITECTURE_COMMAND);
              process.waitFor();
              bufferedReader = new BufferedReader(new InputStreamReader(process.getInputStream()));
              outputStr = bufferedReader.readLine();
              if (StringUtils.isNotBlank(outputStr) && SYSTEM_ARCHITECTURES.contains(outputStr)) {
                  arch = outputStr;
              }
              bufferedReader.close();
          } catch (IOException e) {
              logger.warn("Error processing arch linux command {}, error : {}", LinuxPkgManagerCommand.ARCH_LINUX, e.getMessage());
          } catch (InterruptedException e) {
              logger.warn("Error InterruptedException {}, error : {}", LinuxPkgManagerCommand.ARCH_LINUX, e.getMessage());
          }
          return arch;
      }
docs: /* --- Private  methods ---