How does one process we can start an executable file? How to
get the PID process, which we started?
Answers were Sorted based on User's Feedback
Answer / vimal
ps -ef|grep username
gives the process started by the user.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / akash
We can use
ps -u yourusername
this will list all the processes that are started by you.
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / hari
to start a process
chkconfig nttpd on
to restart daemon
chkconfig nttpd restart
find the pid of daemon
pidof -s processname
pidof -s nttpd
pidof -s cupsd
pidof -s httpd
Please check it
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sangeetha
We can start a new process from an existing process by
calling the function system("new process &"). The & sign
indicates the new process will run in background. Then
after this we can use the "ps" command to get the PID of
the new process.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / hari
ps -aux | grep 'process-name'
Pls check it is a guess
Hari
| Is This Answer Correct ? | 0 Yes | 1 No |
If JFS file system is 100% full how we can increase the file system ?
Explain mount and unmount command.
What is Unix, and how does it differ from other operating systems?
How to identify whether a file is normal file or directory?
What is difference between grep and find command in unix?
what does the job command do?
what does the 'tee' command do?
What is command statement?
what is mount ,tell me about mount ,how can u use in real time project??
How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks
6 Answers Polaris, Tech Mahindra,
How do you move or rename a file or directory?
what are processor execution levels and priorities?