Have you checked the network speed between your openserver and unixware boxes? One way to do this is to ftp a file from/to openserver/unixware box. ftp will tell you the network speed it took to download/upload the file after it has done so.
If the speed is less than desirable, check things...
Replace the single quotes with double quotes around your sed command and remove the left and right brackets around your VAR variable like this:
sed "s/${VAR}/TERM-at386-ie/" file > /tmp/file
that should do it for you.
I believe this will work for you:
---------------Begin Script---------------
#!/bin/ksh
usage=$(sar 1 | awk '{print $2}' | egrep -v "`hostname`|usr")
curtime=`date +%H`
case ${usage} in
90|91|92|93|94|95|96|97|98|99|100)
if [ -s /tmp/usagemon.out ]...
What does the output of sar look like on SCO? I work primarily on AIX and haven't been on a SCO box in years but will be glad to setup a script (or alteast get you started).
antzzz,
You cannot use cpio to backup raw devices.
Whatever database you are running should have their own backup and restore utilities. You can also use the 'dd' command to copy the data to tape, but again it is highly recommended that if your DB has a backup and restore utitlity with it, to...
iceman4000000,
If I'm understanding this correctly, this should work for you:
#!/bin/ksh
if [ $1 ]
then
TAIL=$(tail -2 $1)
ONE=$(echo $TAIL | awk '{print $1}')
TWO=$(echo $TAIL | awk '{print $2}')
((AVG=(ONE+TWO)/2))
echo $AVG
else
echo "Usage: $0 <filename>"
fi
teck,
Cron: The previous message is the standard output
and standard error of one of your cron commands.
is stating that you have a cron job that is incorrect. You need to check that script, command, etc... because this is output from that cron job erroring out on you.
Sq.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.