Question on accessing user_struct current active processes for UID from user space

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

 



If this needs to be submitted in a another mailing list, please let me know.

I'm not finding any kernel documentation that provides if a mechanism exist for getting the current number of active processes for a given user as provided by the user_struct to user space (namely an entry in /proc or /sys).

Neither do I see any kernel function for getting this information.

Is there a supported (and easy) method to get this, other than counting all the current threads for a given user (which can be time consuming on some systems if there are thousands of processes)

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