Q. How do I list all open files for a Linux or UNIX process using command line options?
{ 13 comments }
Q. I’d like to find out if httpd / mysqld or sshd process is running or not under CentOS Linux server. How do I determine whether a process is running or not? A. You need to use following commands: [a] ps – It report a snapshot of the current processes [b] grep – Filter out [...]
{ 1 comment }
Q. Sometime I need to stop a command or task under UNIX. I also noticed that some process will ignore my keystroke-generated signals such as CTRL + C or CTRL+D, so my question is – How do I kill process in UNIX? A. You need to use a command called kill. The kill utility sends [...]
{ 7 comments }
Q. How do I find out my process is running? How do I get pid number for particular process? A. The easiest way to find out is run ps aux command and grep process name. If you got output along with process name/pid, your process is running. Task: Find out process pid Simply use ps [...]
{ 12 comments }
Q. How do I kill process in Linux? A. Linux and all other UNIX like oses comes with kill command. The command kill sends the specified signal (such as kill process) to the specified process or process group. If no signal is specified, the TERM signal is sent. Kill process using kill command under Linux/UNIX [...]
{ 71 comments }