LSF API being called for host metric loader:
hostInfo *ls_gethostinfo(char *resreq, int *numhosts, char **hostlist, int listsize, int options); This is similar to calling the lshosts command.
struct hostLoad *ls_loadinfo(char*, int* , int , int, char*, int, char***); This is similar to calling the lsload command.