Tag: process
Find the Process that Listen to a Port
June 8, 2009
Find the process that are listening to a said port… lsof -i :80
Restrict Top to Current User’s Commands
May 7, 2009
Show only your processes in the top list using this command… top -u `whoami` OR top -u binnyva(your username)
Using strace
January 19, 2009
Display system calls made and received by a process strace -c ls >/dev/null
PS Command Forest Mode
September 18, 2008
Displays linux tasks in a hierarchical mode ps -e -o pid,args –forest
Pid Command
December 14, 2007
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
September 14, 2007
A better way to get the process id of an application. I recommend giving an alias for this command… ps…
Recent Comments