Hands-on task
This task is step 1 of the course “Running a server”
Count a user's processes
Count how many processes are currently running under the user daemon-svc, and write the number to /root/proc-count.txt.
What you'll practise:
- ps
- filter by owner
- wc
- counting processes
- pipes