N/APosted on - 04/19/2015
I'm using Ubuntu these days and the CPU usage of Ubuntu is quite low. I want to find out the disk path of any process on Ubuntu and delete the files related to unnecessary to boost my PC.
1. How can I find the disk path of a process on Ubuntu?
2. Is there any software to do this?
Finding the disk path of a process
Actually you no need to use any software to find out the disk path of any process on Ubuntu and delete the files related to unnecessary to boost the PC. Instead, you can simply run these commands,
For example, If your search is related to process synergy, then the command should be like this,
ps -o command= -p "$(ps -C synergy -o pid=)" | xargs which
If you need to know only about where the executable is currently rooted, you can simply use the "which…" command.
Example- which synergy
After detecting the necessary processes, you can simply kill them with the command,
Example- killall firefox