I can't get this script to work.
What I want to do is to write the date and the result of the ps into the file test.log.
It runs but I don't get anything in the logfile.
#!/bin/ksh
#
DA=`date`
DB=`ps -eoargs | grep lm_qdx5.2_production`
echo $DA >> test.log
echo $DB >> test.log
Any help would be appreciated.
Dave
What I want to do is to write the date and the result of the ps into the file test.log.
It runs but I don't get anything in the logfile.
#!/bin/ksh
#
DA=`date`
DB=`ps -eoargs | grep lm_qdx5.2_production`
echo $DA >> test.log
echo $DB >> test.log
Any help would be appreciated.
Dave