The Alma Linux 9 Operating System minimal installation does not include the netstat command. In order to install the netstat command within Alma Linux 9, the package net-tools must be installed.
Install net-tools package
Note: Make sure to su to root user prior to running the following command.
su - root
Step 1) Install the net-tools package
dnf install net-tools

Step 2) Test the netstat command
netstat