At FOSDEM this year there was a very good presentation by Robert McLay of TACC on XALT, which tracks how supercomputers are being used down to the level of binaries and libraries:
https://fosdem.org/2016/schedule/event/hpc_bigdata_xalt/ https://fosdem.org/2016/schedule/event/hpc_bigdata_xalt/attachments/slides/1189/export/events/attachments/hpc_bigdata_xalt/slides/1189/xalt.pdf https://www.tacc.utexas.edu/research-development/tacc-projects/xalt They use LD_PRELOAD to link in a bit of code which runs at the start of every job. I don't think they do exactly what you want - ie to look at opcodes. But you could do worse than contact them and see if this approach could be useful to you. I guess though that they are recording what binaries and libraries are used - ie the job is always started. You are aiming to analyse a binary and to prevent it running on the wrong architecture. ##################################################################################### Scanned by MailMarshal - M86 Security's comprehensive email content security solution. ##################################################################################### Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Employees of XMA Ltd are expressly required not to make defamatory statements and not to infringe or authorise any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy and outside the scope of the employment of the individual concerned. The company will not accept any liability in respect of such communication, and the employee responsible will be personally liable for any damages or other liability arising. XMA Limited is registered in England and Wales (registered no. 2051703). Registered Office: Wilford Industrial Estate, Ruddington Lane, Wilford, Nottingham, NG11 7EP _______________________________________________ Beowulf mailing list, Beowulf@beowulf.org sponsored by Penguin Computing To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf