We have different embedded boxes distributed around the world running TI Arago Linux and each box has a specific application (lets call it binary
) running on it. Of this binary
there are several compiled versions lying around in the server, as in the box there is always only one at /app/binary
.
The issue is, that although we can manage to identify with a md5 hash which binary
is installed in the box, we cannot determine which version is currently being executed.
14407 root 2880 S /app/binary
Is there a common way to determine which version of a binary
is currently running based on, for example, the md5 hash of the binary?