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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: squirrelbite
  • Order by date
  1. squirrelbite

    nfs

    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...
  2. squirrelbite

    difference between different shells in unix.

    Here is another site that might want to take a look at: http://amath.colorado.edu/computing/Workstations/shelldiff.html
  3. squirrelbite

    Another sed ?

    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.
  4. squirrelbite

    Monitor Server

    oops.... forgot the ';;' on the line above the 'esac' statement.
  5. squirrelbite

    Monitor Server

    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 ]...
  6. squirrelbite

    Monitor Server

    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).
  7. squirrelbite

    How do you back up Raw devices using cpio?

    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...
  8. squirrelbite

    Simple Script?

    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 &quot;Usage: $0 <filename>&quot; fi
  9. squirrelbite

    bad cron???

    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.

Part and Inventory Search

Back
Top