Hi,
How to redirect the output of prstat command to a file.
Ex:
I want to do like this
while :
do
prstat >> prs.log
sleep 5
done
is it possible ???? if No, then how can i proceed??
PLEASE HELP ME OUT FROM THIS
Thanks in advance
-----------
VASTARE
until a termination signal is received prstat would continue to process
since in your script you dont pass the signal you would not terminate from that
and no information being dumped,
with refresh count at the rate of 1 second, use the command as follows
prstat 1 1
Hey
Thank you very much
one more dout sir .........
Can we display the Date/time stamp in history command
Ex:
$history
output
-----------
vi pr.sh
ksh -x pr.sh
ksh -n pr.sh
nhoup ksh pr.sh &
nohup ksh pr.sh &
i want the output like this
Tue Mar 14 17:18:57 GMT 2006 vi pr.sh HOSTNAME
is it possible sir ????
Thanks in advance
-----------
VASTARE