Nп/п : 65 из 100
 От   : Kenny McCormack                     2:5075/128        29 авг 23 21:07:55
 К    : Kaz Kylheku                                           29 авг 23 00:09:01
 Тема : Re: getrlimit RLMIT_NPROC
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@news.xmission.com>
50dea692
@REPLY: <20230829113025.50@kylheku.com> d8cc20c5
@REPLYADDR Kenny McCormack
<gazelle@shell.xmission.com>
@REPLYTO 2:5075/128 Kenny McCormack
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
1@news.xmission.com>
@RFC-References: 1@news.xmission.com>
<20230829113025.50@kylheku.com>
@TZUTC: -0000
@TID: FIDOGATE-5.12-ge4e8b94
In article <20230829113025.50@kylheku.com>,
Kaz Kylheku  <864-117-4973@kylheku.com> wrote:
...
>That`s a waste of time; the existing "ulimit" tool reads these
>limits. "ulimit -a" gives you all of them; "ulimit -u" gives
>us that one ([u]ser processes).

I think I wrote the C program (it was quite a while ago) because I had been
investigating the shell "ulimit" command and it seemed to be displaying a
bogus result (31411), which I didn`t trust.  As most of us now see, these
numbers just don`t look "normal" (in the computer-ish sense).

So, I wrote the C program, and got the same (bogus-looking) result as the
shell command.

>> What the heck is 31411???
>>
>> What the heck is 6807???
>
>Pre-release version of Motrola 6809? ;)
>
>Good question; do these valuas come from some boot scripts on that
>system, or are they in the kernel?
>
>Ubuntu 18, 32 bit:
>
>$ ulimit -u
>15791
>
>Indeed, weird numbers; it`s as if they are concocted by some formula
>applied to various other system parameters.

Yup.

>I think you have to hunt down the kernel code where the initial/default
>values are prepared.
>
>It could be the work of a boot script, or ... dare I utter it ... systemd.

Heh heh...

-- 
The randomly chosen signature file that would have appeared here is more than 4
lines long.  As such, it violates one or more Usenet RFCs.  In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/God
--- trn 4.0-test77 (Sep 1, 2010)
 * Origin: The official candy of the new Millennium (2:5075/128)
SEEN-BY: 5001/100 5005/49 5010/352 5015/255 5019/40
5020/715 848 1042 4441
SEEN-BY: 5020/12000 5030/49 1081 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх