![Bash script that automatically kills processes when CPU/memory usage gets too high - Unix & Linux Stack Exchange Bash script that automatically kills processes when CPU/memory usage gets too high - Unix & Linux Stack Exchange](https://i.stack.imgur.com/O2JzW.png)
Bash script that automatically kills processes when CPU/memory usage gets too high - Unix & Linux Stack Exchange
BASH - How to execute Unix/Linux script/commands after ending the terminal session (sending the process SIGHUP signal)
![SOLVED: 1. Write a shell script to perform the following tasks: a. Redirect all running processes information to a text file. b. Get a PID from the user and kill the process SOLVED: 1. Write a shell script to perform the following tasks: a. Redirect all running processes information to a text file. b. Get a PID from the user and kill the process](https://cdn.numerade.com/ask_images/39af32bbb5a541a49f8b05d944bce2ac.jpg)
SOLVED: 1. Write a shell script to perform the following tasks: a. Redirect all running processes information to a text file. b. Get a PID from the user and kill the process
![How can I find out the bash PID from a Windows cmd/powershell prompt? · Issue #3174 · microsoft/WSL · GitHub How can I find out the bash PID from a Windows cmd/powershell prompt? · Issue #3174 · microsoft/WSL · GitHub](https://user-images.githubusercontent.com/96476/39883650-682b3a9c-547f-11e8-8fa1-aacde44839a8.png)