Query about a given group or list all existing groups in virtual gid table
lfc-listgrpmap [ --gid gid ] [ --group groupname ]
lfc-listgrpmap queries about a given group or lists all existing groups in virtual gid table.
This function requires ADMIN privilege.
--gid gid
specifies the Virtual Group Id.
--group groupname
specifies the group name.
lfc-listgrpmap --gid 2688
2688 dteam
lfc-listgrpmap --group dteam
2688 dteam
lfc-listgrpmap
2688 dteam
2689 ops
This program returns 0 if the operation was successful or >0 if the operation failed.