[GRASS-user] loss of bash aliases
Patton, Eric
epatton at nrcan.gc.ca
Thu Mar 6 09:30:38 EST 2008
Hamish:
>FWIW, my .grass.bashrc has:
>
>.. /home/hamish/.alias
>export HISTSIZE=3000
Thank you! I was trying to think of what that variable name was to extend
my mapset history beyond 500 records.
># first GRASS instance gets set a low priority (because we can)
>NUMGRASSES=`pgrep -c Init.sh`
>if [ "$NUMGRASSES" -le 1 ] ; then
> renice +17 -p $$
>else
> NICENESS=`echo $NUMGRASSES | awk '{printf("%0.f", 20 / $1)}'`
> renice +$NICENESS -p $$
>fi
What is the result of this - that all Grass processes get a low priority
compared to the rest of the OS?
~ Eric.
More information about the grass-user
mailing list