11-18-2006
One suggestion if the the problem occurs soner than later is this.
Start a prstat and redirect to a log file. Thats why I say if
it starts immediately to avoid filling up disk space.
When the sigkill calls out the PID you can then view
the PID by looking at the log file and trace that pid
back to the PPID also by reviewing the log file.
Hopefully this will get you started in the right direction.
Also you can set up user.<severity> in the syslog.conf file
and have that directed to /var/adm/messages
This may also give you a clue to whats happening
with your process. Also look at the fuser command
I haven't used it alot my self but it allows you to tell
who's trying access the particular file *.db or whatever
file your interested in.
But as mentioned earlier since databases tend to be on the large size, physical memory and swap space maybe running out.
prstat > problem.db.log
I would run this in the foreground so you don't forget
it's running. It wiil take up some disk space but the log can rm'd as required.
Last edited by bdsffl; 11-18-2006 at 03:27 AM..
10 More Discussions You Might Find Interesting
1. Programming
Hello,
I am running a webserver that uses sockets, forks, and children. The parent process listens for connections and the child processes the information.
I am trying to figure out why the code I have below SIGTERM, and SIGKILL never fire. I was messing around with the printfs and doesnt... (11 Replies)
Discussion started by: norelco55
11 Replies
2. Shell Programming and Scripting
i want a shell script program for how many times a word occur in a file.
i need not the line number but i want the counts of the particular word
for eg:-
hai how r u..
i am from andhra pradesh..
i am from tenali.i need this answer.i need it urgently..
i hope u will answer this ...
... (9 Replies)
Discussion started by: madhu.it
9 Replies
3. Solaris
Dear All,
I have machine with SunOS 5.10 Generic_138888-01 sun4v sparc SUNW,SPARC-Enterprise-T5120. Yesterday there is something at dmesg command :
May 25 18:09:02 cacao_launcher: Timeout occured on heartbeat channel, cleanup engaged
May 25 18:09:07 cacao_launcher: watchdog : warning,... (0 Replies)
Discussion started by: mbah_jiman
0 Replies
4. Shell Programming and Scripting
Dear All
We have JBOSS server running on Linux we need to track Graceful Shutdown(SIGTERM) and Forceful Shutdown(SIGKILL) timestamp and write it into one file, I am new to UNIX Signal processing if is it possible how to detect it?
We generally do
$kill PID For Graceful... (5 Replies)
Discussion started by: mnmonu
5 Replies
5. Shell Programming and Scripting
To find out number of "|" symbol is available in file:
Input:
a|b|c|d|z
Ouput:
4
I am using below set of commands,It is working... Anybody have anyother solution using sed / awk.
cnt=`wc -c <1.txt`
cnt1=`tr -d "|" <1.txt >c.dat`
cnt2=`wc -c <c.dat`
outp=`expr $cnt... (19 Replies)
Discussion started by: Jairaj
19 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
i create 2 file
Config
path1 5 group1
path2 6 group2
path3 10 group1
path4 15 group2
Confine
group1 andrew
group2 alan
In my C shell script i write like this:
set line_array = (`cat $app_dir/config`)
set line_array_2 =... (0 Replies)
Discussion started by: proghack
0 Replies
7. Shell Programming and Scripting
Hello,
I want to only print lines where variables occur more than once using grep.
For eg:
Input:
$this is a comment
int a,b,c,b;
int b,c;
int d,e;
int f,g,f;
x=y+5;
For the above input, the output would be
int a,b,c,b;
int f,g,f;
I have done grep... (3 Replies)
Discussion started by: prasanna1157
3 Replies
8. Shell Programming and Scripting
Which is sent to a terminal when it closes? SIGKILL? Reason I ask is I have a script I want to run in the background, but want it to run even if the terminal window is closed. Or, I'd like it to background itself if the terminal is closed but not if its running in an open window. I will learn how... (5 Replies)
Discussion started by: DC Slick
5 Replies
9. Programming
I have some vectors to evaluate and develop a list of values that occur in more than one element.
This is the simplest case. I have a vector,
std::vector<int> vec1;
vec1=5; vec1=5;
I need to know that that 5 occurs twice in the vector. If I do a double loop,
std::vector<int>... (13 Replies)
Discussion started by: LMHmedchem
13 Replies
10. Cybersecurity
Hello everyone. Upon reading the recent news about the NSA paying RSA to use a faulty cipher suite for it's default, it got me thinking... During a connection say for SSL, what is it that "knows" the rules for ciphers? Are these rules stored on the NIC? can they be edited, changed or appended? ... (3 Replies)
Discussion started by: Lost in Cyberia
3 Replies
LEARN ABOUT CENTOS
ksysguarddrc
ksysguarddrc(5) File Formats Manual ksysguarddrc(5)
NAME
ksysguarddrc - ksysguardd configuration
DESCRIPTION
ksysguardd uses a configuration file at /etc/ksysguarddrc.
PARAMETERS
There are 2 sections of configuration in the ksysguardd configuration file: LogFiles, Sensors.
[LogFiles] OPTIONS
the list of all available logfiles
messages:/var/log/messages,kern:/var/log/kern.log,daemon:/var/log/daemon.log,syslog:/var/log/syslog,auth:/var/log/auth.log
[Sensors] OPTIONS
Sensors: the list of all accessible sensors
Apm Advanced Power Management
Acpi Advanced Configuration and Power Interface
CpuInfo CPU-Clock information
DiskStat partition space. Data comes from mtab, getmntent() and statfs()
DiskStats disk throughput. Data comes from /etc/diskstats
LmSensors information about motherboard and CPU
LoadAvg system load values
LogFile local logfiles
Memory physical memory and swap
NetDev throughput of network interfaces
NetStat number of TCP/UDP/ICMP/Unix sockets
ProcessList current processes
SoftRaid Monitors software raid devices. See mdadm.
Stat interrupts, CPU and disk throughput. Data comes from /etc/stat
Uptime System uptime. Data comes from /etc/uptime
Sensors=ProcessList,Memory,Stat,NetDev,NetStat,Apm,Acpi,CpuInfo,LoadAvg,LmSensors,DiskStat,LogFile,DiskStats,Uptime,SoftRaid
FILES
/etc/ksysguarddrc
ksysguardd configuration file ksysguardd ksysguarddrc(5)