08-25-2015
Actually the process running in Production System on 24/7 basis.I have another customized process which monitors whether other process are in stalled stae or not?It actually send some request to other process and if it gets the response from other process with in a configured time period(in seconds) then it declares the other process as alive.If not then it declares the other process is stalled and it restart the process.In this way before I type the earlier mentioned commands, to grab the dump, the process restarts and also it is unpredictable when the process stalls.That is the difficulty.So I need so tool to monitor the status of the periodically and if it did not get any response then it will assume that the process is stalled and triggers the GCORE dump.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ok here is my problem i do not know the command to load a driver for my network card in Ted hat linux 6.0 could sombody give me a hand. and if there is anyone that has a list of commands for red hat that would be great also (2 Replies)
Discussion started by: bbutler3295
2 Replies
2. UNIX for Dummies Questions & Answers
We have an application that terminates with segmentation violation errors in the logs. No source code is available since this is a third party software that is way past its maintenance life cycle. Under these circumstances is there a way to force a core dump of the process for further analysis??
... (3 Replies)
Discussion started by: Un1xNewb1e
3 Replies
3. Linux
Is it true that you can't have the crash dump server/client on the same server?
I know I've installed Nagios open source before, I though it's only for that kind of thing. I never though that Red hat ent 4 would be like client/server on the crash dump.
if someone is having problem with high... (0 Replies)
Discussion started by: itik
0 Replies
4. Red Hat
Hi All,
I have this IBM 8872-1RU/X460
I need to know if the cpu core is off or on.
Is there a query to do that without checking the BIOS?
Here's the cpuinfo
~~~~~~~~~~~~~~~~~~~~
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model ... (1 Reply)
Discussion started by: itik
1 Replies
5. Red Hat
Hello
Im using redhat and try to debug my application , its crashes and in strace I also see it has problems , but I can't see any core dump
I configured all the limit ( im using .cshrc ) and it looks like this :
cputime unlimited
filesize unlimited
datasize unlimited... (8 Replies)
Discussion started by: umen
8 Replies
6. Emergency UNIX and Linux Support
Hi,
I have got core dump stating "core.bash.29846" so i am unable to open.
How to open the core dump file for further analysis?
Reagards
Vanitha (7 Replies)
Discussion started by: vanitham
7 Replies
7. UNIX for Dummies Questions & Answers
how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies
8. Linux
How do i get pointer to thread's local storage or thread specific data while analyzing core dump for linux ?
i use pthread_setspecific to store some data in the pthread's local stoare.
my multi threaded program on linux crashed, and i want to see what is stored in current running thread's... (2 Replies)
Discussion started by: vishwasungal
2 Replies
9. UNIX for Dummies Questions & Answers
Can any body provide me some good link to learn to create and analyze linux user mode application / kernel module core dumps? (1 Reply)
Discussion started by: rupeshkp728
1 Replies
10. Fedora
I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies
LEARN ABOUT NETBSD
setsid
SETSID(2) BSD System Calls Manual SETSID(2)
NAME
setsid -- create session and set process group ID
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
pid_t
setsid(void);
DESCRIPTION
The setsid() function creates a new session. The calling process is the session leader of the new session, is the process group leader of a
new process group and has no controlling terminal. The calling process is the only process in either the session or the process group.
Upon successful completion, the setsid() function returns the value of the process group ID of the new process group, which is the same as
the process ID of the calling process.
ERRORS
If an error occurs, setsid() returns -1 and the global variable errno is set to indicate the error, as follows:
[EPERM] The calling process is already a process group leader, or the process group ID of a process other than the calling process
matches the process ID of the calling process.
SEE ALSO
getsid(2), setpgid(2), tcgetpgrp(3), tcsetpgrp(3)
STANDARDS
The setsid() function conforms to ISO/IEC 9945-1:1990 (``POSIX.1'').
BSD
April 4, 2011 BSD