The command whatis part of the source code management system (SCCS), which is usually not available on Linux (if there is a version of Linux at all). You can try to emulate it with the command strings:
strings a.out | fgrep '@(#)'
what CSSC ( SCCS-to-modern) BSD ( ).