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 |
Write a command that will display files in the current directory, in a colored, long format.
What are the differences among a system call, a library function, and a unix command?
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
4 Answers Infosys, Nikhil Construction,
describe the escaping sequence characteres in unix
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?
Which command is used to copy files?
what is the difference between pipe(|) and tee command..
What is merge command in unix?
What is shrinking file system in AIX where it actually resides?
How do you find out all processes that are currently running in UNIX OS?
How to get the operating system's information in unix?
distinguish between physical addresses and logical address?