9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to kill a shell script by grepping it, but the machine is being shutdown totally when i kill it
Below is the code
kill `ps -ef |grep test.sh| grep -v grep`
stat=$?
if # check the return code
then
echo " script killed at $(date +%D@%T) "
else
echo " script... (5 Replies)
Discussion started by: venu
5 Replies
2. Shell Programming and Scripting
I have a script that calls another script within it that takes about 1 hour to execute. I am noticing that the parent script that calls the child script is getting killed. Does anyone know why? The child script still runs. (3 Replies)
Discussion started by: 3junior
3 Replies
3. AIX
Hi,
After run ps , uptime , w command I get reply "killed" as normal dba and staff group user.
As root every command works fine.
I cheched all the user settings , right with other servers and I could not find any error and other settings.
The oslevel is 5300-10-01-0921.
Any idea to... (12 Replies)
Discussion started by: boki
12 Replies
4. Shell Programming and Scripting
Hi Everyone,
I want an script which sends mail after its been killed.
Thanks (3 Replies)
Discussion started by: aki41187
3 Replies
5. Shell Programming and Scripting
Hi all
I have Master script, Main script ,and 4 Child script.
Master.sh
#!/bin/bash
/export/home/user/Main.shMain.sh
#!/bin/bash
/export/home/user/Child1.sh &
/export/home/user/Child2.sh &
/export/home/user/Child3.sh &
/export/home/user/Child4.sh &I run only Master.sh script... (1 Reply)
Discussion started by: almanto
1 Replies
6. UNIX for Advanced & Expert Users
Hi There,
Hope anyone can give me a hand on AIX
oslevel -r
5300-05
Try to "ls *sh" from folder and it return killed, is there any clue on that?
1. perform ls and count
ls * | wc -l
0
ksh: 561582 Killed
2. without provide "*" wildcard, the result can be return
ls | wc
... (7 Replies)
Discussion started by: darkrainbow
7 Replies
7. Solaris
Hi,
We are using oracle 10g in a Solaris box. The same box has Informatica also installed. But it runs on port 6001. But whenever the server is restarted the Oracle database picks up the port 6001 and does not allow Informatica to be started. But I am have no clue of which Oracle process is... (2 Replies)
Discussion started by: chrisanto_2000
2 Replies
8. UNIX for Dummies Questions & Answers
UPDATE: I think I may have a culprit. I had KDE console history to unlimited, and since there's a lot of output... I'm thinking that may be it. I'd still like to hear advice on how to figure out why processes get killed, if anyone has any! though
******************
There's this script I run... (1 Reply)
Discussion started by: tphyahoo
1 Replies
9. UNIX for Dummies Questions & Answers
I have a process that is in the sleeping state "S" and I have tried to stop it with a run control script that I use to stop/start it - but it does not stop.
I have tried kill -9 <PID of process> with no change. I imagine that this process is sleeping with the kernel.
It does not respond to... (5 Replies)
Discussion started by: finster
5 Replies