Avalanche has no mining. Blocks are produced by validators: machines run by people who have locked up their own AVAX as a bond.
Switch to the chain that tracks them with chain p, then run validators.
Look at what is published for each one: how much they staked, their uptime, and how long they have left in their commitment. All of it is on-chain and readable by anyone.
Type a command and press Enter. help lists what this lesson understands.