Advertisement
Guest User

Untitled

a guest
May 6th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. typedef struct job_info_msg {
  2. time_t last_update; /* time of latest info */
  3. uint32_t record_count; /* number of records */
  4. job_info_t *job_array; /* the job records */
  5. } job_info_msg_t;
  6.  
  7. {
  8. last_update => 1285847672,
  9. job_array => [ {account => 'test', alloc_node => 'ln0', alloc_sid => 1234, ...},
  10. {account => 'debug', alloc_node => 'ln2', alloc_sid => 5678, ...},
  11. ...
  12. ]
  13. }
  14.  
  15. $rc = $slurm->update_node({node_names => 'node[0-7]', node_state => NODE_STATE_DRAIN});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement