Re: Running bash using su -c causes 100% cpu usage on one core
From:
Chet Ramey
Subject:
Re: Running bash using su -c causes 100% cpu usage on one core
Date:
Mon, 4 Jan 2016 14:55:36 -0500
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
On 1/4/16 1:03 PM, Marcus Wichelmannn wrote:
> Afaik it's a symlink to /usr/bin/mono.
>
> I solved my issue by replacing the line in /etc/rc.local by:
>
> su cubie -c "screen -S Haussteuerung -d -m
> /home/cubie/Haussteuerung/Haussteuerung/run.sh"
>
> But this is no fix of this bug for sure.
Maybe not, but it's not a bash bug.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/