[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Running bash using su -c causes 100% cpu usage on one core
From: |
Eduardo A . Bustamante López |
Subject: |
Re: Running bash using su -c causes 100% cpu usage on one core |
Date: |
Sun, 3 Jan 2016 19:51:51 -0600 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
It's impossible to tell with the amount of info you provided. That's why
there's a 'bashbug' script alongside bash to generate a useful bug report
template.
Provide:
- bash version: bash --version
- OS name and version: uname -a
- The contents of the run.sh file
- If possible also the su version (in my case it doesn't have a version flag,
but it's part of the login package).
- The output of running said script, with 'set -x' enabled
You might not be running bash at all, since you didn't explictly called
/bin/bash, instead letting su run /bin/sh, which could be dash, or any other
shell.
--
Eduardo Bustamante
https://dualbus.me/
Re: Running bash using su -c causes 100% cpu usage on one core, Chet Ramey, 2016/01/04