This admin command will list all entities currently in the game. Entities include players, zombies, and other living things. Similar to the listplayers command with regard to the information that it provides (e.g. health, etc).
The syntax for the listents command is as follows:
Find below working examples of the listents command.
This is the only way to use the listents console command - it will list all entities in the map.