Managing Ubuntu Inspecting Processes











>> YOUR LINK HERE: ___ http://youtube.com/watch?v=B7VInY1Y8Ng

Learn how to inspect and kill processes in Ubuntu in less than 30 minutes! • CORRECTION: At the end of the video, I wrongly say that top can not kill processes. You can kill processes on top by pressing k. • Commands (anything that starts with $ means that you have to fill it in, i.e. cd $directory should acutally be something like cd Desktop): • List all processes: ps -e • Search processes and get process ID: pgrep $search-query • List all processes with full info: ps -ef • Get working directory of process: sudo pwdx $pid • Kill process: sudo kill $pid • Find process with certain pid: ps -p $pid • List processes run by certain user: ps -u $user • List processes run with certain command: ps -C $command • List processes with certain format: ps --format= $info-type1 $info-type2 ... • Examples of $info-type: user, pid, args, ppid, pgid, sid, pcpu, pmem • List processes in a tree to see how processes branch off each other: ps --forest • List the running processes using the most of the CPU/memory: top • Quit top: Press q. • Run interactive program that can list, browse, sort, and kill processes: htop • Search processes on htop: Press F3 and enter search query. • Show processes in a tree to see how processes branch off each other in htop: Press F5. • Sort processes: Press F6 and use arrow keys to select what you want to sort by. • Kill process: Press F9. • Quit htop: Press F10. • The operating system used was Ubuntu 14.04 LTS: http://www.ubuntu.com/ • The VM used to run Ubuntu 14.04 was VMWare Workstation Player 12.0: https://www.vmware.com/products/playe... • Also, this was recorded with Kazam: https://apps.ubuntu.com/cat/applicati... • Share this YouTube channel with the following link! https://bit.ly/nhmyoutubechannel

#############################









Content Report
Youtor.org / YTube video Downloader © 2025

created by www.youtor.org