Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- loadthreashold=1.0
- ioprocthreshold=40.0
- ioprocthreset=05.00
- cpuprocthreashold=20.0
- cpuprocreset=05.0
- reniceto=10
- declare -A ionicedprocesses
- declare -A renicedprocesses
- float_cp () {
- #IFS=" "
- float1=( ${1/./ } )
- float2=( ${2/./ } )
- while [[ ${#float2[1]} -lt ${#float1[1]} ]]
- do
- float2[1]+="0"
- done
- while [[ ${#float2[1]} -gt ${#float1[1]} ]]
- do
- <linux-improvements-bundle/zipio-0.4.sh" 92L, 2959C 1,1 Top
Advertisement
Add Comment
Please, Sign In to add comment