Megatest

Check-in [ffc00147ea]
Login
Overview
Comment:Removed debug switches from nbfind
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ffc00147ea9efa72decd3067b529834b290c6f70
User & Date: matt on 2012-03-26 20:49:44
Other Links: manifest | tags
Context
2012-03-26
21:05
Added ability to override max load in nbfind, default is 50% of avail. cpus check-in: a684b5f022 user: matt tags: trunk
20:49
Removed debug switches from nbfind check-in: ffc00147ea user: matt tags: trunk
10:52
Added check for [include ...] in runconfigs and fixed where -itempatt was not being respected check-in: f6681ce535 user: matt tags: trunk
Changes

Modified utils/nbfind from [f0e3e0c4ea] to [7fc27f8b19].

1
2
3
4
5
6
7
8
#!/bin/bash -ex

# load=`uptime|awk '{print $10}'|cut -d, -f1`
load=`uptime|perl -pe 's/.*: (\d+.\d+),.*/$1/'`
if which cpucheck > /dev/null;then
    numcpu=`cpucheck|tail -1|awk '{print $6}'`
else
    numcpu=`lscpu|grep "CPU.s.:"|awk '{print $2}'`
|







1
2
3
4
5
6
7
8
#!/bin/bash 

# load=`uptime|awk '{print $10}'|cut -d, -f1`
load=`uptime|perl -pe 's/.*: (\d+.\d+),.*/$1/'`
if which cpucheck > /dev/null;then
    numcpu=`cpucheck|tail -1|awk '{print $6}'`
else
    numcpu=`lscpu|grep "CPU.s.:"|awk '{print $2}'`