ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/experimental/host/sysinfo/sysinfo.cc
Revision: 1.2
Committed: Tue Nov 7 19:27:54 2000 UTC (24 years, 1 month ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION, HEAD
Changes since 1.1: +4 -0 lines
Log Message:
Added environment variable grabbing, and a call to sleep().

File Contents

# User Rev Content
1 tdb 1.1 #include "hostname.hh"
2     #include "load.hh"
3 tdb 1.2 #include "environment.hh"
4 tdb 1.1
5     int main() {
6 tdb 1.2 cout << "sleep test for 3 seconds" << endl;
7     sleep(3);
8 tdb 1.1 printHostname();
9     printLoad();
10 tdb 1.2 printEnv("USER");
11 tdb 1.1 return 0;
12     }