vi test.c
#include <unistd.h> #include <stdio.h> int main(void){ long n = sysconf(_SC_NGROUPS_MAX); printf("Max Groups : %ld\n",n); return 0; }
gcc test.c -o test
./test
Max Groups : 65536