Add a new internal function for getting proc group info