[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What happens to --max-load if N is integer and not float?
From: |
PATTON, BILLY \(SBCSI\) |
Subject: |
What happens to --max-load if N is integer and not float? |
Date: |
Wed, 19 Apr 2006 08:28:32 -0500 |
I have supplied some convenience scripts for the users.
Here is an test case without calling make.
#!/usr/bin/ksh
max=`ioscan -fnkC processor | grep -c processor`
if [ $max -le 1 ] ; then
max=1.0
else
let max=$max-0.5
fi
echo "gmake -j --max-load $max"
If integer here is a problem, do you know how to convert it to a float?
- What happens to --max-load if N is integer and not float?,
PATTON, BILLY \(SBCSI\) <=