---
name: stress
version: 1.0.4
origin: sysutils/stress
comment: Tool to impose load on and stress test Unix-like systems
arch: freebsd:9:x86:64
www: http://weather.ou.edu/~apw/projects/stress/
maintainer: skreuzer@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 26413
desc: |
  stress is a tool which imposes a configurable amount of CPU,
  memory, I/O, or disk stress on a POSIX-compliant operating
  system. It is written in portable ANSI C, and uses the GNU
  Autotools to compile on a great number of UNIX-like operating
  systems.

  stress is not a benchmark. It is a tool used by system
  administrators to evaluate how well their systems will scale,
  by kernel programmers to evaluate perceived performance
  characteristics, and by systems programmers to expose the
  classes of bugs which only or more frequently manifest
  themselves when the system is under heavy load.

  WWW: http://weather.ou.edu/~apw/projects/stress/
categories: [sysutils]
files:
  /usr/local/bin/stress: 0b10c2e67de252d8bd820b594b1713ed8565d3003178b8784f6d0eabb45730a5
  /usr/local/info/stress.info: b00e2b62a217535cdaea8884d303d72287aaa14390be980b4f6a9a2289935c04
  /usr/local/man/man1/stress.1.gz: 34d3a3355c82954e230724e18c77abcfbbdf6eca7bcc2732ffacf4bcda34550a
scripts:
  post-install: |
    file=/usr/local/info/stress.info
    install-info --quiet /usr/local/info/stress.info ${file%25/*}/dir
  pre-deinstall: |
    if [ -f /usr/local/info/dir ]; then if sed -e '1,/Menu:/d' /usr/local/info/dir | grep -q '^[*] '; then true; else rm /usr/local/info/dir; fi; fi
  post-deinstall: |
    file=/usr/local/info/stress.info
    install-info --quiet --delete /usr/local/info/stress.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
