Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello!! I have a cgi which is a

Status
Not open for further replies.

SDCSA

Programmer
May 8, 2003
22
US
Hello!!

I have a cgi which is a shell script: proj_web_apps.cgi

#!/usr/bin/ksh
. ../config/PROJ_ENV
# Limit the CPU time allowed for the process
ulimit -t $ULIMIT_CPU > /dev/null
$AWA_/bin/proj_web_apps

I would like to monitor who invoke this cgi and at what time. The user name and the ip address has to be print to a text file. The name of the cgi is proj_web_apps.cgi.

So the text file should have:

CGI_NAME IPADDRESS TIMESTAMP

information. I would cretainnly appreciate if you could give me a working script.

Thanks.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top