warden_server.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:STaaS 作者: CESNET 项目源码 文件源码
def getDebug(self):
        return {
            "environment": self.req.env,
            "client": self.req.client.__dict__,
            "database": self.db.get_debug(),
            "system": {
                "uname": os.uname()
            },
            "process": {
                "cwd": os.getcwdu(),
                "pid": os.getpid(),
                "ppid": os.getppid(),
                "pgrp": os.getpgrp(),
                "uid": os.getuid(),
                "gid": os.getgid(),
                "euid": os.geteuid(),
                "egid": os.getegid(),
                "groups": os.getgroups()
            }
        }
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号