dhcp server
ps -A | grep dhcp
Here is what the above code is Doing:
1. We’re using the ps command to list all the processes running on the system.
2. We’re using the grep command to filter the output of the ps command to only show the processes that contain the string dhcp.