1. On a LinuxAcademy.com lab server start the top program.
[root@localhost]# top
2. The top program shows all running processes on the system but sorts them. Using your keyboard, browse up and down to view the processes.
Use the keyboard up and down arrows to navigate
3. Sort all processes by memory percentage.
shift + m
4. Sort all processes by CPU usage.
shift + p
5. Renice the process for the script started at the beginning of the exercise. The command will be "bash" displayed in the top program. Set the nice level to -20.
Press the "r" key, enter the process id of the process you want to renice, and set the nice level.
6. Kill the bash script using top.
Press the "k" key and enter the process id to kill then press enter.
'Linux' 카테고리의 다른 글
scsi_id examples on RHEL6 (0) | 2015.07.02 |
---|---|
Configuring Device Mapper Multipath (DMMP) tool for hosts running the Linux operating system (0) | 2015.07.02 |
Settings for Linux hosts on V3700 storage (0) | 2015.07.02 |
Red Hat Enterprise Linux 6 DM Multipath (0) | 2015.07.02 |
Virtual Machines (0) | 2015.06.29 |
Monitoring and calculating CPU load averages (0) | 2015.06.29 |
nice, renice, and ps (0) | 2015.06.29 |
pgrep, pkill, kill, and jobs (0) | 2015.06.29 |
Powering Off Systems (0) | 2015.06.29 |
Interrupt The Boot Process To Change The Boot Target (0) | 2015.06.29 |