11-06-2002
zombie program
When you run a ps -ef and if the status is a Z (zombie) does that mean the same as not responding? (Like a windows machine).
Also has anyone here heard of the program called 'top' (I've found it on our Solaris 7 machines) If you have you might be able to help me. I need to know if there is a way to test the status of a machine or program from the top command.
Might help if I explian what I'm trying to do.
I need to write a script/program to detect when a program isn't running and then restart that program. BUT sometimes it's not the program that is responding it can sometimes be the network port and just gone in a zombie mode and it's detected and all but wont receive info or send any through that port. I need to be able to detect that as well and reset that port if that is the problem.
If anyone has any idea's how this can be done or help with the above. Thanks so much if you can help
10 More Discussions You Might Find Interesting
1. Programming
How can you find a zombie file on the system. I have been in the database side of the system to search for Orphan files removed the orphan files, but still got the zombie file. When you run a top command it says there is a zombie process that is running i would like to find it. How can i do... (5 Replies)
Discussion started by: JackieRyan26
5 Replies
2. UNIX for Dummies Questions & Answers
How do i kill a zombie process. Is it that only root can kill a zombie process. (8 Replies)
Discussion started by: orca
8 Replies
3. Programming
main()
{
pid_t child;
child=fork();
if(child > 0)
{sleep(60);
}
else
{exit(0);
}
}
the above code will create zombie process,which will be adopted by init as soon as parent process will dies.Can any one gimme a code or an alogrithm to keep this zombie proocess alive even after... (6 Replies)
Discussion started by: anilchowdhury
6 Replies
4. Linux
Hi
What is the command to find only the zombie processes??
How to write the code in C to fetch the no. of zombie processes??
Thanx (5 Replies)
Discussion started by: jeenat
5 Replies
5. Shell Programming and Scripting
Hi
I need help because I don't know if it is possible to add a find inside a cat.
like I have a file with the pid of the process that use to became zombie. And I have the same pid stored in the var (pid1)
now, I have no clue how to check if the the find finds the pid or even if it's... (2 Replies)
Discussion started by: ruben.rodrigues
2 Replies
6. AIX
Is there an equivilant to the preap command in AIX that would allow me to get rid of a zombie process. I am new to AIX, moving over from Solaris and in the past I have been able to preap the pid on the defunct process to clean them up. I have looked around and the best I can see is that it may... (3 Replies)
Discussion started by: sboots
3 Replies
7. UNIX for Dummies Questions & Answers
Hello
I try to googled it , but I dint get sufficient answer :( ..
When I can see zombie running on server do they consume system resources or not ?
I have read that is not good to kill them with signal 9 cause it might cause more troubles .. why is kill -9 so harmfull?
thanks (2 Replies)
Discussion started by: kvok
2 Replies
8. UNIX for Advanced & Expert Users
What is the overhead associated with zombie process?Is it running out of process-ID?:confused:
Since some information is stored in process table..
Thanks in Advance (4 Replies)
Discussion started by: jois
4 Replies
9. Red Hat
Hi,
Linux redhat 5.5
top shows that i have 20 zombie process :
Tasks: 357 total, 1 running, 336 sleeping, 0 stopped, 20 zombie
Cpu(s): 0.2%us, 0.3%sy, 0.0%ni, 99.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 24949400k total, 2363052k used, 22586348k free, 227084k buffers... (1 Reply)
Discussion started by: yoavbe
1 Replies
10. Programming
hello all,
when we are creating a process by using fork, if the child process terminates before parent, the child process exists as zombie.. My doubt is when that child process terminates, how come that process exists further and show as a zombie process..can anyone help me to clear about this? (1 Reply)
Discussion started by: aarathy
1 Replies
talkd(8c) talkd(8c)
Name
talkd - inter-terminal communications server
Syntax
/etc/talkd
Description
The program is the server for the program. The server provides a rendezvous method for the requesting (possibly remote) and the local
responding
The server is invoked by when it receives a packet on the port indicated in the talk service specification.
Restrictions
The server does not strictly follow network byte order in its packet format and may have difficulty in talking with implementations of on
other architectures that do not take this into account.
The version of released with ULTRIX V3.0 uses a protocol that is incompatible with the protocol used in earlier versions. Starting with
ULTRIX V3.0, the program communicates with other machines running ULTRIX, V3.0 (and later), and machines running 4.3 BSD or versions of
UNIX based on 4.3 BSD.
The command is not 8-bit clean. Typing in DEC Multinational Characters (DECMCS) causes the characters to echo as a sequence of a carets (^)
followed by the character represented with its high bit cleared. This limitation makes unusable if you want to communicate using a language
which has DECMCS characters in its alphabet.
See Also
talk(1), services(5), inetd(8c), ntalkd(8c)
talkd(8c)