Have a look at rtapi_compat.c

The methods there for looking at values in /sys /proc and /dev are probably the best bets, (or just capture the output from `uname -r`, `dmesg | grep Linux version` etc etc :-) )

I have found the `flavor` binary, which uses the rtapi_compat.c methods, can get confused between rt-preempt and posix however.

I think I changed the flavor evaluation order in the Machinekit-NG experiments, to stop it returning 'posix' when in fact the kernel was 'rt-preempt',
albeit posix had been built also.


On 17/09/16 23:02, Alexander Rössler wrote:
Is there any way to check the currently active RTAPI flavor when a
Machinekit instance is running?

website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
--- You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to