Hands-on task
Write a service's PID to a pidfile
A python3 service is listening on port 7777 (other python processes are running on the machine too). Determine its PID and write it (the number only) to /run/webapp.pid.
- pid
- pidfile
- ss
- pgrep
- finding a process by port