www.pudn.com > ghs1.2.rar > INSTALL
1 Resource Requirement
Software requirement
The current version of GHS 1.1 supports SunOS. The running of GHS measurement engine requires the system support the lastcomm Unix utility. Please make sure that the accounting file (/var/adm/pact in SunOS) is open so that lastcomm can output the latest finished process information. You can find the online manual of lastcomm at http://www.cs.biu.ac.il/cgi-bin/man?lastcomm+1.
Hardware requirement
GHS 1.1 does not have any specific hardware requirement.
2 Installation
Down-load the source code from http://meta.cs.iit.edu/~ghs/
Uncompress the source code
$gzip -d ghs1.1.tar.gz
$tar -xvf ghs1.1.tar.gz
$cd ghs1.1
Compile the GHS 1.1.
$make
Install the GHS 1.1
$make install
3 Configuration
The GHS 1.1 requires the environment variable GHS_HOME to be set to the installing directory. For example, you have installed the GHS middleware to /yourdirectory/ghs1.1. You need to add the following line
export GHS_HOME = /your_directory/ghs1.1
to .profile file under your home directory if you are using ksh or sh. For csh, you need to add the following line
setenv GHS_HOME /your_directory/ghs1.1
to .cshrc file under your home directory.
After installation, the executables of the GHS 1.1 is located at the sub-directory bin of your installing path. It should be added into the environment variable PATH. You need to add the following line
export PATH=$PATH:$GHS_HOME/bin
to .profile file under your home directory if you are using ksh or sh. For csh, you need to add the following line
setenv PATH ${PATH}:${GHS_HOME}/bin
to .cshrc file under your home directory.