code: public Properties getSystemProperties() {
  
      Properties properties = new Properties();     
      properties.putAll(System.getenv());
      properties.putAll(System.getProperties());
  
      return properties;
    }
docs: Read in The system properties