unixbench.sh 804 B

123456789101112131415161718192021222324
  1. #! /bin/bash
  2. ###############################################################################
  3. # The BYTE UNIX Benchmarks - Release 3
  4. # Module: multi.sh SID: 3.4 5/15/91 19:30:24
  5. #
  6. ###############################################################################
  7. # Bug reports, patches, comments, suggestions should be sent to:
  8. #
  9. # Ben Smith or Rick Grehan at BYTE Magazine
  10. # ben@bytepb.UUCP rick_g@bytepb.UUCP
  11. #
  12. ###############################################################################
  13. # Modification Log:
  14. #
  15. ###############################################################################
  16. ID="@(#)multi.sh:3.4 -- 5/15/91 19:30:24";
  17. instance=1
  18. time for (( c=1; c<2; c++ )) do
  19. while [ $instance -le $1 ]; do
  20. /bin/bash "./tst.sh" &
  21. instance=`expr $instance + 1`
  22. done
  23. wait
  24. done