Skip to main content
2 of 3
Grammar
AlexP
  • 10.8k
  • 36
  • 44

The list of groups is given under Groups in /proc/<pid>/status; for example,

$ grep '^Groups' /proc/$$/status
Groups: 4 24 27 30 46 110 115 116 1000
AlexP
  • 10.8k
  • 36
  • 44