Use top command to monitor the live process running on system and control them according to your requirement.
1. Open terminal and fire top command as shown below.
[root@desktop10 ~]# top
It will display lots of format of output according to higher resource usages priority.
2. To show the process of using by a particular user.
[root@desktop10 ~]# top -u root
Note: you can replace "root" by your desired username.
3. To monitor a particular process id.
[root@desktop10 ~]# top -p 3284
Note: Where 3284 is process id of the any program which can be found by "ps and top" commands.
OR
simply find the process id of any running program by.
[root@desktop10 ~]# pgrep firefox
4273
4. By default top command monitor the process in delay of 3.0 seconds so you can change by.
[root@desktop10 ~]# top -d 10
Here 10 is time in seconds.
5. It's time to use some hot keys with top command which makes more easy to manage the system security.
I) Simply fire the top command like given below
[root@desktop10 ~]# top
Note:1 press k it will ask for process id which will be showing in first column of top command's output
type the process id and press enter it will ask for signal you just press the "enter" key.
Note:2 press c to show command/script which is responsible for every process running in the system.
Note:3 press d to delay process by seconds
Note:4 press z for color changing.
1. Open terminal and fire top command as shown below.
[root@desktop10 ~]# top
It will display lots of format of output according to higher resource usages priority.
2. To show the process of using by a particular user.
[root@desktop10 ~]# top -u root
Note: you can replace "root" by your desired username.
3. To monitor a particular process id.
[root@desktop10 ~]# top -p 3284
Note: Where 3284 is process id of the any program which can be found by "ps and top" commands.
OR
simply find the process id of any running program by.
[root@desktop10 ~]# pgrep firefox
4273
4. By default top command monitor the process in delay of 3.0 seconds so you can change by.
[root@desktop10 ~]# top -d 10
Here 10 is time in seconds.
5. It's time to use some hot keys with top command which makes more easy to manage the system security.
I) Simply fire the top command like given below
[root@desktop10 ~]# top
Note:1 press k it will ask for process id which will be showing in first column of top command's output
type the process id and press enter it will ask for signal you just press the "enter" key.
Note:2 press c to show command/script which is responsible for every process running in the system.
Note:3 press d to delay process by seconds
Note:4 press z for color changing.