lsb_hostgrpinfo(NULL, &gNumHostGrp, options); This is similar as calling bmgroup command.
lsb_hostpartinfo(NULL, &gNumHostPart); This is similar as calling bhpart command.
lsb_usergrpinfo(NULL, &gNumUserGrp, options); This is similar as calling bugroup command.
ls_getclustername(); This is similar as calling lsid command.
ls_gethostinfo(NULL, &g_numHosts2, NULL, 0, 0); This is similar as calling lshosts command.
lsb_hostinfo_ex(hosts, &g_numHosts, NULL, 0); This is similar as calling bhosts command.
lsb_openjobinfo_a(0, NULL, (char *)"all", NULL, NULL, ALL_JOB | HOST_NAME); This is similar as calling bjobs command.
lsb_readjobinfo(&numJobs) This is similar as calling bjobs command.
lsb_closejobinfo(); This is similar as calling bjobs command.
ls_getclustername();This is similar as calling lsid command.
lsb_openjobinfo_a(0, NULL, (char *)"all", NULL, NULL, ALL_JOB | HOST_NAME); This is similar as calling bjobs command.
lsb_readjobinfo(&numJobs); This is similar as calling bjobs command.
lsb_closejobinfo(); This is similar as calling bjobs command.
ls_getclustername(); This is similar as calling lsid command.
ls_gethostinfo(NULL, &g_numHosts2, NULL, 0, 0); This is similar as calling lshosts command.
lsb_hostinfo_ex(hosts, &g_numHosts, NULL, 0) This is similar as calling bhosts command.
lsb_openjobinfo_a(0, NULL, (char *)"all", NULL, NULL, ALL_JOB | HOST_NAME); This is similar as calling bjobs command.
lsb_readjobinfo(&numJobs) This is similar as calling bjobs command.
lsb_closejobinfo(); This is similar as calling bjobs command.
lsb_queueinfo(queues, &g_numQueues, NULL, NULL, 0); This is similar as calling bqueues command.
lsb_usergrpinfo(NULL, &gNumNRUserGrp, options); This is similar as calling bugroup command.
ls_getclustername(); This is similar as calling lsid command.
lsb_openjobinfo_a(0, NULL, (char *)"all", NULL, NULL, ALL_JOB | HOST_NAME); This is similar as calling bjobs command.
lsb_readjobinfo(&numJobs); This is similar as calling bjobs command.
lsb_closejobinfo(); This is similar as calling bjobs command.