This subroutine, available to any user, returns information about all jobs in the LoadLeveler job queue.
LoadLeveler API library libllapi.a
#include "llapi.h" int ll_get_jobs(LL_get_jobs_info *);
The LL_get_jobs_info structure contains an array of LL_job structures indicating each job in the LoadLeveler system.
Some job information, such as the start time of the job, is not available to this API. (It is recommended that you use the dispatch time, which is available, in place of the start time.) Also, some accounting information is not available to this API.
This subroutines returns a value of zero when successful. Otherwise, it returns an integer value defined in the llapi.h file.
Makefiles and examples which use this subroutine are located in the samples/llsch subdirectory of the release directory.
Subroutines: ll_free_jobs, ll_free_nodes, ll_get_nodes.