14 int main(
int argc,
char* argv[])
20 JParser<> zap(
"Example program to print system information.");
24 catch(
const exception &error) {
25 FATAL(error.what() << endl);
32 cout << info.uptime << endl;
33 cout << info.totalram << endl;
34 cout << info.freeram << endl;
35 cout << info.mem_unit << endl;
37 cout << info.getTotalRAM() << endl;