10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
all,
i've been reading to try and get an abstract idea of the process effeciency of commands , sed, bash, perl, awk, find, grep, etc
which processes will spawn?, fork?, launch subshell?, etc and under what conditions?
how do you know which commands have the faster and better stdio... (2 Replies)
Discussion started by: f77hack
2 Replies
2. Shell Programming and Scripting
Good afternoon
I need to KILL a process in a single command sentence, for example:
kill -9 `ps -aef | grep 'CAL255.4ge' | grep -v grep | awk '{print $2}'`
That sentence Kills the process ID corresponding to the program CAL255.4ge.
However it is possible that the same program... (6 Replies)
Discussion started by: enriquegm82
6 Replies
3. Shell Programming and Scripting
Hi ,I need your help to kill the script itself if run for more than 10 mins .
main.sh
nohup ./a1.sh param1 &
nohup ./a2.sh param1 &
wait
#Wait for 2 scripts to complete and and kill the process if run more than 10 mins
---
Thanks inadvace
MR
Please view this code tag... (2 Replies)
Discussion started by: mohan705
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am using the below command to kill the firefox process i have opened in Redhat 5.
ps -ef|grep fire|grep -v grep|awk '{print $2}'|xargs kill -9
If i execute the above command in terminal it works good and kills session.
but when i use alias for that it is not working.
alias... (2 Replies)
Discussion started by: nokiak810
2 Replies
5. Shell Programming and Scripting
Hello all... new to these forums and a bit of a newbie with linux aswell.
I need to figure out how to write a shell script to kill a process by name as given to the script as an argument. I've got that part working OK, but i need to make sure that the script does not allow processes that are... (6 Replies)
Discussion started by: cannon1707
6 Replies
6. UNIX for Dummies Questions & Answers
I'm going through my UNIX book and came across a section on Customization and Subprocesses.
Can someone tell me what a subprocess is -- for example, when the book says "Which shell 'thing' are known to subprocesses" what exactly does it mean? The book just talks about it without defining it... (10 Replies)
Discussion started by: Straitsfan
10 Replies
7. UNIX for Advanced & Expert Users
Hi All,
I am unable to kill a process using kill command. I am using HP-UX system. I have tried with kill -9 and i have root privilages.
How can i terminate this daemon ? ? ?
Regards,
Vijay Hegde (3 Replies)
Discussion started by: VijayHegde
3 Replies
8. Shell Programming and Scripting
Hello guys,
I have a process named monitoreo, with 'monitoreo start' my process start until i kill them, now i want to do 'monitoreo stop' to kill them.
After 'monitoreo start' i have this process running:
ps -af
UID PID PPID C STIME TTY TIME CMD
ati 10958 1495 ... (5 Replies)
Discussion started by: Lestat
5 Replies
9. Shell Programming and Scripting
Hi all!
I wirte a little Shell Script, that kill pids by programm names. For example, when i want to kill any pid of xmms i use this command:
kill -9 `ps -A | awk ' ($4=="xmms") {print $1}'`
To put this in a "killprg" script i use the following linkes:
#!/bin/bash
echo ""
echo "Programm... (2 Replies)
Discussion started by: donald1111
2 Replies
10. UNIX for Advanced & Expert Users
Hi!!
Is there a possibility to call/start a subproces using ksh ??
Hope that there is somebody to help me.
thanks in advance.
Corine (3 Replies)
Discussion started by: TheBlueLady
3 Replies