OSA A5

A5: Playing with processes. Seeking process informations, priorities, changing the priorities and deleting processes by their pid as well as names.


->Program:


while true

do

echo "1.Display all processes currently there to the shell:";

echo "2.Display information about all processes :";

echo "3.Change priority of a process :";

echo "4.Delete process by their pid"

echo "5.Delete process by their name"

echo "6.Exit";

echo "Enter your choice : ";

read ch;

case $ch in

1)

echo "Processes to the shell : ";

ps

;;  # to break first switch case

2)

echo "information of the processes :";

ps -elf #displays information of all the processes

;;

3)

echo "change the priority of a process"

echo "enter the process id: "

read proid

echo "enter priority of a process : "

read pri

renice $pri $proid #resets the value of the priority of a process ranging from -19 ro 19 only

ps -elf

;;

4)

echo "kill process by their id:"

echo "enter the process pid: "

read proid

kill $proid  #kills processes by their process IDs(PID)

;;

5)

echo "kill process by their name:"

echo "enter the process name: "

read pname

killall $pname #kills process by its name

;;

6)

exit;

;;

esac # end of switch case

done

:OUTPUT:


[joker415@localhost Some-BashScripts-For-practice]$ chmod 777 A-5.sh

[joker415@localhost Some-BashScripts-For-practice]$ gedit A-5.sh

[joker415@localhost Some-BashScripts-For-practice]$./A-5.sh

1.Display all processes currently there to the shell:

2.Display information about all processes :

3.Change priority of a process :

4.Delete process by their pid

5.Delete process by their name

6.Exit

Enter your choice :

1

Processes to the shell :

   PID TTY          TIME CMD

  2598 pts/0    00:00:00 bash

  5965 pts/0    00:00:00 bash

  5966 pts/0    00:00:00 ps

1.Display all processes currently there to the shell:

2.Display information about all processes :

3.Change priority of a process :

4.Delete process by their pid

5.Delete process by their name

6.Exit

Enter your choice :

2

information of the processes :

F S UID         PID   PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD

4 S root          1      0  0  80   0 - 12730 ep_pol 09:05 ?        00:00:03 /us

1 S root          2      0  0  80   0 -     0 kthrea 09:05 ?        00:00:00 [kt

1 S root          3      2  0  80   0 -     0 smpboo 09:05 ?        00:00:01 [ks

1 S root          5      2  0  60 -20 -     0 worker 09:05 ?        00:00:00 [kw

1 S root          7      2  0 -40   - -     0 smpboo 09:05 ?        00:00:00 [mi

1 S root          8      2  0  80   0 -     0 rcu_gp 09:05 ?        00:00:00 [rc

1 S root          9      2  0  80   0 -     0 rcu_gp 09:05 ?        00:00:03 [rc

1 S root         10      2  0 -40   - -     0 smpboo 09:05 ?        00:00:00 [mi

1 S root         11      2  0  80   0 -     0 smpboo 09:05 ?        00:00:00 [ks

1 S root         13      2  0  60 -20 -     0 worker 09:05 ?        00:00:00 [kw

1 S root         14      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [kh

5 S root         15      2  0  80   0 -     0 devtmp 09:05 ?        00:00:00 [kd

1 S root         16      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [ne

1 S root         17      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [wr

1 S root         18      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [ki

1 S root         19      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [bi

1 S root         20      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [kb

1 S root         21      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [at

1 S root         22      2  0  80   0 -     0 hub_th 09:06 ?        00:00:00 [kh

1 S root         23      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [md

1 S root         32      2  0  80   0 -     0 worker 09:06 ?        00:00:00 [kw

1 S root         49      2  0  80   0 -     0 kswapd 09:06 ?        00:00:00 [ks

1 S root         50      2  0  85   5 -     0 ksm_sc 09:06 ?        00:00:00 [ks

1 S root         51      2  0  99  19 -     0 khugep 09:06 ?        00:00:02 [kh

1 S root         52      2  0  80   0 -     0 fsnoti 09:06 ?        00:00:00 [fs

1 S root         53      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [cr

1 S root         62      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [kt

1 S root         63      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [sc

1 S root         64      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [sc

1 S root         66      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [kp

1 S root         68      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [de

1 S root         79      2  0  80   0 -     0 kaudit 09:06 ?        00:00:00 [ka

1 S root        174      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [tt

1 S root        179      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [mp

1 S root        180      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [mp

1 S root        182      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [sc

1 S root        186      2  0  60 -20 -     0 worker 09:06 ?        00:00:01 [kw

1 S root        196      2  0  80   0 -     0 kjourn 09:06 ?        00:00:00 [jb

1 S root        197      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ex

1 S root        198      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ex

4 S root        259      1  0  80   0 - 14917 ep_pol 09:06 ?        00:00:00 /us

1 S root        265      2  0  60 -20 -     0 worker 09:06 ?        00:00:00 [kw

1 S root        277      1  0  80   0 - 25127 poll_s 09:06 ?        00:00:00 /us

1 S root        281      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [rp

4 S root        302      1  0  80   0 - 10730 ep_pol 09:06 ?        00:00:00 /us

1 S root        355      2  0  80   0 -     0 kjourn 09:06 ?        00:00:00 [jb

1 S root        356      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ex

1 S root        357      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ex

4 S root        362      1  0  76  -4 - 12249 ep_pol 09:06 ?        00:00:00 /sb

4 S root        375    362  0  72  -8 - 20053 futex_ 09:06 ?        00:00:00 /sb

4 S root        377    375  0  76  -4 -  5998 unix_s 09:06 ?        00:00:00 /us

0 S root        379      1  0  99  19 -  4193 poll_s 09:06 ?        00:00:00 /us

4 S root        381      1  0  80   0 - 81245 poll_s 09:06 ?        00:00:01 /us

4 S rtkit       383      1  0  81   1 - 41153 poll_s 09:06 ?        00:00:00 /us

4 S root        384      1  0  80   0 - 91616 poll_s 09:06 ?        00:00:00 /us

4 S root        386      1  0  80   0 - 31973 hrtime 09:06 ?        00:00:00 /us

4 S avahi       387      1  0  80   0 -  7018 poll_s 09:06 ?        00:00:00 ava

4 S root        389      1  0  80   0 -  1074 poll_s 09:06 ?        00:00:01 /sb

5 S chrony      393      1  0  80   0 -  6184 poll_s 09:06 ?        00:00:00 /us

4 S root        394      1  0  80   0 - 89448 poll_s 09:06 ?        00:00:00 /sb

4 S root        395      1  0  80   0 -  4798 hrtime 09:06 ?        00:00:00 /us

0 S root        396      1  0  80   0 - 81087 poll_s 09:06 ?        00:00:00 /us

4 S root        397      1  0  80   0 - 38991 poll_s 09:06 ?        00:00:00 /us

0 S root        398      1  0  80   0 - 38464 inotif 09:06 ?        00:00:00 /us

0 S root        399      1  0  80   0 - 38464 inotif 09:06 ?        00:00:00 /us

4 S root        405      1  0  80   0 -  8177 ep_pol 09:06 ?        00:00:00 /us

4 S dbus        406      1  0  80   0 -  8408 ep_pol 09:06 ?        00:00:02 /bi

4 S root        407      1  0  80   0 - 31030 hrtime 09:06 ?        00:00:00 /us

4 S root        408      1  0  80   0 -  5936 hrtime 09:06 ?        00:00:00 /us

4 S root        410      1  0  80   0 - 74223 poll_s 09:06 ?        00:00:00 /us

4 S root        414      1  0  80   0 -  1627 poll_s 09:06 ?        00:00:00 /us

1 S avahi       426    387  0  80   0 -  6986 unix_s 09:06 ?        00:00:00 ava

4 S root        498    410  0  80   0 - 95137 poll_s 09:06 ?        00:00:00 /us

4 S root        506    498  1  80   0 - 52832 poll_s 09:06 tty1     00:00:29 /us

4 S polkitd     507      1  0  80   0 - 129142 poll_s 09:06 ?       00:00:06 /us

4 S joker415    607      1  0  80   0 - 11097 ep_pol 09:07 ?        00:00:00 /us

4 S root        609      1  0  80   0 - 110328 poll_s 09:07 ?       00:00:00 /us

5 S joker415    663    607  0  80   0 - 18469 sigtim 09:07 ?        00:00:00 (sd

1 S root        953      2  0  60 -20 -     0 rescue 09:07 ?        00:00:00 [cf

1 S root        988      1  0  80   0 - 45134 futex_ 09:07 ?        00:00:00 /us

4 S root       1033      1  0  80   0 - 127827 poll_s 09:07 ?       00:00:00 /us

4 S root       1043      1  0  80   0 -  4224 poll_s 09:07 ?        00:00:00 /us

4 S root       1045      1  0  80   0 - 20190 poll_s 09:07 ?        00:00:00 /us

5 S rpc        1046      1  0  80   0 -  9429 poll_s 09:07 ?        00:00:00 /sb

5 S rpcuser    1083      1  0  80   0 - 10570 poll_s 09:07 ?        00:00:00 /sb

4 S root       1164      1  0  80   0 - 65565 poll_s 09:07 ?        00:00:10 /us

4 S gdm        1240      1  0  80   0 - 11097 ep_pol 09:07 ?        00:00:00 /us

5 S gdm        1243   1240  0  80   0 - 18603 sigtim 09:07 ?        00:00:00 (sd

4 S root       1244    609  0  80   0 - 25586 poll_s 09:07 ?        00:00:00 /sb

4 S root       1297      1  0  80   0 -  7607 hrtime 09:07 ?        00:00:00 tpv

4 S root       1332      1  0  80   0 - 47275 ep_pol 09:07 ?        00:00:00 /us

4 S colord     1366      1  0  80   0 - 98122 poll_s 09:07 ?        00:00:00 /us

0 S root       1487      1  0  80   0 - 86534 poll_s 09:07 ?        00:00:00 /us

0 S root       1508      1  0  80   0 - 41806 poll_s 09:07 ?        00:00:00 /us

4 S root       1608    498  0  80   0 - 129265 poll_s 09:08 ?       00:00:00 gdm

1 S joker415   1616      1  0  80   0 - 135810 poll_s 09:08 ?       00:00:00 /us

4 S joker415   1618   1608  0  80   0 - 143947 poll_s 09:08 ?       00:00:00 gno

1 S joker415   1626      1  0  80   0 -  3483 poll_s 09:08 ?        00:00:00 dbu

1 S joker415   1627      1  0  80   0 -  8490 ep_pol 09:08 ?        00:00:00 /bi

0 S joker415   1692      1  0  80   0 - 77356 poll_s 09:08 ?        00:00:00 /us

0 S joker415   1726      1  0  80   0 - 89350 futex_ 09:08 ?        00:00:00 /us

0 S joker415   1772      1  0  80   0 - 84433 poll_s 09:08 ?        00:00:00 /us

0 S joker415   1776   1772  0  80   0 -  8166 ep_pol 09:08 ?        00:00:00 /bi

0 S joker415   1780      1  0  80   0 - 31854 poll_s 09:08 ?        00:00:00 /us

0 S joker415   1789   1618  0  80   0 - 293913 poll_s 09:08 ?       00:00:01 /us

1 S joker415   1807      1  0  69 -11 - 121499 poll_s 09:08 ?       00:00:02 /us

0 S joker415   1812      1  0  80   0 - 44592 poll_s 09:08 ?        00:00:00 /us

0 S joker415   1825      1  0  80   0 - 100200 poll_s 09:08 ?       00:00:00 /us

4 S root       1827      1  0  80   0 - 90083 poll_s 09:08 ?        00:00:00 /us

0 S joker415   1838      1  0  80   0 - 101434 poll_s 09:08 ?       00:00:00 /us

0 S joker415   1844      1  0  80   0 - 76193 poll_s 09:08 ?        00:00:00 /us

0 S joker415   1847      1  0  80   0 - 159241 poll_s 09:08 ?       00:00:00 /us

0 S joker415   1853      1  0  80   0 - 77495 poll_s 09:08 ?        00:00:00 /us

0 S joker415   1857      1  0  80   0 - 77706 poll_s 09:08 ?        00:00:00 /us

0 S joker415   1865      1  0  80   0 - 79977 poll_s 09:08 ?        00:00:00 /us

0 S joker415   1878   1618  7  80   0 - 522630 poll_s 09:08 ?       00:02:37 /us

4 S root       1882      1  0  80   0 - 107982 poll_s 09:08 ?       00:00:03 /us

0 S joker415   1897      1  0  80   0 - 128420 poll_s 09:08 ?       00:00:00 /us

0 S joker415   1917      1  0  80   0 - 116683 poll_s 09:08 ?       00:00:00 /us

0 S joker415   1922   1917  0  80   0 - 97278 poll_s 09:08 ?        00:00:00 /us

0 S joker415   1925      1  0  80   0 - 109386 poll_s 09:08 ?       00:00:00 /us

0 S joker415   1938      1  0  80   0 - 194313 poll_s 09:08 ?       00:00:00 /us

0 S joker415   1944      1  0  80   0 - 189236 poll_s 09:08 ?       00:00:00 /us

0 S joker415   2009   1917  0  80   0 - 78862 poll_s 09:08 ?        00:00:00 /us

0 S joker415   2020   1618  0  80   0 - 102275 poll_s 09:08 ?       00:00:00 abr

0 S joker415   2052   1618  0  80   0 - 74175 poll_s 09:08 ?        00:00:00 /us

0 S joker415   2126   1618  0  80   0 - 219218 poll_s 09:08 ?       00:00:00 /us

0 S joker415   2136      1  0  80   0 - 162944 poll_s 09:08 ?       00:00:18 /us

0 S joker415   2137   1618  0  80   0 - 143318 poll_s 09:08 ?       00:00:03 /us

0 S joker415   2139   1618  0  99  19 - 171116 poll_s 09:08 ?       00:00:00 /us

0 S joker415   2151   1618  0  80   0 - 120741 poll_s 09:08 ?       00:00:00 /us

0 S joker415   2188      1  0  80   0 - 287428 poll_s 09:08 ?       00:00:01 /us

0 S joker415   2192      1  0  80   0 - 95787 poll_s 09:08 ?        00:00:00 /us

0 S joker415   2198      1  0  80   0 -  5839 poll_s 09:08 ?        00:00:00 /us

0 S joker415   2206      1  0  80   0 - 36882 poll_s 09:08 ?        00:00:00 /us

4 R root       2209   1882  6  90  10 - 175894 ?     09:08 ?        00:02:13 /us

0 S joker415   2594      1  0  80   0 - 196929 poll_s 09:11 ?       00:00:04 /us

0 S joker415   2597   2594  0  80   0 -  2112 unix_s 09:11 ?        00:00:00 gno

0 S joker415   2598   2594  0  80   0 - 29140 wait   09:11 pts/0    00:00:00 bas

0 S joker415   3088      1  0  80   0 - 58755 poll_s 09:17 ?        00:00:00 /us

1 S root       3362      2  0  80   0 -     0 worker 09:20 ?        00:00:00 [kw

4 S root       3602      1  0  80   0 - 20722 wait   09:23 ?        00:00:00 log

4 S root       3665      1  0  80   0 - 11097 ep_pol 09:23 ?        00:00:00 /us

5 S root       3668   3665  0  80   0 - 18603 sigtim 09:23 ?        00:00:00 (sd

4 S root       3671   3602  0  80   0 - 29112 n_tty_ 09:23 tty2     00:00:00 -ba

0 S joker415   3900      1  0  80   0 - 153272 poll_s 09:24 ?       00:00:00 /us

1 S root       4175      2  0  80   0 -     0 worker 09:26 ?        00:00:00 [kw

1 S root       4650      2  0  80   0 -     0 worker 09:31 ?        00:00:00 [kw

1 S root       5001      2  0  80   0 -     0 worker 09:35 ?        00:00:00 [kw

1 S root       5163      2  0  80   0 -     0 worker 09:36 ?        00:00:00 [kw

1 S root       5543      2  0  80   0 -     0 worker 09:41 ?        00:00:00 [kw

1 S root       5574      2  0  80   0 -     0 worker 09:42 ?        00:00:00 [kw

4 S root       5632   1608  0  80   0 - 92366 poll_s 09:42 ?        00:00:00 gdm

1 S joker415   5965   2598  0  80   0 - 29140 wait   09:44 pts/0    00:00:00 bas

0 R joker415   5981   5965  0  80   0 - 30841 -      09:44 pts/0    00:00:00 ps

1.Display all processes currently there to the shell:

2.Display information about all processes :

3.Change priority of a process :

4.Delete process by their pid

5.Delete process by their name

6.Exit

Enter your choice :

3

change the priority of a process

enter the process id:

3088

enter priority of a process :

10

3088 (process ID) old priority 0, new priority 10

F S UID         PID   PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD

4 S root          1      0  0  80   0 - 12730 ep_pol 09:05 ?        00:00:03 /usr/lib/systemd/systemd --switched-root --system --

deserialize

1 S root          2      0  0  80   0 -     0 kthrea 09:05 ?        00:00:00 [kthreadd]

1 S root          3      2  0  80   0 -     0 smpboo 09:05 ?        00:00:01 [ksoftirqd/0]

1 S root          5      2  0  60 -20 -     0 worker 09:05 ?        00:00:00 [kworker/0:0H]

1 S root          7      2  0 -40   - -     0 smpboo 09:05 ?        00:00:00 [migration/0]

1 S root          8      2  0  80   0 -     0 rcu_gp 09:05 ?        00:00:00 [rcu_bh]

1 S root          9      2  0  80   0 -     0 rcu_gp 09:05 ?        00:00:03 [rcu_sched]

1 S root         10      2  0 -40   - -     0 smpboo 09:05 ?        00:00:00 [migration/1]

1 S root         11      2  0  80   0 -     0 smpboo 09:05 ?        00:00:00 [ksoftirqd/1]

1 S root         13      2  0  60 -20 -     0 worker 09:05 ?        00:00:00 [kworker/1:0H]

1 S root         14      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [khelper]

5 S root         15      2  0  80   0 -     0 devtmp 09:05 ?        00:00:00 [kdevtmpfs]

1 S root         16      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [netns]

1 S root         17      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [writeback]

1 S root         18      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [kintegrityd]

1 S root         19      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [bioset]

1 S root         20      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [kblockd]

1 S root         21      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ata_sff]

1 S root         22      2  0  80   0 -     0 hub_th 09:06 ?        00:00:00 [khubd]

1 S root         23      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [md]

1 S root         32      2  0  80   0 -     0 worker 09:06 ?        00:00:00 [kworker/u256:1]

1 S root         49      2  0  80   0 -     0 kswapd 09:06 ?        00:00:00 [kswapd0]

1 S root         50      2  0  85   5 -     0 ksm_sc 09:06 ?        00:00:00 [ksmd]

1 S root         51      2  0  99  19 -     0 khugep 09:06 ?        00:00:02 [khugepaged]

1 S root         52      2  0  80   0 -     0 fsnoti 09:06 ?        00:00:00 [fsnotify_mark]

1 S root         53      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [crypto]

1 S root         62      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [kthrotld]

1 S root         63      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [scsi_eh_0]

1 S root         64      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [scsi_eh_1]

1 S root         66      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [kpsmoused]

1 S root         68      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [deferwq]

1 S root         79      2  0  80   0 -     0 kaudit 09:06 ?        00:00:00 [kauditd]

1 S root        174      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ttm_swap]

1 S root        179      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [mpt_poll_0]

1 S root        180      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [mpt/0]

1 S root        182      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [scsi_eh_2]

1 S root        186      2  0  60 -20 -     0 worker 09:06 ?        00:00:01 [kworker/0:1H]

1 S root        196      2  0  80   0 -     0 kjourn 09:06 ?        00:00:00 [jbd2/sda5-8]

1 S root        197      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-rsv-conver]

1 S root        198      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-unrsv-conv]

4 S root        259      1  0  80   0 - 14917 ep_pol 09:06 ?        00:00:00 /usr/lib/systemd/systemd-journald

1 S root        265      2  0  60 -20 -     0 worker 09:06 ?        00:00:00 [kworker/1:1H]

1 S root        277      1  0  80   0 - 25127 poll_s 09:06 ?        00:00:00 /usr/sbin/lvmetad

1 S root        281      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [rpciod]

4 S root        302      1  0  80   0 - 10730 ep_pol 09:06 ?        00:00:00 /usr/lib/systemd/systemd-udevd

1 S root        355      2  0  80   0 -     0 kjourn 09:06 ?        00:00:00 [jbd2/sda2-8]

1 S root        356      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-rsv-conver]

1 S root        357      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-unrsv-conv]

4 S root        362      1  0  76  -4 - 12249 ep_pol 09:06 ?        00:00:00 /sbin/auditd -n

4 S root        375    362  0  72  -8 - 20053 futex_ 09:06 ?        00:00:00 /sbin/audispd

4 S root        377    375  0  76  -4 -  5998 unix_s 09:06 ?        00:00:00 /usr/sbin/sedispatch

0 S root        379      1  0  99  19 -  4193 poll_s 09:06 ?        00:00:00 /usr/sbin/alsactl -s -n 19 -c -E

ALSA_CONFIG_PATH=/etc/alsa/als

4 S root        381      1  0  80   0 - 81245 poll_s 09:06 ?        00:00:01 /usr/bin/python /usr/sbin/firewalld --nofork --nopid

4 S rtkit       383      1  0  81   1 - 41153 poll_s 09:06 ?        00:00:00 /usr/libexec/rtkit-daemon

4 S root        384      1  0  80   0 - 91616 poll_s 09:06 ?        00:00:00 /usr/libexec/accounts-daemon

4 S root        386      1  0  80   0 - 31973 hrtime 09:06 ?        00:00:00 /usr/sbin/smartd -n -q never

4 S avahi       387      1  0  80   0 -  7018 poll_s 09:06 ?        00:00:00 avahi-daemon: running [linux.local]

4 S root        389      1  0  80   0 -  1074 poll_s 09:06 ?        00:00:01 /sbin/rngd -f

5 S chrony      393      1  0  80   0 -  6184 poll_s 09:06 ?        00:00:00 /usr/sbin/chronyd -u chrony

4 S root        394      1  0  80   0 - 89448 poll_s 09:06 ?        00:00:00 /sbin/rsyslogd -n

4 S root        395      1  0  80   0 -  4798 hrtime 09:06 ?        00:00:01 /usr/sbin/irqbalance --foreground

0 S root        396      1  0  80   0 - 81087 poll_s 09:06 ?        00:00:00 /usr/sbin/ModemManager

4 S root        397      1  0  80   0 - 38991 poll_s 09:06 ?        00:00:00 /usr/sbin/abrtd -d -s

0 S root        398      1  0  80   0 - 38464 inotif 09:06 ?        00:00:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at

WARNING: CPU: INFO:

0 S root        399      1  0  80   0 - 38464 inotif 09:06 ?        00:00:00 /usr/bin/abrt-watch-log -F Backtrace

/var/log/Xorg.0.log -- /us

4 S root        405      1  0  80   0 -  8177 ep_pol 09:06 ?        00:00:00 /usr/lib/systemd/systemd-logind

4 S dbus        406      1  0  80   0 -  8408 ep_pol 09:06 ?        00:00:02 /bin/dbus-daemon --system --address=systemd: --

nofork --nopidfi

4 S root        407      1  0  80   0 - 31030 hrtime 09:06 ?        00:00:00 /usr/sbin/crond -n

4 S root        408      1  0  80   0 -  5936 hrtime 09:06 ?        00:00:00 /usr/sbin/atd -f

4 S root        410      1  0  80   0 - 74223 poll_s 09:06 ?        00:00:00 /usr/sbin/gdm

4 S root        414      1  0  80   0 -  1627 poll_s 09:06 ?        00:00:00 /usr/sbin/mcelog --ignorenodev --daemon --foreground

1 S avahi       426    387  0  80   0 -  6986 unix_s 09:06 ?        00:00:00 avahi-daemon: chroot helper

4 S root        498    410  0  80   0 - 95137 poll_s 09:06 ?        00:00:00 /usr/libexec/gdm-simple-slave --display-id

/org/gnome/DisplayMa

4 S root        506    498  1  80   0 - 53644 poll_s 09:06 tty1     00:00:31 /usr/bin/Xorg :0 -background none -verbose -auth

/run/gdm/auth-

4 S polkitd     507      1  0  80   0 - 129142 poll_s 09:06 ?       00:00:07 /usr/lib/polkit-1/polkitd --no-debug

4 S joker415    607      1  0  80   0 - 11097 ep_pol 09:07 ?        00:00:00 /usr/lib/systemd/systemd --user

4 S root        609      1  0  80   0 - 110328 poll_s 09:07 ?       00:00:00 /usr/sbin/NetworkManager --no-daemon

5 S joker415    663    607  0  80   0 - 18469 sigtim 09:07 ?        00:00:00 (sd-pam)                                                      

1 S root        953      2  0  60 -20 -     0 rescue 09:07 ?        00:00:00 [cfg80211]

1 S root        988      1  0  80   0 - 45134 futex_ 09:07 ?        00:00:00 /usr/sbin/vmware-vmblock-fuse -o subtype=vmware-

vmblock,default

4 S root       1033      1  0  80   0 - 127827 poll_s 09:07 ?       00:00:00 /usr/sbin/libvirtd

4 S root       1043      1  0  80   0 -  4224 poll_s 09:07 ?        00:00:00 /usr/libexec/bluetooth/bluetoothd

4 S root       1045      1  0  80   0 - 20190 poll_s 09:07 ?        00:00:00 /usr/sbin/sshd -D

5 S rpc        1046      1  0  80   0 -  9429 poll_s 09:07 ?        00:00:00 /sbin/rpcbind -w

5 S rpcuser    1083      1  0  80   0 - 10570 poll_s 09:07 ?        00:00:00 /sbin/rpc.statd

4 S root       1164      1  0  80   0 - 65565 poll_s 09:07 ?        00:00:10 /usr/sbin/vmtoolsd

4 S gdm        1240      1  0  80   0 - 11097 ep_pol 09:07 ?        00:00:00 /usr/lib/systemd/systemd --user

5 S gdm        1243   1240  0  80   0 - 18603 sigtim 09:07 ?        00:00:00 (sd-pam)                                                      

4 S root       1244    609  0  80   0 - 25586 poll_s 09:07 ?        00:00:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-helper -pf

/var/run/

4 S root       1297      1  0  80   0 -  7607 hrtime 09:07 ?        00:00:00 tpvmlpd2

4 S root       1332      1  0  80   0 - 47275 ep_pol 09:07 ?        00:00:00 /usr/sbin/cupsd -f

4 S colord     1366      1  0  80   0 - 98122 poll_s 09:07 ?        00:00:00 /usr/libexec/colord

0 S root       1487      1  0  80   0 - 86534 poll_s 09:07 ?        00:00:00 /usr/libexec/upowerd

0 S root       1508      1  0  80   0 - 41806 poll_s 09:07 ?        00:00:00 /usr/sbin/pcscd --foreground --auto-exit

4 S root       1608    498  0  80   0 - 129265 poll_s 09:08 ?       00:00:00 gdm-session-worker [pam/gdm-password]

1 S joker415   1616      1  0  80   0 - 135810 poll_s 09:08 ?       00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --

login

4 S joker415   1618   1608  0  80   0 - 143947 poll_s 09:08 ?       00:00:00 gnome-session

1 S joker415   1626      1  0  80   0 -  3483 poll_s 09:08 ?        00:00:00 dbus-launch --sh-syntax --exit-with-session

1 S joker415   1627      1  0  80   0 -  8490 ep_pol 09:08 ?        00:00:00 /bin/dbus-daemon --fork --print-pid 4 --print-

address 6 --sessi

0 S joker415   1692      1  0  80   0 - 77356 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfsd

0 S joker415   1726      1  0  80   0 - 89350 futex_ 09:08 ?        00:00:00 /usr/libexec//gvfsd-fuse /run/user/1001/gvfs -f -o

big_writes

0 S joker415   1772      1  0  80   0 - 84433 poll_s 09:08 ?        00:00:00 /usr/libexec/at-spi-bus-launcher

0 S joker415   1776   1772  0  80   0 -  8166 ep_pol 09:08 ?        00:00:00 /bin/dbus-daemon --config-file=/etc/at-

spi2/accessibility.conf

0 S joker415   1780      1  0  80   0 - 31854 poll_s 09:08 ?        00:00:00 /usr/libexec/at-spi2-registryd --use-gnome-session

0 S joker415   1789   1618  0  80   0 - 293913 poll_s 09:08 ?       00:00:01 /usr/libexec/gnome-settings-daemon

1 S joker415   1807      1  0  69 -11 - 121499 poll_s 09:08 ?       00:00:02 /usr/bin/pulseaudio --start

0 S joker415   1812      1  0  80   0 - 44592 poll_s 09:08 ?        00:00:00 /usr/libexec/dconf-service

0 S joker415   1825      1  0  80   0 - 100200 poll_s 09:08 ?       00:00:00 /usr/libexec/gvfs-udisks2-volume-monitor

4 S root       1827      1  0  80   0 - 90083 poll_s 09:08 ?        00:00:00 /usr/lib/udisks2/udisksd --no-debug

0 S joker415   1838      1  0  80   0 - 101434 poll_s 09:08 ?       00:00:00 /usr/libexec/gvfs-afc-volume-monitor

0 S joker415   1844      1  0  80   0 - 76193 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfs-goa-volume-monitor

0 S joker415   1847      1  0  80   0 - 159241 poll_s 09:08 ?       00:00:00 /usr/libexec/goa-daemon

0 S joker415   1853      1  0  80   0 - 77495 poll_s 09:08 ?        00:00:00 /usr/libexec/mission-control-5

0 S joker415   1857      1  0  80   0 - 77706 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfs-mtp-volume-monitor

0 S joker415   1865      1  0  80   0 - 79977 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfs-gphoto2-volume-monitor

0 R joker415   1878   1618  7  80   0 - 522630 -     09:08 ?        00:02:41 /usr/bin/gnome-shell

4 S root       1882      1  0  80   0 - 107982 poll_s 09:08 ?       00:00:04 /usr/libexec/packagekitd

0 S joker415   1897      1  0  80   0 - 128420 poll_s 09:08 ?       00:00:00 /usr/libexec/gsd-printer

0 S joker415   1917      1  0  80   0 - 116683 poll_s 09:08 ?       00:00:00 /usr/bin/ibus-daemon --replace --xim --panel

disable

0 S joker415   1922   1917  0  80   0 - 97278 poll_s 09:08 ?        00:00:00 /usr/libexec/ibus-dconf

0 S joker415   1925      1  0  80   0 - 109386 poll_s 09:08 ?       00:00:00 /usr/libexec/ibus-x11 --kill-daemon

0 S joker415   1938      1  0  80   0 - 194313 poll_s 09:08 ?       00:00:00 /usr/libexec/gnome-shell-calendar-server

0 S joker415   1944      1  0  80   0 - 189236 poll_s 09:08 ?       00:00:00 /usr/libexec/evolution-source-registry

0 S joker415   2009   1917  0  80   0 - 78862 poll_s 09:08 ?        00:00:00 /usr/libexec/ibus-engine-simple

0 S joker415   2020   1618  0  80   0 - 102275 poll_s 09:08 ?       00:00:00 abrt-applet

0 S joker415   2052   1618  0  80   0 - 74175 poll_s 09:08 ?        00:00:00 /usr/bin/seapplet

0 S joker415   2126   1618  0  80   0 - 219218 poll_s 09:08 ?       00:00:00 /usr/libexec/evolution/3.10/evolution-alarm-

notify

0 S joker415   2136      1  0  80   0 - 162944 poll_s 09:08 ?       00:00:18 /usr/lib/vmware-tools/sbin64/vmtoolsd -n vmusr -

-blockFd 3

0 S joker415   2137   1618  0  80   0 - 143318 poll_s 09:08 ?       00:00:03 /usr/libexec/tracker-store

0 S joker415   2139   1618  0  99  19 - 171116 poll_s 09:08 ?       00:00:00 /usr/libexec/tracker-miner-fs

0 S joker415   2151   1618  0  80   0 - 120741 poll_s 09:08 ?       00:00:00 /usr/libexec/deja-dup/deja-dup-monitor

0 S joker415   2188      1  0  80   0 - 287428 poll_s 09:08 ?       00:00:01 /usr/libexec/evolution-calendar-factory

0 S joker415   2192      1  0  80   0 - 95787 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfsd-burn --spawner :1.3

/org/gtk/gvfs/exec_spaw/

0 S joker415   2198      1  0  80   0 -  5839 poll_s 09:08 ?        00:00:00 /usr/libexec/bluetooth/obexd

0 S joker415   2206      1  0  80   0 - 36882 poll_s 09:08 ?        00:00:00 /usr/libexec/gconfd-2

4 S root       2209   1882  6  90  10 - 175893 ep_pol 09:08 ?       00:02:24 /usr/bin/python

/usr/share/PackageKit/helpers/yum/yumBackend.py

0 S joker415   2594      1  0  80   0 - 197001 poll_s 09:11 ?       00:00:05 /usr/libexec/gnome-terminal-server

0 S joker415   2597   2594  0  80   0 -  2112 unix_s 09:11 ?        00:00:00 gnome-pty-helper

0 S joker415   2598   2594  0  80   0 - 29140 wait   09:11 pts/0    00:00:00 bash

0 S joker415   3088      1  0  90  10 - 58755 poll_s 09:17 ?        00:00:00 /usr/libexec/gvfsd-metadata

1 S root       3362      2  0  80   0 -     0 worker 09:20 ?        00:00:00 [kworker/0:1]

4 S root       3602      1  0  80   0 - 20722 wait   09:23 ?        00:00:00 login -- root    

4 S root       3665      1  0  80   0 - 11097 ep_pol 09:23 ?        00:00:00 /usr/lib/systemd/systemd --user

5 S root       3668   3665  0  80   0 - 18603 sigtim 09:23 ?        00:00:00 (sd-pam)                                                      

4 S root       3671   3602  0  80   0 - 29112 n_tty_ 09:23 tty2     00:00:00 -bash

0 S joker415   3900      1  0  80   0 - 153272 poll_s 09:24 ?       00:00:00 /usr/libexec/gvfsd-trash --spawner :1.3

/org/gtk/gvfs/exec_spaw

1 S root       4175      2  0  80   0 -     0 worker 09:26 ?        00:00:00 [kworker/1:1]

1 S root       4650      2  0  80   0 -     0 worker 09:31 ?        00:00:00 [kworker/u256:2]

1 S root       5001      2  0  80   0 -     0 worker 09:35 ?        00:00:00 [kworker/0:2]

1 S root       5163      2  0  80   0 -     0 worker 09:36 ?        00:00:00 [kworker/1:2]

1 S root       5543      2  0  80   0 -     0 worker 09:41 ?        00:00:00 [kworker/1:0]

1 S root       5574      2  0  80   0 -     0 worker 09:42 ?        00:00:00 [kworker/0:0]

4 S root       5632   1608  0  80   0 - 92366 poll_s 09:42 ?        00:00:00 gdm-session-worker [pam/gdm-password]

1 S joker415   5965   2598  0  80   0 - 29140 wait   09:44 pts/0    00:00:00 bash

1 S root       6116      2  0  80   0 -     0 worker 09:46 ?        00:00:00 [kworker/u256:0]

0 S root       6185   2209  5  90  10 - 80152 poll_s 09:46 ?        00:00:00 /usr/bin/python /usr/libexec/urlgrabber-ext-down

0 R joker415   6188   5965  0  80   0 - 30841 -      09:46 pts/0    00:00:00 ps -elf

1.Display all processes currently there to the shell:

2.Display information about all processes :

3.Change priority of a process :

4.Delete process by their pid

5.Delete process by their name

6.Exit

Enter your choice :

3

change the priority of a process

enter the process id:

3088

enter priority of a process :

25 #The range of process priorities is between -19 to 19! So when we enter

3088 (process ID) old priority 10, new priority 19

F S UID         PID   PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD

4 S root          1      0  0  80   0 - 12730 ep_pol 09:05 ?        00:00:03 /usr/lib/systemd/systemd --switched-root --system --

deserialize

1 S root          2      0  0  80   0 -     0 kthrea 09:05 ?        00:00:00 [kthreadd]

1 S root          3      2  0  80   0 -     0 smpboo 09:05 ?        00:00:01 [ksoftirqd/0]

1 S root          5      2  0  60 -20 -     0 worker 09:05 ?        00:00:00 [kworker/0:0H]

1 S root          7      2  0 -40   - -     0 smpboo 09:05 ?        00:00:00 [migration/0]

1 S root          8      2  0  80   0 -     0 rcu_gp 09:05 ?        00:00:00 [rcu_bh]

1 S root          9      2  0  80   0 -     0 rcu_gp 09:05 ?        00:00:03 [rcu_sched]

1 S root         10      2  0 -40   - -     0 smpboo 09:05 ?        00:00:00 [migration/1]

1 S root         11      2  0  80   0 -     0 smpboo 09:05 ?        00:00:00 [ksoftirqd/1]

1 S root         13      2  0  60 -20 -     0 worker 09:05 ?        00:00:00 [kworker/1:0H]

1 S root         14      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [khelper]

5 S root         15      2  0  80   0 -     0 devtmp 09:05 ?        00:00:00 [kdevtmpfs]

1 S root         16      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [netns]

1 S root         17      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [writeback]

1 S root         18      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [kintegrityd]

1 S root         19      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [bioset]

1 S root         20      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [kblockd]

1 S root         21      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ata_sff]

1 S root         22      2  0  80   0 -     0 hub_th 09:06 ?        00:00:00 [khubd]

1 S root         23      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [md]

1 S root         32      2  0  80   0 -     0 worker 09:06 ?        00:00:00 [kworker/u256:1]

1 S root         49      2  0  80   0 -     0 kswapd 09:06 ?        00:00:00 [kswapd0]

1 S root         50      2  0  85   5 -     0 ksm_sc 09:06 ?        00:00:00 [ksmd]

1 S root         51      2  0  99  19 -     0 khugep 09:06 ?        00:00:02 [khugepaged]

1 S root         52      2  0  80   0 -     0 fsnoti 09:06 ?        00:00:00 [fsnotify_mark]

1 S root         53      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [crypto]

1 S root         62      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [kthrotld]

1 S root         63      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [scsi_eh_0]

1 S root         64      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [scsi_eh_1]

1 S root         66      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [kpsmoused]

1 S root         68      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [deferwq]

a number greater than 19, the priority will be set to 19 only.

1 S root         79      2  0  80   0 -     0 kaudit 09:06 ?        00:00:00 [kauditd]

1 S root        174      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ttm_swap]

1 S root        179      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [mpt_poll_0]

1 S root        180      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [mpt/0]

1 S root        182      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [scsi_eh_2]

1 S root        186      2  0  60 -20 -     0 worker 09:06 ?        00:00:01 [kworker/0:1H]

1 S root        196      2  0  80   0 -     0 kjourn 09:06 ?        00:00:00 [jbd2/sda5-8]

1 S root        197      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-rsv-conver]

1 S root        198      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-unrsv-conv]

4 S root        259      1  0  80   0 - 14917 ep_pol 09:06 ?        00:00:00 /usr/lib/systemd/systemd-journald

1 S root        265      2  0  60 -20 -     0 worker 09:06 ?        00:00:00 [kworker/1:1H]

1 S root        277      1  0  80   0 - 25127 poll_s 09:06 ?        00:00:00 /usr/sbin/lvmetad

1 S root        281      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [rpciod]

4 S root        302      1  0  80   0 - 10730 ep_pol 09:06 ?        00:00:00 /usr/lib/systemd/systemd-udevd

1 S root        355      2  0  80   0 -     0 kjourn 09:06 ?        00:00:00 [jbd2/sda2-8]

1 S root        356      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-rsv-conver]

1 S root        357      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-unrsv-conv]

4 S root        362      1  0  76  -4 - 12249 ep_pol 09:06 ?        00:00:00 /sbin/auditd -n

4 S root        375    362  0  72  -8 - 20053 futex_ 09:06 ?        00:00:00 /sbin/audispd

4 S root        377    375  0  76  -4 -  5998 unix_s 09:06 ?        00:00:00 /usr/sbin/sedispatch

0 S root        379      1  0  99  19 -  4193 poll_s 09:06 ?        00:00:00 /usr/sbin/alsactl -s -n 19 -c -E

ALSA_CONFIG_PATH=/etc/alsa/als

4 S root        381      1  0  80   0 - 81245 poll_s 09:06 ?        00:00:01 /usr/bin/python /usr/sbin/firewalld --nofork --nopid

4 S rtkit       383      1  0  81   1 - 41153 poll_s 09:06 ?        00:00:00 /usr/libexec/rtkit-daemon

4 S root        384      1  0  80   0 - 91616 poll_s 09:06 ?        00:00:00 /usr/libexec/accounts-daemon

4 S root        386      1  0  80   0 - 31973 hrtime 09:06 ?        00:00:00 /usr/sbin/smartd -n -q never

4 S avahi       387      1  0  80   0 -  7018 poll_s 09:06 ?        00:00:00 avahi-daemon: running [linux.local]

4 S root        389      1  0  80   0 -  1074 poll_s 09:06 ?        00:00:02 /sbin/rngd -f

5 S chrony      393      1  0  80   0 -  6184 poll_s 09:06 ?        00:00:00 /usr/sbin/chronyd -u chrony

4 S root        394      1  0  80   0 - 89448 poll_s 09:06 ?        00:00:00 /sbin/rsyslogd -n

4 S root        395      1  0  80   0 -  4798 hrtime 09:06 ?        00:00:01 /usr/sbin/irqbalance --foreground

0 S root        396      1  0  80   0 - 81087 poll_s 09:06 ?        00:00:00 /usr/sbin/ModemManager

4 S root        397      1  0  80   0 - 38991 poll_s 09:06 ?        00:00:00 /usr/sbin/abrtd -d -s

0 S root        398      1  0  80   0 - 38464 inotif 09:06 ?        00:00:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at

WARNING: CPU: INFO:

0 S root        399      1  0  80   0 - 38464 inotif 09:06 ?        00:00:00 /usr/bin/abrt-watch-log -F Backtrace

/var/log/Xorg.0.log -- /us

4 S root        405      1  0  80   0 -  8177 ep_pol 09:06 ?        00:00:00 /usr/lib/systemd/systemd-logind

4 S dbus        406      1  0  80   0 -  8408 ep_pol 09:06 ?        00:00:02 /bin/dbus-daemon --system --address=systemd: --

nofork --nopidfi

4 S root        407      1  0  80   0 - 31030 hrtime 09:06 ?        00:00:00 /usr/sbin/crond -n

4 S root        408      1  0  80   0 -  5936 hrtime 09:06 ?        00:00:00 /usr/sbin/atd -f

4 S root        410      1  0  80   0 - 74223 poll_s 09:06 ?        00:00:00 /usr/sbin/gdm

4 S root        414      1  0  80   0 -  1627 poll_s 09:06 ?        00:00:00 /usr/sbin/mcelog --ignorenodev --daemon --foreground

1 S avahi       426    387  0  80   0 -  6986 unix_s 09:06 ?        00:00:00 avahi-daemon: chroot helper

4 S root        498    410  0  80   0 - 95137 poll_s 09:06 ?        00:00:00 /usr/libexec/gdm-simple-slave --display-id

/org/gnome/DisplayMa

4 S root        506    498  1  80   0 - 53644 poll_s 09:06 tty1     00:00:34 /usr/bin/Xorg :0 -background none -verbose -auth

/run/gdm/auth-

4 S polkitd     507      1  0  80   0 - 129142 poll_s 09:06 ?       00:00:07 /usr/lib/polkit-1/polkitd --no-debug

4 S joker415    607      1  0  80   0 - 11097 ep_pol 09:07 ?        00:00:00 /usr/lib/systemd/systemd --user

4 S root        609      1  0  80   0 - 110328 poll_s 09:07 ?       00:00:00 /usr/sbin/NetworkManager --no-daemon

5 S joker415    663    607  0  80   0 - 18469 sigtim 09:07 ?        00:00:00 (sd-pam)                                                      

1 S root        953      2  0  60 -20 -     0 rescue 09:07 ?        00:00:00 [cfg80211]

1 S root        988      1  0  80   0 - 45134 futex_ 09:07 ?        00:00:00 /usr/sbin/vmware-vmblock-fuse -o subtype=vmware-

vmblock,default

4 S root       1033      1  0  80   0 - 127827 poll_s 09:07 ?       00:00:00 /usr/sbin/libvirtd

4 S root       1043      1  0  80   0 -  4224 poll_s 09:07 ?        00:00:00 /usr/libexec/bluetooth/bluetoothd

4 S root       1045      1  0  80   0 - 20190 poll_s 09:07 ?        00:00:00 /usr/sbin/sshd -D

5 S rpc        1046      1  0  80   0 -  9429 poll_s 09:07 ?        00:00:00 /sbin/rpcbind -w

5 S rpcuser    1083      1  0  80   0 - 10570 poll_s 09:07 ?        00:00:00 /sbin/rpc.statd

4 S root       1164      1  0  80   0 - 65565 poll_s 09:07 ?        00:00:10 /usr/sbin/vmtoolsd

4 S gdm        1240      1  0  80   0 - 11097 ep_pol 09:07 ?        00:00:00 /usr/lib/systemd/systemd --user

5 S gdm        1243   1240  0  80   0 - 18603 sigtim 09:07 ?        00:00:00 (sd-pam)                                                      

4 S root       1244    609  0  80   0 - 25586 poll_s 09:07 ?        00:00:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-helper -pf

/var/run/

4 S root       1297      1  0  80   0 -  7607 hrtime 09:07 ?        00:00:00 tpvmlpd2

4 S root       1332      1  0  80   0 - 47275 ep_pol 09:07 ?        00:00:00 /usr/sbin/cupsd -f

4 S colord     1366      1  0  80   0 - 98122 poll_s 09:07 ?        00:00:00 /usr/libexec/colord

0 S root       1487      1  0  80   0 - 86534 poll_s 09:07 ?        00:00:00 /usr/libexec/upowerd

0 S root       1508      1  0  80   0 - 41806 poll_s 09:07 ?        00:00:00 /usr/sbin/pcscd --foreground --auto-exit

4 S root       1608    498  0  80   0 - 129265 poll_s 09:08 ?       00:00:00 gdm-session-worker [pam/gdm-password]

1 S joker415   1616      1  0  80   0 - 135810 poll_s 09:08 ?       00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --

login

4 S joker415   1618   1608  0  80   0 - 143947 poll_s 09:08 ?       00:00:00 gnome-session

1 S joker415   1626      1  0  80   0 -  3483 poll_s 09:08 ?        00:00:00 dbus-launch --sh-syntax --exit-with-session

1 S joker415   1627      1  0  80   0 -  8490 ep_pol 09:08 ?        00:00:00 /bin/dbus-daemon --fork --print-pid 4 --print-

address 6 --sessi

0 S joker415   1692      1  0  80   0 - 77356 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfsd

0 S joker415   1726      1  0  80   0 - 89350 futex_ 09:08 ?        00:00:00 /usr/libexec//gvfsd-fuse /run/user/1001/gvfs -f -o

big_writes

0 S joker415   1772      1  0  80   0 - 84433 poll_s 09:08 ?        00:00:00 /usr/libexec/at-spi-bus-launcher

0 S joker415   1776   1772  0  80   0 -  8166 ep_pol 09:08 ?        00:00:00 /bin/dbus-daemon --config-file=/etc/at-

spi2/accessibility.conf

0 S joker415   1780      1  0  80   0 - 31854 poll_s 09:08 ?        00:00:00 /usr/libexec/at-spi2-registryd --use-gnome-session

0 S joker415   1789   1618  0  80   0 - 293913 poll_s 09:08 ?       00:00:01 /usr/libexec/gnome-settings-daemon

1 S joker415   1807      1  0  69 -11 - 121499 poll_s 09:08 ?       00:00:02 /usr/bin/pulseaudio --start

0 S joker415   1812      1  0  80   0 - 44592 poll_s 09:08 ?        00:00:00 /usr/libexec/dconf-service

0 S joker415   1825      1  0  80   0 - 100200 poll_s 09:08 ?       00:00:00 /usr/libexec/gvfs-udisks2-volume-monitor

4 S root       1827      1  0  80   0 - 90083 poll_s 09:08 ?        00:00:00 /usr/lib/udisks2/udisksd --no-debug

0 S joker415   1838      1  0  80   0 - 101434 poll_s 09:08 ?       00:00:00 /usr/libexec/gvfs-afc-volume-monitor

0 S joker415   1844      1  0  80   0 - 76193 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfs-goa-volume-monitor

0 S joker415   1847      1  0  80   0 - 159241 poll_s 09:08 ?       00:00:00 /usr/libexec/goa-daemon

0 S joker415   1853      1  0  80   0 - 77495 poll_s 09:08 ?        00:00:00 /usr/libexec/mission-control-5

0 S joker415   1857      1  0  80   0 - 77706 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfs-mtp-volume-monitor

0 S joker415   1865      1  0  80   0 - 79977 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfs-gphoto2-volume-monitor

0 R joker415   1878   1618  7  80   0 - 522630 -     09:08 ?        00:02:46 /usr/bin/gnome-shell

4 S root       1882      1  0  80   0 - 107982 poll_s 09:08 ?       00:00:04 /usr/libexec/packagekitd

0 S joker415   1897      1  0  80   0 - 128420 poll_s 09:08 ?       00:00:00 /usr/libexec/gsd-printer

0 S joker415   1917      1  0  80   0 - 116683 poll_s 09:08 ?       00:00:00 /usr/bin/ibus-daemon --replace --xim --panel

disable

0 S joker415   1922   1917  0  80   0 - 97278 poll_s 09:08 ?        00:00:00 /usr/libexec/ibus-dconf

0 S joker415   1925      1  0  80   0 - 109386 poll_s 09:08 ?       00:00:00 /usr/libexec/ibus-x11 --kill-daemon

0 S joker415   1938      1  0  80   0 - 194313 poll_s 09:08 ?       00:00:00 /usr/libexec/gnome-shell-calendar-server

0 S joker415   1944      1  0  80   0 - 189236 poll_s 09:08 ?       00:00:00 /usr/libexec/evolution-source-registry

0 S joker415   2009   1917  0  80   0 - 78862 poll_s 09:08 ?        00:00:00 /usr/libexec/ibus-engine-simple

0 S joker415   2020   1618  0  80   0 - 102275 poll_s 09:08 ?       00:00:00 abrt-applet

0 S joker415   2052   1618  0  80   0 - 74175 poll_s 09:08 ?        00:00:00 /usr/bin/seapplet

0 S joker415   2126   1618  0  80   0 - 219218 poll_s 09:08 ?       00:00:00 /usr/libexec/evolution/3.10/evolution-alarm-

notify

0 S joker415   2136      1  0  80   0 - 162944 poll_s 09:08 ?       00:00:18 /usr/lib/vmware-tools/sbin64/vmtoolsd -n vmusr -

-blockFd 3

0 S joker415   2137   1618  0  80   0 - 143318 poll_s 09:08 ?       00:00:03 /usr/libexec/tracker-store

0 S joker415   2139   1618  0  99  19 - 171116 poll_s 09:08 ?       00:00:00 /usr/libexec/tracker-miner-fs

0 S joker415   2151   1618  0  80   0 - 120741 poll_s 09:08 ?       00:00:00 /usr/libexec/deja-dup/deja-dup-monitor

0 S joker415   2188      1  0  80   0 - 287428 poll_s 09:08 ?       00:00:01 /usr/libexec/evolution-calendar-factory

0 S joker415   2192      1  0  80   0 - 95787 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfsd-burn --spawner :1.3

/org/gtk/gvfs/exec_spaw/

0 S joker415   2198      1  0  80   0 -  5839 poll_s 09:08 ?        00:00:00 /usr/libexec/bluetooth/obexd

0 S joker415   2206      1  0  80   0 - 36882 poll_s 09:08 ?        00:00:00 /usr/libexec/gconfd-2

4 S root       2209   1882  6  90  10 - 175893 ep_pol 09:08 ?       00:02:24 /usr/bin/python

/usr/share/PackageKit/helpers/yum/yumBackend.py

0 S joker415   2594      1  0  80   0 - 197001 poll_s 09:11 ?       00:00:05 /usr/libexec/gnome-terminal-server

0 S joker415   2597   2594  0  80   0 -  2112 unix_s 09:11 ?        00:00:00 gnome-pty-helper

0 S joker415   2598   2594  0  80   0 - 29140 wait   09:11 pts/0    00:00:00 bash

0 S joker415   3088      1  0  99  19 - 58755 poll_s 09:17 ?        00:00:00 /usr/libexec/gvfsd-metadata

4 S root       3602      1  0  80   0 - 20722 wait   09:23 ?        00:00:00 login -- root    

4 S root       3665      1  0  80   0 - 11097 ep_pol 09:23 ?        00:00:00 /usr/lib/systemd/systemd --user

5 S root       3668   3665  0  80   0 - 18603 sigtim 09:23 ?        00:00:00 (sd-pam)                                                      

4 S root       3671   3602  0  80   0 - 29112 n_tty_ 09:23 tty2     00:00:00 -bash

0 S joker415   3900      1  0  80   0 - 153272 poll_s 09:24 ?       00:00:00 /usr/libexec/gvfsd-trash --spawner :1.3

/org/gtk/gvfs/exec_spaw

1 S root       4175      2  0  80   0 -     0 worker 09:26 ?        00:00:00 [kworker/1:1]

1 S root       4650      2  0  80   0 -     0 worker 09:31 ?        00:00:00 [kworker/u256:2]

1 S root       5001      2  0  80   0 -     0 worker 09:35 ?        00:00:00 [kworker/0:2]

1 S root       5543      2  0  80   0 -     0 worker 09:41 ?        00:00:00 [kworker/1:0]

1 S root       5574      2  0  80   0 -     0 worker 09:42 ?        00:00:00 [kworker/0:0]

4 S root       5632   1608  0  80   0 - 92366 poll_s 09:42 ?        00:00:00 gdm-session-worker [pam/gdm-password]

1 S joker415   5965   2598  0  80   0 - 29140 wait   09:44 pts/0    00:00:00 bash

1 S root       6116      2  0  80   0 -     0 worker 09:46 ?        00:00:00 [kworker/u256:0]

0 S root       6195   2209  0  90  10 - 80152 poll_s 09:46 ?        00:00:00 /usr/bin/python /usr/libexec/urlgrabber-ext-down

1 S root       6199      2  0  80   0 -     0 worker 09:46 ?        00:00:00 [kworker/1:2]

0 R joker415   6263   5965  0  80   0 - 30841 -      09:47 pts/0    00:00:00 ps -elf

1.Display all processes currently there to the shell:

2.Display information about all processes :

3.Change priority of a process :

4.Delete process by their pid

5.Delete process by their name

6.Exit

Enter your choice :

4

kill process by their id:

enter the process pid:

2209 #Cannot kill a process of root user.

./A-5.sh: line 41: kill: (2209) - Operation not permitted

1.Display all processes currently there to the shell:

2.Display information about all processes :

3.Change priority of a process :

4.Delete process by their pid

5.Delete process by their name

6.Exit

Enter your choice :

2

information of the processes :

F S UID         PID   PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD

4 S root          1      0  0  80   0 - 12730 ep_pol 09:05 ?        00:00:03 /usr/lib/systemd/systemd --switched-root --system --

deserialize

1 S root          2      0  0  80   0 -     0 kthrea 09:05 ?        00:00:00 [kthreadd]

1 S root          3      2  0  80   0 -     0 smpboo 09:05 ?        00:00:01 [ksoftirqd/0]

1 S root          5      2  0  60 -20 -     0 worker 09:05 ?        00:00:00 [kworker/0:0H]

1 S root          7      2  0 -40   - -     0 smpboo 09:05 ?        00:00:00 [migration/0]

1 S root          8      2  0  80   0 -     0 rcu_gp 09:05 ?        00:00:00 [rcu_bh]

1 S root          9      2  0  80   0 -     0 rcu_gp 09:05 ?        00:00:03 [rcu_sched]

1 S root         10      2  0 -40   - -     0 smpboo 09:05 ?        00:00:00 [migration/1]

1 S root         11      2  0  80   0 -     0 smpboo 09:05 ?        00:00:00 [ksoftirqd/1]

1 S root         13      2  0  60 -20 -     0 worker 09:05 ?        00:00:00 [kworker/1:0H]

1 S root         14      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [khelper]

5 S root         15      2  0  80   0 -     0 devtmp 09:05 ?        00:00:00 [kdevtmpfs]

1 S root         16      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [netns]

1 S root         17      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [writeback]

1 S root         18      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [kintegrityd]

1 S root         19      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [bioset]

1 S root         20      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [kblockd]

1 S root         21      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ata_sff]

1 S root         22      2  0  80   0 -     0 hub_th 09:06 ?        00:00:00 [khubd]

1 S root         23      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [md]

1 S root         32      2  0  80   0 -     0 worker 09:06 ?        00:00:00 [kworker/u256:1]

1 S root         49      2  0  80   0 -     0 kswapd 09:06 ?        00:00:00 [kswapd0]

1 S root         50      2  0  85   5 -     0 ksm_sc 09:06 ?        00:00:00 [ksmd]

1 S root         51      2  0  99  19 -     0 khugep 09:06 ?        00:00:02 [khugepaged]

1 S root         52      2  0  80   0 -     0 fsnoti 09:06 ?        00:00:00 [fsnotify_mark]

1 S root         53      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [crypto]

1 S root         62      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [kthrotld]

1 S root         63      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [scsi_eh_0]

1 S root         64      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [scsi_eh_1]

1 S root         66      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [kpsmoused]

1 S root         68      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [deferwq]

1 S root         79      2  0  80   0 -     0 kaudit 09:06 ?        00:00:00 [kauditd]

1 S root        174      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ttm_swap]

1 S root        179      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [mpt_poll_0]

1 S root        180      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [mpt/0]

1 S root        182      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [scsi_eh_2]

1 S root        186      2  0  60 -20 -     0 worker 09:06 ?        00:00:01 [kworker/0:1H]

1 S root        196      2  0  80   0 -     0 kjourn 09:06 ?        00:00:00 [jbd2/sda5-8]

1 S root        197      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-rsv-conver]

1 S root        198      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-unrsv-conv]

4 S root        259      1  0  80   0 - 14917 ep_pol 09:06 ?        00:00:00 /usr/lib/systemd/systemd-journald

1 S root        265      2  0  60 -20 -     0 worker 09:06 ?        00:00:00 [kworker/1:1H]

1 S root        277      1  0  80   0 - 25127 poll_s 09:06 ?        00:00:00 /usr/sbin/lvmetad

1 S root        281      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [rpciod]

4 S root        302      1  0  80   0 - 10730 ep_pol 09:06 ?        00:00:00 /usr/lib/systemd/systemd-udevd

1 S root        355      2  0  80   0 -     0 kjourn 09:06 ?        00:00:00 [jbd2/sda2-8]

1 S root        356      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-rsv-conver]

1 S root        357      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-unrsv-conv]

4 S root        362      1  0  76  -4 - 12249 ep_pol 09:06 ?        00:00:00 /sbin/auditd -n

4 S root        375    362  0  72  -8 - 20053 futex_ 09:06 ?        00:00:00 /sbin/audispd

4 S root        377    375  0  76  -4 -  5998 unix_s 09:06 ?        00:00:00 /usr/sbin/sedispatch

0 S root        379      1  0  99  19 -  4193 poll_s 09:06 ?        00:00:00 /usr/sbin/alsactl -s -n 19 -c -E

ALSA_CONFIG_PATH=/etc/alsa/als

4 S root        381      1  0  80   0 - 81245 poll_s 09:06 ?        00:00:01 /usr/bin/python /usr/sbin/firewalld --nofork --nopid

4 S rtkit       383      1  0  81   1 - 41153 poll_s 09:06 ?        00:00:00 /usr/libexec/rtkit-daemon

4 S root        384      1  0  80   0 - 91616 poll_s 09:06 ?        00:00:00 /usr/libexec/accounts-daemon

4 S root        386      1  0  80   0 - 31973 hrtime 09:06 ?        00:00:00 /usr/sbin/smartd -n -q never

4 S avahi       387      1  0  80   0 -  7018 poll_s 09:06 ?        00:00:00 avahi-daemon: running [linux.local]

4 S root        389      1  0  80   0 -  1074 poll_s 09:06 ?        00:00:02 /sbin/rngd -f

5 S chrony      393      1  0  80   0 -  6184 poll_s 09:06 ?        00:00:00 /usr/sbin/chronyd -u chrony

4 S root        394      1  0  80   0 - 89448 poll_s 09:06 ?        00:00:00 /sbin/rsyslogd -n

4 S root        395      1  0  80   0 -  4798 hrtime 09:06 ?        00:00:01 /usr/sbin/irqbalance --foreground

0 S root        396      1  0  80   0 - 81087 poll_s 09:06 ?        00:00:00 /usr/sbin/ModemManager

4 S root        397      1  0  80   0 - 38991 poll_s 09:06 ?        00:00:00 /usr/sbin/abrtd -d -s

0 S root        398      1  0  80   0 - 38464 inotif 09:06 ?        00:00:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at

WARNING: CPU: INFO:

0 S root        399      1  0  80   0 - 38464 inotif 09:06 ?        00:00:00 /usr/bin/abrt-watch-log -F Backtrace

/var/log/Xorg.0.log -- /us

4 S root        405      1  0  80   0 -  8177 ep_pol 09:06 ?        00:00:00 /usr/lib/systemd/systemd-logind

4 S dbus        406      1  0  80   0 -  8408 ep_pol 09:06 ?        00:00:02 /bin/dbus-daemon --system --address=systemd: --

nofork --nopidfi

4 S root        407      1  0  80   0 - 31030 hrtime 09:06 ?        00:00:00 /usr/sbin/crond -n

4 S root        408      1  0  80   0 -  5936 hrtime 09:06 ?        00:00:00 /usr/sbin/atd -f

4 S root        410      1  0  80   0 - 74223 poll_s 09:06 ?        00:00:00 /usr/sbin/gdm

4 S root        414      1  0  80   0 -  1627 poll_s 09:06 ?        00:00:00 /usr/sbin/mcelog --ignorenodev --daemon --foreground

1 S avahi       426    387  0  80   0 -  6986 unix_s 09:06 ?        00:00:00 avahi-daemon: chroot helper

4 S root        498    410  0  80   0 - 95137 poll_s 09:06 ?        00:00:00 /usr/libexec/gdm-simple-slave --display-id

/org/gnome/DisplayMa

4 S root        506    498  1  80   0 - 54653 poll_s 09:06 tty1     00:00:40 /usr/bin/Xorg :0 -background none -verbose -auth

/run/gdm/auth-

4 S polkitd     507      1  0  80   0 - 129211 poll_s 09:06 ?       00:00:07 /usr/lib/polkit-1/polkitd --no-debug

4 S joker415    607      1  0  80   0 - 11097 ep_pol 09:07 ?        00:00:00 /usr/lib/systemd/systemd --user

4 S root        609      1  0  80   0 - 110328 poll_s 09:07 ?       00:00:00 /usr/sbin/NetworkManager --no-daemon

5 S joker415    663    607  0  80   0 - 18469 sigtim 09:07 ?        00:00:00 (sd-pam)                                                      

1 S root        953      2  0  60 -20 -     0 rescue 09:07 ?        00:00:00 [cfg80211]

1 S root        988      1  0  80   0 - 45134 futex_ 09:07 ?        00:00:00 /usr/sbin/vmware-vmblock-fuse -o subtype=vmware-

vmblock,default

4 S root       1033      1  0  80   0 - 127827 poll_s 09:07 ?       00:00:00 /usr/sbin/libvirtd

4 S root       1043      1  0  80   0 -  4224 poll_s 09:07 ?        00:00:00 /usr/libexec/bluetooth/bluetoothd

4 S root       1045      1  0  80   0 - 20190 poll_s 09:07 ?        00:00:00 /usr/sbin/sshd -D

5 S rpc        1046      1  0  80   0 -  9429 poll_s 09:07 ?        00:00:00 /sbin/rpcbind -w

5 S rpcuser    1083      1  0  80   0 - 10570 poll_s 09:07 ?        00:00:00 /sbin/rpc.statd

4 S root       1164      1  0  80   0 - 65565 poll_s 09:07 ?        00:00:10 /usr/sbin/vmtoolsd

4 S gdm        1240      1  0  80   0 - 11097 ep_pol 09:07 ?        00:00:00 /usr/lib/systemd/systemd --user

5 S gdm        1243   1240  0  80   0 - 18603 sigtim 09:07 ?        00:00:00 (sd-pam)                                                      

4 S root       1244    609  0  80   0 - 25586 poll_s 09:07 ?        00:00:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-helper -pf

/var/run/

4 S root       1297      1  0  80   0 -  7607 hrtime 09:07 ?        00:00:00 tpvmlpd2

4 S root       1332      1  0  80   0 - 47275 ep_pol 09:07 ?        00:00:00 /usr/sbin/cupsd -f

4 S colord     1366      1  0  80   0 - 98122 poll_s 09:07 ?        00:00:00 /usr/libexec/colord

0 S root       1487      1  0  80   0 - 86534 poll_s 09:07 ?        00:00:00 /usr/libexec/upowerd

0 S root       1508      1  0  80   0 - 41806 poll_s 09:07 ?        00:00:00 /usr/sbin/pcscd --foreground --auto-exit

4 S root       1608    498  0  80   0 - 129265 poll_s 09:08 ?       00:00:00 gdm-session-worker [pam/gdm-password]

1 S joker415   1616      1  0  80   0 - 135810 poll_s 09:08 ?       00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --

login

4 S joker415   1618   1608  0  80   0 - 143947 poll_s 09:08 ?       00:00:00 gnome-session

1 S joker415   1626      1  0  80   0 -  3483 poll_s 09:08 ?        00:00:00 dbus-launch --sh-syntax --exit-with-session

1 S joker415   1627      1  0  80   0 -  8490 ep_pol 09:08 ?        00:00:00 /bin/dbus-daemon --fork --print-pid 4 --print-

address 6 --sessi

0 S joker415   1692      1  0  80   0 - 77356 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfsd

0 S joker415   1726      1  0  80   0 - 89350 futex_ 09:08 ?        00:00:00 /usr/libexec//gvfsd-fuse /run/user/1001/gvfs -f -o

big_writes

0 S joker415   1772      1  0  80   0 - 84433 poll_s 09:08 ?        00:00:00 /usr/libexec/at-spi-bus-launcher

0 S joker415   1776   1772  0  80   0 -  8166 ep_pol 09:08 ?        00:00:00 /bin/dbus-daemon --config-file=/etc/at-

spi2/accessibility.conf

0 S joker415   1780      1  0  80   0 - 31854 poll_s 09:08 ?        00:00:00 /usr/libexec/at-spi2-registryd --use-gnome-session

0 S joker415   1789   1618  0  80   0 - 293913 poll_s 09:08 ?       00:00:01 /usr/libexec/gnome-settings-daemon

1 S joker415   1807      1  0  69 -11 - 121499 poll_s 09:08 ?       00:00:02 /usr/bin/pulseaudio --start

0 S joker415   1812      1  0  80   0 - 44592 poll_s 09:08 ?        00:00:00 /usr/libexec/dconf-service

0 S joker415   1825      1  0  80   0 - 100200 poll_s 09:08 ?       00:00:00 /usr/libexec/gvfs-udisks2-volume-monitor

4 S root       1827      1  0  80   0 - 90083 poll_s 09:08 ?        00:00:00 /usr/lib/udisks2/udisksd --no-debug

0 S joker415   1838      1  0  80   0 - 101434 poll_s 09:08 ?       00:00:00 /usr/libexec/gvfs-afc-volume-monitor

0 S joker415   1844      1  0  80   0 - 76193 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfs-goa-volume-monitor

0 S joker415   1847      1  0  80   0 - 159241 poll_s 09:08 ?       00:00:00 /usr/libexec/goa-daemon

0 S joker415   1853      1  0  80   0 - 77495 poll_s 09:08 ?        00:00:00 /usr/libexec/mission-control-5

0 S joker415   1857      1  0  80   0 - 77706 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfs-mtp-volume-monitor

0 S joker415   1865      1  0  80   0 - 79977 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfs-gphoto2-volume-monitor

0 R joker415   1878   1618  8  80   0 - 523578 -     09:08 ?        00:03:17 /usr/bin/gnome-shell

4 S root       1882      1  0  80   0 - 107982 poll_s 09:08 ?       00:00:04 /usr/libexec/packagekitd

0 S joker415   1897      1  0  80   0 - 128420 poll_s 09:08 ?       00:00:00 /usr/libexec/gsd-printer

0 S joker415   1917      1  0  80   0 - 116683 poll_s 09:08 ?       00:00:00 /usr/bin/ibus-daemon --replace --xim --panel

disable

0 S joker415   1922   1917  0  80   0 - 97278 poll_s 09:08 ?        00:00:00 /usr/libexec/ibus-dconf

0 S joker415   1925      1  0  80   0 - 109386 poll_s 09:08 ?       00:00:00 /usr/libexec/ibus-x11 --kill-daemon

0 S joker415   1938      1  0  80   0 - 194313 poll_s 09:08 ?       00:00:00 /usr/libexec/gnome-shell-calendar-server

0 S joker415   1944      1  0  80   0 - 189236 poll_s 09:08 ?       00:00:00 /usr/libexec/evolution-source-registry

0 S joker415   2009   1917  0  80   0 - 78862 poll_s 09:08 ?        00:00:00 /usr/libexec/ibus-engine-simple

0 S joker415   2020   1618  0  80   0 - 102275 poll_s 09:08 ?       00:00:00 abrt-applet

0 S joker415   2052   1618  0  80   0 - 74175 poll_s 09:08 ?        00:00:00 /usr/bin/seapplet

0 S joker415   2126   1618  0  80   0 - 219218 poll_s 09:08 ?       00:00:00 /usr/libexec/evolution/3.10/evolution-alarm-

notify

0 S joker415   2136      1  0  80   0 - 162944 poll_s 09:08 ?       00:00:19 /usr/lib/vmware-tools/sbin64/vmtoolsd -n vmusr -

-blockFd 3

0 S joker415   2137   1618  0  80   0 - 143318 poll_s 09:08 ?       00:00:03 /usr/libexec/tracker-store

0 S joker415   2139   1618  0  99  19 - 171116 poll_s 09:08 ?       00:00:00 /usr/libexec/tracker-miner-fs

0 S joker415   2151   1618  0  80   0 - 120741 poll_s 09:08 ?       00:00:00 /usr/libexec/deja-dup/deja-dup-monitor

0 S joker415   2188      1  0  80   0 - 287428 poll_s 09:08 ?       00:00:01 /usr/libexec/evolution-calendar-factory

0 S joker415   2192      1  0  80   0 - 95787 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfsd-burn --spawner :1.3

/org/gtk/gvfs/exec_spaw/

0 S joker415   2198      1  0  80   0 -  5839 poll_s 09:08 ?        00:00:00 /usr/libexec/bluetooth/obexd

0 S joker415   2206      1  0  80   0 - 36882 poll_s 09:08 ?        00:00:00 /usr/libexec/gconfd-2

4 S root       2209   1882  5  90  10 - 175893 ep_pol 09:08 ?       00:02:24 /usr/bin/python

/usr/share/PackageKit/helpers/yum/yumBackend.py

0 R joker415   2594      1  0  80   0 - 197001 -     09:11 ?        00:00:06 /usr/libexec/gnome-terminal-server

0 S joker415   2597   2594  0  80   0 -  2112 unix_s 09:11 ?        00:00:00 gnome-pty-helper

0 S joker415   2598   2594  0  80   0 - 29140 wait   09:11 pts/0    00:00:00 bash

0 S joker415   3088      1  0  99  19 - 58755 poll_s 09:17 ?        00:00:00 /usr/libexec/gvfsd-metadata

4 S root       3602      1  0  80   0 - 20722 wait   09:23 ?        00:00:00 login -- root    

4 S root       3665      1  0  80   0 - 11097 ep_pol 09:23 ?        00:00:00 /usr/lib/systemd/systemd --user

5 S root       3668   3665  0  80   0 - 18603 sigtim 09:23 ?        00:00:00 (sd-pam)                                                      

4 S root       3671   3602  0  80   0 - 29112 n_tty_ 09:23 tty2     00:00:00 -bash

0 S joker415   3900      1  0  80   0 - 153272 poll_s 09:24 ?       00:00:00 /usr/libexec/gvfsd-trash --spawner :1.3

/org/gtk/gvfs/exec_spaw

1 S root       4175      2  0  80   0 -     0 worker 09:26 ?        00:00:00 [kworker/1:1]

1 S root       4650      2  0  80   0 -     0 worker 09:31 ?        00:00:00 [kworker/u256:2]

1 S root       5001      2  0  80   0 -     0 worker 09:35 ?        00:00:00 [kworker/0:2]

1 S root       5543      2  0  80   0 -     0 worker 09:41 ?        00:00:00 [kworker/1:0]

1 S root       5574      2  0  80   0 -     0 worker 09:42 ?        00:00:00 [kworker/0:0]

4 S root       5632   1608  0  80   0 - 92366 poll_s 09:42 ?        00:00:00 gdm-session-worker [pam/gdm-password]

1 S root       6116      2  0  80   0 -     0 worker 09:46 ?        00:00:00 [kworker/u256:0]

0 S root       6195   2209  1  90  10 - 80185 poll_s 09:46 ?        00:00:02 /usr/bin/python /usr/libexec/urlgrabber-ext-down

1 S root       6199      2  0  80   0 -     0 worker 09:46 ?        00:00:00 [kworker/1:2]

0 S joker415   6345   1878 12  80   0 - 205679 poll_s 09:48 ?       00:00:07 /usr/lib64/firefox/firefox

1 S root       6405      2  0  80   0 -     0 worker 09:49 ?        00:00:00 [kworker/1:3]

1 S joker415   6463   2598  0  80   0 - 29140 wait   09:49 pts/0    00:00:00 bash

0 R joker415   6465   6463  0  80   0 - 30841 -      09:49 pts/0    00:00:00 ps -elf

1.Display all processes currently there to the shell:

2.Display information about all processes :

3.Change priority of a process :

4.Delete process by their pid

5.Delete process by their name

6.Exit

Enter your choice :

4

kill process by their id:

enter the process pid:

6345    # killing firefox process

1.Display all processes currently there to the shell:

2.Display information about all processes :

3.Change priority of a process :

4.Delete process by their pid

5.Delete process by their name

6.Exit

Enter your choice :

2

information of the processes :

F S UID         PID   PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD

4 S root          1      0  0  80   0 - 12730 ep_pol 09:05 ?        00:00:03 /usr/lib/systemd/systemd

1 S root          2      0  0  80   0 -     0 kthrea 09:05 ?        00:00:00 [kthreadd]

1 S root          3      2  0  80   0 -     0 smpboo 09:05 ?        00:00:01 [ksoftirqd/0]

1 S root          5      2  0  60 -20 -     0 worker 09:05 ?        00:00:00 [kworker/0:0H]

1 S root          7      2  0 -40   - -     0 smpboo 09:05 ?        00:00:00 [migration/0]

1 S root          8      2  0  80   0 -     0 rcu_gp 09:05 ?        00:00:00 [rcu_bh]

1 S root          9      2  0  80   0 -     0 rcu_gp 09:05 ?        00:00:03 [rcu_sched]

1 S root         10      2  0 -40   - -     0 smpboo 09:05 ?        00:00:00 [migration/1]

1 S root         11      2  0  80   0 -     0 smpboo 09:05 ?        00:00:00 [ksoftirqd/1]

1 S root         13      2  0  60 -20 -     0 worker 09:05 ?        00:00:00 [kworker/1:0H]

1 S root         14      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [khelper]

5 S root         15      2  0  80   0 -     0 devtmp 09:05 ?        00:00:00 [kdevtmpfs]

1 S root         16      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [netns]

1 S root         17      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [writeback]

1 S root         18      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [kintegrityd]

1 S root         19      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [bioset]

1 S root         20      2  0  60 -20 -     0 rescue 09:05 ?        00:00:00 [kblockd]

1 S root         21      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ata_sff]

1 S root         22      2  0  80   0 -     0 hub_th 09:06 ?        00:00:00 [khubd]

1 S root         23      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [md]

1 S root         32      2  0  80   0 -     0 worker 09:06 ?        00:00:00 [kworker/u256:1]

1 S root         49      2  0  80   0 -     0 kswapd 09:06 ?        00:00:00 [kswapd0]

1 S root         50      2  0  85   5 -     0 ksm_sc 09:06 ?        00:00:00 [ksmd]

1 S root         51      2  0  99  19 -     0 khugep 09:06 ?        00:00:02 [khugepaged]

1 S root         52      2  0  80   0 -     0 fsnoti 09:06 ?        00:00:00 [fsnotify_mark]

1 S root         53      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [crypto]

1 S root         62      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [kthrotld]

1 S root         63      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [scsi_eh_0]

1 S root         64      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [scsi_eh_1]

1 S root         66      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [kpsmoused]

1 S root         68      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [deferwq]

1 S root         79      2  0  80   0 -     0 kaudit 09:06 ?        00:00:00 [kauditd]

1 S root        174      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ttm_swap]

1 S root        179      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [mpt_poll_0]

1 S root        180      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [mpt/0]

1 S root        182      2  0  80   0 -     0 scsi_e 09:06 ?        00:00:00 [scsi_eh_2]

1 S root        186      2  0  60 -20 -     0 worker 09:06 ?        00:00:01 [kworker/0:1H]

1 S root        196      2  0  80   0 -     0 kjourn 09:06 ?        00:00:00 [jbd2/sda5-8]

1 S root        197      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-rsv-conver]

1 S root        198      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-unrsv-conv]

4 S root        259      1  0  80   0 - 14917 ep_pol 09:06 ?        00:00:00 /usr/lib/systemd/systemd

1 S root        265      2  0  60 -20 -     0 worker 09:06 ?        00:00:00 [kworker/1:1H]

1 S root        277      1  0  80   0 - 25127 poll_s 09:06 ?        00:00:00 /usr/sbin/lvmetad

1 S root        281      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [rpciod]

4 S root        302      1  0  80   0 - 10730 ep_pol 09:06 ?        00:00:00 /usr/lib/systemd/systemd

1 S root        355      2  0  80   0 -     0 kjourn 09:06 ?        00:00:00 [jbd2/sda2-8]

1 S root        356      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-rsv-conver]

1 S root        357      2  0  60 -20 -     0 rescue 09:06 ?        00:00:00 [ext4-unrsv-conv]

4 S root        362      1  0  76  -4 - 12249 ep_pol 09:06 ?        00:00:00 /sbin/auditd -n

4 S root        375    362  0  72  -8 - 20053 futex_ 09:06 ?        00:00:00 /sbin/audispd

4 S root        377    375  0  76  -4 -  5998 unix_s 09:06 ?        00:00:00 /usr/sbin/sedispatch

0 S root        379      1  0  99  19 -  4193 poll_s 09:06 ?        00:00:00 /usr/sbin/alsactl -s -n

4 S root        381      1  0  80   0 - 81245 poll_s 09:06 ?        00:00:01 /usr/bin/python /usr/sbi

4 S rtkit       383      1  0  81   1 - 41153 poll_s 09:06 ?        00:00:00 /usr/libexec/rtkit-daemo

4 S root        384      1  0  80   0 - 91616 poll_s 09:06 ?        00:00:00 /usr/libexec/accounts-da

4 S root        386      1  0  80   0 - 31973 hrtime 09:06 ?        00:00:00 /usr/sbin/smartd -n -q n

4 S avahi       387      1  0  80   0 -  7018 poll_s 09:06 ?        00:00:00 avahi-daemon: running [l

4 S root        389      1  0  80   0 -  1074 poll_s 09:06 ?        00:00:02 /sbin/rngd -f

5 S chrony      393      1  0  80   0 -  6184 poll_s 09:06 ?        00:00:00 /usr/sbin/chronyd -u chr

4 S root        394      1  0  80   0 - 89448 poll_s 09:06 ?        00:00:00 /sbin/rsyslogd -n

4 S root        395      1  0  80   0 -  4798 hrtime 09:06 ?        00:00:01 /usr/sbin/irqbalance --f

0 S root        396      1  0  80   0 - 81087 poll_s 09:06 ?        00:00:00 /usr/sbin/ModemManager

4 S root        397      1  0  80   0 - 38991 poll_s 09:06 ?        00:00:00 /usr/sbin/abrtd -d -s

0 S root        398      1  0  80   0 - 38464 inotif 09:06 ?        00:00:00 /usr/bin/abrt-watch-log

0 S root        399      1  0  80   0 - 38464 inotif 09:06 ?        00:00:00 /usr/bin/abrt-watch-log

4 S root        405      1  0  80   0 -  8177 ep_pol 09:06 ?        00:00:00 /usr/lib/systemd/systemd

4 S dbus        406      1  0  80   0 -  8408 ep_pol 09:06 ?        00:00:02 /bin/dbus-daemon --syste

4 S root        407      1  0  80   0 - 31030 hrtime 09:06 ?        00:00:00 /usr/sbin/crond -n

4 S root        408      1  0  80   0 -  5936 hrtime 09:06 ?        00:00:00 /usr/sbin/atd -f

4 S root        410      1  0  80   0 - 74223 poll_s 09:06 ?        00:00:00 /usr/sbin/gdm

4 S root        414      1  0  80   0 -  1627 poll_s 09:06 ?        00:00:00 /usr/sbin/mcelog --ignor

1 S avahi       426    387  0  80   0 -  6986 unix_s 09:06 ?        00:00:00 avahi-daemon: chroot hel

4 S root        498    410  0  80   0 - 95137 poll_s 09:06 ?        00:00:00 /usr/libexec/gdm-simple-

4 S root        506    498  1  80   0 - 54429 poll_s 09:06 tty1     00:00:43 /usr/bin/Xorg :0 -backgr

4 S polkitd     507      1  0  80   0 - 129211 poll_s 09:06 ?       00:00:07 /usr/lib/polkit-1/polkit

4 S joker415    607      1  0  80   0 - 11097 ep_pol 09:07 ?        00:00:00 /usr/lib/systemd/systemd

4 S root        609      1  0  80   0 - 110328 poll_s 09:07 ?       00:00:00 /usr/sbin/NetworkManager

5 S joker415    663    607  0  80   0 - 18469 sigtim 09:07 ?        00:00:00 (sd-pam)               

1 S root        953      2  0  60 -20 -     0 rescue 09:07 ?        00:00:00 [cfg80211]

1 S root        988      1  0  80   0 - 45134 futex_ 09:07 ?        00:00:00 /usr/sbin/vmware-vmblock

4 S root       1033      1  0  80   0 - 127827 poll_s 09:07 ?       00:00:00 /usr/sbin/libvirtd

4 S root       1043      1  0  80   0 -  4224 poll_s 09:07 ?        00:00:00 /usr/libexec/bluetooth/b

4 S root       1045      1  0  80   0 - 20190 poll_s 09:07 ?        00:00:00 /usr/sbin/sshd -D

5 S rpc        1046      1  0  80   0 -  9429 poll_s 09:07 ?        00:00:00 /sbin/rpcbind -w

5 S rpcuser    1083      1  0  80   0 - 10570 poll_s 09:07 ?        00:00:00 /sbin/rpc.statd

4 S root       1164      1  0  80   0 - 65565 poll_s 09:07 ?        00:00:10 /usr/sbin/vmtoolsd

4 S gdm        1240      1  0  80   0 - 11097 ep_pol 09:07 ?        00:00:00 /usr/lib/systemd/systemd

5 S gdm        1243   1240  0  80   0 - 18603 sigtim 09:07 ?        00:00:00 (sd-pam)               

4 S root       1244    609  0  80   0 - 25586 poll_s 09:07 ?        00:00:00 /sbin/dhclient -d -sf /u

4 S root       1297      1  0  80   0 -  7607 hrtime 09:07 ?        00:00:00 tpvmlpd2

4 S root       1332      1  0  80   0 - 47275 ep_pol 09:07 ?        00:00:00 /usr/sbin/cupsd -f

4 S colord     1366      1  0  80   0 - 98122 poll_s 09:07 ?        00:00:00 /usr/libexec/colord

0 S root       1487      1  0  80   0 - 86534 poll_s 09:07 ?        00:00:00 /usr/libexec/upowerd

0 S root       1508      1  0  80   0 - 41806 poll_s 09:07 ?        00:00:00 /usr/sbin/pcscd --foregr

4 S root       1608    498  0  80   0 - 129265 poll_s 09:08 ?       00:00:00 gdm-session-worker [pam/

1 S joker415   1616      1  0  80   0 - 135810 poll_s 09:08 ?       00:00:00 /usr/bin/gnome-keyring-d

4 S joker415   1618   1608  0  80   0 - 143947 poll_s 09:08 ?       00:00:00 gnome-session

1 S joker415   1626      1  0  80   0 -  3483 poll_s 09:08 ?        00:00:00 dbus-launch --sh-syntax

1 S joker415   1627      1  0  80   0 -  8490 ep_pol 09:08 ?        00:00:00 /bin/dbus-daemon --fork

0 S joker415   1692      1  0  80   0 - 77356 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfsd

0 S joker415   1726      1  0  80   0 - 89350 futex_ 09:08 ?        00:00:00 /usr/libexec//gvfsd-fuse

0 S joker415   1772      1  0  80   0 - 84433 poll_s 09:08 ?        00:00:00 /usr/libexec/at-spi-bus-

0 S joker415   1776   1772  0  80   0 -  8166 ep_pol 09:08 ?        00:00:00 /bin/dbus-daemon --confi

0 S joker415   1780      1  0  80   0 - 31854 poll_s 09:08 ?        00:00:00 /usr/libexec/at-spi2-reg

0 S joker415   1789   1618  0  80   0 - 293913 poll_s 09:08 ?       00:00:01 /usr/libexec/gnome-setti

1 S joker415   1807      1  0  69 -11 - 121499 poll_s 09:08 ?       00:00:02 /usr/bin/pulseaudio --st

0 S joker415   1812      1  0  80   0 - 44592 poll_s 09:08 ?        00:00:00 /usr/libexec/dconf-servi

0 S joker415   1825      1  0  80   0 - 100200 poll_s 09:08 ?       00:00:00 /usr/libexec/gvfs-udisks

4 S root       1827      1  0  80   0 - 90083 poll_s 09:08 ?        00:00:00 /usr/lib/udisks2/udisksd

0 S joker415   1838      1  0  80   0 - 101434 poll_s 09:08 ?       00:00:00 /usr/libexec/gvfs-afc-vo

0 S joker415   1844      1  0  80   0 - 76193 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfs-goa-vo

0 S joker415   1847      1  0  80   0 - 159241 poll_s 09:08 ?       00:00:00 /usr/libexec/goa-daemon

0 S joker415   1853      1  0  80   0 - 77495 poll_s 09:08 ?        00:00:00 /usr/libexec/mission-con

0 S joker415   1857      1  0  80   0 - 77706 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfs-mtp-vo

0 S joker415   1865      1  0  80   0 - 79977 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfs-gphoto

0 S joker415   1878   1618  8  80   0 - 523706 poll_s 09:08 ?       00:03:29 /usr/bin/gnome-shell

4 S root       1882      1  0  80   0 - 107982 poll_s 09:08 ?       00:00:04 /usr/libexec/packagekitd

0 S joker415   1897      1  0  80   0 - 128420 poll_s 09:08 ?       00:00:00 /usr/libexec/gsd-printer

0 S joker415   1917      1  0  80   0 - 116683 poll_s 09:08 ?       00:00:00 /usr/bin/ibus-daemon --r

0 S joker415   1922   1917  0  80   0 - 97278 poll_s 09:08 ?        00:00:00 /usr/libexec/ibus-dconf

0 S joker415   1925      1  0  80   0 - 109386 poll_s 09:08 ?       00:00:00 /usr/libexec/ibus-x11 --

0 S joker415   1938      1  0  80   0 - 194313 poll_s 09:08 ?       00:00:00 /usr/libexec/gnome-shell

0 S joker415   1944      1  0  80   0 - 189236 poll_s 09:08 ?       00:00:00 /usr/libexec/evolution-s

0 S joker415   2009   1917  0  80   0 - 78862 poll_s 09:08 ?        00:00:00 /usr/libexec/ibus-engine

0 S joker415   2020   1618  0  80   0 - 102275 poll_s 09:08 ?       00:00:00 abrt-applet

0 S joker415   2052   1618  0  80   0 - 74175 poll_s 09:08 ?        00:00:00 /usr/bin/seapplet

0 S joker415   2126   1618  0  80   0 - 219218 poll_s 09:08 ?       00:00:00 /usr/libexec/evolution/3

0 S joker415   2136      1  0  80   0 - 162944 poll_s 09:08 ?       00:00:19 /usr/lib/vmware-tools/sb

0 S joker415   2137   1618  0  80   0 - 143318 poll_s 09:08 ?       00:00:03 /usr/libexec/tracker-sto

0 S joker415   2139   1618  0  99  19 - 171116 poll_s 09:08 ?       00:00:00 /usr/libexec/tracker-min

0 S joker415   2151   1618  0  80   0 - 120741 poll_s 09:08 ?       00:00:00 /usr/libexec/deja-dup/de

0 S joker415   2188      1  0  80   0 - 287428 poll_s 09:08 ?       00:00:01 /usr/libexec/evolution-c

0 S joker415   2192      1  0  80   0 - 95787 poll_s 09:08 ?        00:00:00 /usr/libexec/gvfsd-burn

0 S joker415   2198      1  0  80   0 -  5839 poll_s 09:08 ?        00:00:00 /usr/libexec/bluetooth/o

0 S joker415   2206      1  0  80   0 - 36882 poll_s 09:08 ?        00:00:00 /usr/libexec/gconfd-2

4 S root       2209   1882  5  90  10 - 175893 ep_pol 09:08 ?       00:02:24 /usr/bin/python /usr/sha

0 S joker415   2594      1  0  80   0 - 197211 poll_s 09:11 ?       00:00:07 /usr/libexec/gnome-termi

0 S joker415   2597   2594  0  80   0 -  2112 unix_s 09:11 ?        00:00:00 gnome-pty-helper

0 S joker415   2598   2594  0  80   0 - 29140 wait   09:11 pts/0    00:00:00 bash

0 S joker415   3088      1  0  99  19 - 58755 poll_s 09:17 ?        00:00:00 /usr/libexec/gvfsd-metad

4 S root       3602      1  0  80   0 - 20722 wait   09:23 ?        00:00:00 login -- root    

4 S root       3665      1  0  80   0 - 11097 ep_pol 09:23 ?        00:00:00 /usr/lib/systemd/systemd

5 S root       3668   3665  0  80   0 - 18603 sigtim 09:23 ?        00:00:00 (sd-pam)               

4 S root       3671   3602  0  80   0 - 29112 n_tty_ 09:23 tty2     00:00:00 -bash

0 S joker415   3900      1  0  80   0 - 153272 poll_s 09:24 ?       00:00:00 /usr/libexec/gvfsd-trash

1 S root       4175      2  0  80   0 -     0 worker 09:26 ?        00:00:00 [kworker/1:1]

1 S root       4650      2  0  80   0 -     0 worker 09:31 ?        00:00:00 [kworker/u256:2]

1 S root       5001      2  0  80   0 -     0 worker 09:35 ?        00:00:00 [kworker/0:2]

1 S root       5543      2  0  80   0 -     0 worker 09:41 ?        00:00:00 [kworker/1:0]

1 S root       5574      2  0  80   0 -     0 worker 09:42 ?        00:00:00 [kworker/0:0]

4 S root       5632   1608  0  80   0 - 92366 poll_s 09:42 ?        00:00:00 gdm-session-worker [pam/

1 S root       6116      2  0  80   0 -     0 worker 09:46 ?        00:00:00 [kworker/u256:0]

0 S root       6195   2209  1  90  10 - 80185 poll_s 09:46 ?        00:00:03 /usr/bin/python /usr/lib

1 S root       6199      2  0  80   0 -     0 worker 09:46 ?        00:00:00 [kworker/1:2]

1 S root       6405      2  0  80   0 -     0 worker 09:49 ?        00:00:00 [kworker/1:3]

1 S joker415   6463   2598  0  80   0 - 29140 wait   09:49 pts/0    00:00:00 bash

1 R root       6474      2  0  80   0 -     0 ?      09:50 ?        00:00:00 [kworker/0:1]

0 S joker415   6526   2594  0  80   0 - 29107 n_tty_ 09:50 pts/1    00:00:00 bash

0 R joker415   6560   6463  0  80   0 - 30841 -      09:50 pts/0    00:00:00 ps -elf

1.Display all processes currently there to the shell:

2.Display information about all processes :

3.Change priority of a process :

4.Delete process by their pid

5.Delete process by their name

6.Exit

Enter your choice :

5

kill process by their name:

enter the process name:

firefox

1.Display all processes currently there to the shell:

2.Display information about all processes :

3.Change priority of a process :

4.Delete process by their pid

5.Delete process by their name

6.Exit

Enter your choice :

6

[joker415@localhost Some-BashScripts-For-practice]$

0 comments:

Post a Comment