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 -

c# - How do I debug "System.DllNotFoundException: The specified procedure could not be found"? -

python - How to read gradle build progress from it's output? -