Sponsored Content
Full Discussion: how to run a killed process
Operating Systems Solaris how to run a killed process Post 302339218 by suresh_rtp on Thursday 30th of July 2009 05:10:57 AM
Old 07-30-2009
how to run a killed process

hi,
i am creating a daemon process for updating the file at regular interval.one problem with this is if anybody kills the daemon it wont update the file.anybody have idea how to rerun the daemon if it killed.the code is written in c++ in solaries environment.


thnaks & regards
suresh
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

process not getting killed

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

2. UNIX for Dummies Questions & Answers

Who is the parent of a killed process ?

Suppose we have the following process tree: init-> ProcessA->processB->processC then I kill processB Who is the parent of the processC? init or the processA (6 Replies)
Discussion started by: Puntino
6 Replies

3. Programming

how to delay a process from getting killed

We are forking a process B from process A and the process B should display the details it reads from process C(daemon process) continuously. Let us say that the process C sents 100 packets.The process B receives all the 100 packets from the process C before it prints all details of 31... (1 Reply)
Discussion started by: cijkmysj
1 Replies

4. Shell Programming and Scripting

Sybase Process Killed - How to identify

I have this shell script and in case the sybase process is been killed how can identify whether the process was killed or not, as the error code always returns 0. #!/bin/sh isql -S SERVER -U user -P pass<<TOP select * from tableName go TOP echo $? (2 Replies)
Discussion started by: dinjo_jo
2 Replies

5. Solaris

LDAP process getting killed

Hi all, Currently I am using LDAP to store some network related data, When I run following script ./ns-slapd ldif2db Execution of above script terminates displaying "Killed" on the console. As far as I know, a process can be killed by two ways- 1. manually running " kill -9 <PID of LDAP... (1 Reply)
Discussion started by: akash_mahakode
1 Replies

6. UNIX for Dummies Questions & Answers

SAS Process Getting Killed

HI all, I am very new to AIX (matter of fact Unix). We are currently automating out manual process using Unix Shell Scripting. My wrote a shell script which will accept the name of the sas job as parameter, checks the existense of the sas file in the specified folder. If it is not present,... (1 Reply)
Discussion started by: anubhav2020
1 Replies

7. UNIX for Dummies Questions & Answers

Protect a Process from Being Killed

Hi, I have a process which takes 13-15 mins for execution and its getting killed in the meantime.So can you please helpme out how to protect the process from getting killed. Thanks in advance. Regards, Harika (9 Replies)
Discussion started by: harikagrp
9 Replies

8. UNIX for Dummies Questions & Answers

Process Killed : Need to find why ?

Hi reader, I'm making a tool out of korn shell script that is running on a HP-UX server. But everytime i invoke the tool, it gets killed after a while (mid-process). I have tried re-running it a couple of times but each invocation ending up the same way .. following is a snippet of the o/p... (8 Replies)
Discussion started by: clakkad
8 Replies

9. Shell Programming and Scripting

how to prevent process from being killed

Hi,all.Well,I know someone has already asked this question before,however,It's too long before.So i post a new thread here. Here is the issue.I have a shell script that use awk to calculate something and the script takes about 15 mins,it will use 100% CPU,and the system automatically killed the... (2 Replies)
Discussion started by: homeboy
2 Replies

10. Shell Programming and Scripting

Capturing the killed process logs

I have two set of questions. 1) To skip killing some process automatically. 2) To kill other process and capture their log. I have set of process, some needs to be killed gracefully and others should be skipped. Listed are the process. adm 1522... (1 Reply)
Discussion started by: murali1687
1 Replies
ppud(1M)																  ppud(1M)

NAME
ppud - Pay per use daemon SYNOPSIS
DESCRIPTION
is a daemon that provides system configuration and core usage information to a utility meter system for billing purposes. This daemon runs on Pay per use systems and meters core utilization and system configuration information. The daemon sends this information to a utility meter as an XML file. When a report is sent to a utility meter, it is also written to the file /var/ppu/PPUReport.xml. This report is best viewed using a web browser that understands XML. If the connection to the utility meter fails, the daemon caches the report data until the connection is restored. The daemon re-spawns itself if killed. The following entry is added to /etc/inittab in order to have start and re-spawn itself: The daemon is automatically started when a system boots if a utility meter has been specified via the command (see ppuconfig(1M)). The daemon does not need to be restarted when the meter configuration is changed via the command. The daemon reports errors via syslog. To unconfigure Pay per use, execute: Warning: if this is a Pay per use system and the daemon is not running, usage reports will not be sent to HP and usage may be assumed to be 100%. The daemon performs periodic operations based on the time of day. The daemon is spawned by and gets its timezone specification from the /etc/default/tz file. By default the timezone specified in /etc/default/tz is EST5EDT. You can specify which timezone the daemon uses to interpret its current time by modifying the /etc/default/tz file. Refer to environ(5)) for details of the format. A restart of the daemon is required before the new timezone value takes effect (i.e. kill the /usr/lbin/ppud process). For more information see the Pay per use User's Guide located at /usr/share/doc/PayPerUseUserGuide.pdf AUTHORS
ppud was developed by HP. FILES
/etc/default/tz File contains the timezone value used by . The format for the file is the same as the the environment variable format without the prefix . (See environ(5) for details of the TZ format). /var/ppu/cache/ Directory contains the report data that is cached if the connection to the utility meter fails. SEE ALSO
ppuconfig(1M), ppu(5) ppud(1M)
All times are GMT -4. The time now is 01:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy