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
#
Content
1
#include
"hostname.hh"
2
#include
"load.hh"
3
#include
"environment.hh"
4
5
int
main
()
{
6
cout
<<
"sleep test for 3 seconds"
<<
endl
;
7
sleep
(
3
);
8
printHostname
();
9
printLoad
();
10
printEnv
(
"USER"
);
11
return
0
;
12
}