Displaying posts categorized under

Process Management

Process Tree – pstree command

pstree is used for displaying a tree of processes . with pstree options we find details about processes, the syntax of pstree command is pstree options Examples1. [root@myserver ~]# pstree (Dispaly all processes)init─┬─acpid ├─atd ├─bonobo-activati ├─cannaserver ├─clock-applet ├─crond ├─cups-config-dae ├─cupsd ├─2*[dbus-daemon-1] ├─dbus-launch ├─eggcups ├─events/0─┬─aio/0 │ ├─aio/1 │ ├─ata/0 │ ├─ata/1 │ ├─kacpid │ ├─kauditd │ [...]

ps command

The ps command is used for manage the running process in our system.Example :1) VIT:/home/antony# ps PID TTY TIME CMD 4717 pts/5 00:00:00 bash 4724 pts/5 00:00:00 psThis command displays the active processes on your system 2) VIT:/home/antony# ps -e PID TTY TIME CMD 1 ? 00:00:01 init 2 ? 00:00:00 migration/0 3 ? 00:00:00 [...]