1
2
3
4
5
6
7
|
#!/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
|
>
>
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
|
WARNING WARNING WARNING!!!
you may not be in a fossil repo area or fossil remote-url is not set to current known repository path
use "fsl remote-url " and / or call Justin Gedge 480/552-3393 for help to correct.
#!/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
|