Tag: ps

pstree Command

Shows a tree system processes pstree

PS Command Forest Mode

Displays linux tasks in a hierarchical mode ps -e -o pid,args –forest

Pid Command

Create a command that will return the pid of the given command string.. #!/bin/sh ps aux|grep 1|head -n1|awk ‘{print2}’

Better Way to find Process ID of an Application in Linux

A better way to get the process id of an application. I recommend giving an alias for this command… ps…