linux - Python retrieve RUID? -


i using version of python prior 2.7 on linux , wondering how retrieve ruid?

2.7 , later have getresuid the os package cant seem find equivalent 2.6

you can try use psutil library. try uids function:

uids()[source] real, effective , saved user ids of process namedtuple. same os.getresuid() can used every process pid.

availability: unix


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -