Hands-on task
How many processes postman has
Several background processes are running under the service account postman. Count how many processes currently belong to exactly this user and write the number to /root/postman-procs.txt. Note: root also runs something with the word postman in its name — those are not his processes.
- pgrep -u
- ps -u
- process owner
- wc
- counting processes