Question: Accessing user_struct count of active processes from user space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please provide the correct mailing list if this is inappropriate for 'linux-doc'.

I can find no way to access the current active processes/tasks for a given UID from user space.

That's from any of the following:

/proc filesystem
/sys filesystem
API call

Is there any documented mechanism for retrieving this without having to manually count all active tasks a given UID is running?

Essentially, looking to get the same data present in user_struct for number of active tasks. This is for evaluating a processes current ULIMIT for NPROC against the actual active number of running tasks for a given UID

Scott Fields
Kyndryl





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux