Every so often, I come across a situation where I need to use some commands that, because I haven’t used them in so long, I end up asking for Google’s help. I’m posting them here for easy retrieval:
- cPanel – force a backup instance to run: /scripts/cpbackup –force
- Linux – kill a specific running process (using “cpbackup” as an example) – 2 different methods you can use:
- ps aux | grep cpbackup
- returns something like “cpbackup 3486 0.0 0.1 4248 1432 ?”
- you type: kill 3486 (or whatever the process id is)
- pidof cpbackup
- returns something like “3486″
- you type: kill 3486 (or whatever the process id is)
- ps aux | grep cpbackup
I’m using Cent OS 5 here, so your mileage may vary.
Comments on this entry are closed.