Re: bash-4.3 and ulimit -T

2015-02-24 Thread Chet Ramey
On 2/23/15 8:05 PM, William Bader wrote:
> I am running bash 4.3.33 that I built from source on Fedora 20
> 3.18.7-100.fc20.x86_64.
> 
> When I run "help ulimit", the line for "-Tthe maximum number of
> threads" does not line up with the other options because the message
> in ulimit_doc[] around line 1443 of ulimit.c has 4 spaces after the -T
> instead of a tab.  Line 53 of ulimit.def also has spaces instead of a tab.

Thanks, I fixed this a while back.

> ulimit on Fedora 20 does not implement -T, but could ulimit show the
> maximum number of CPUs, similar to "grep allowed /proc/self/status" or the
> taskset command?

I'm going to continue to restrict this to what's available via the
{get,set}rlimit interface.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/



bash-4.3 and ulimit -T

2015-02-23 Thread William Bader
I am running bash 4.3.33 that I built from source on Fedora 20 
3.18.7-100.fc20.x86_64.
When I run "help ulimit", the line for "-Tthe maximum number of threads" 
does not line up with the other options because the message in ulimit_doc[] 
around line 1443 of ulimit.c has 4 spaces after the -T instead of a tab.  Line 
53 of ulimit.def also has spaces instead of a tab.
Fixing this would also require fixing the string in the various *.po files.
ulimit on Fedora 20 does not implement -T, but could ulimit show the maximum 
number of CPUs, similar to "grep allowed /proc/self/status" or the taskset 
command?
William