@Override
  public String toString() {
    return "[" +
        "hostname=" + this.hostname + "," +
        "fqdn=" + this.fqdn + "," +
        "domain=" + this.domain + "," +
        "architecture=" + this.architecture + "," +
        "processorcount=" + this.processorcount + "," +
        "physicalprocessorcount=" + this.physicalprocessorcount + "," +
        "osname=" + this.operatingsystem + "," +
        "osversion=" + this.operatingsystemrelease + "," +
        "osfamily=" + this.osfamily + "," +
        "memory=" + this.memorytotal + "," +
        "uptime_hours=" + this.uptime_hours + "," +
        "mounts=" + getDiskString() + "]\n";
  }
Data model for Ambari Agent to send hardware profile to Ambari Server.
ambari-server/src/main/java/org/apache/ambari/server/agent/HostInfo.java