Hello Rémi, Thank you for your help, that's really what i needed.
Best to you. Arnaud -----Message d'origine----- De : Rémi Palancher [mailto:[email protected]] Envoyé : jeudi 2 juin 2016 14:04 À : slurm-dev <[email protected]> Objet : [slurm-dev] Re: slurm-dev event_table states Hi Arnaud, Le 02/06/2016 à 13:22, A. RENARD - URCA a écrit : > > Dear all, > > I'm looking for signification of xx_event_table.state column. > I generally (for other status) can find those information in slurm/slurm.h. > Unfortunatly, i can't find it for this one. > > Where can I find those significations ? Right here: https://github.com/SchedMD/slurm/blob/master/slurm/slurm.h.in#L830 It is a 16 bits wide bitmap. The first 12 bits (& 0xfff0) are the flags, the last 4 bits (& 0x000f) are the base, ie. one of the values in the enum node_states. FWIW, here is an example of how to extract the state out of the integer in python: https://github.com/edf-hpc/hpcstats/blob/master/HPCStats/Importer/Events/EventImporterSlurm.py#L321 Best, Rémi --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus
