Sponsored Content
Full Discussion: Trap killing PID
Top Forums Shell Programming and Scripting Trap killing PID Post 302980905 by Gajendra_PH on Monday 5th of September 2016 12:18:00 AM
Old 09-05-2016
Thank You Don Cragun and Scrutinizer for your useful responses. I will try in one of this approach.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Session PID & socket connection pid

1. If I use an software application(which connects to the database in the server) in my local pc, how many PID should be registered? Would there be PID for the session and another PID for socket connection? 2. I noticed (through netstat) that when I logged in using the my software application,... (1 Reply)
Discussion started by: pcx26
1 Replies

2. Shell Programming and Scripting

killing PID's of ptree

gurus, normally to stop a process ,i need to kill all its child & then parent process. i do it manually as follows bash-2.03$ ps -ef | grep bpm|grep -v grep tibadmin 21882 21875 0 May 27 ? 0:00 /bin/sh ./bpmse_20.sh -Xms512m -Xmx512m /tibco/UpdateCustomer/dat/UpdateCustome ... (0 Replies)
Discussion started by: abhijeetkul
0 Replies

3. UNIX for Advanced & Expert Users

killing a process pid

What option is used with kill to cause the server to reread its config file. (16 Replies)
Discussion started by: jo calamine
16 Replies

4. UNIX for Dummies Questions & Answers

Need to get pid of a process and have to store the pid in a variable

Hi, I need to get the pid of a process and have to store the pid in a variable and i want to use this value(pid) of the variable for some process. Please can anyone tell me how to get the pid of a process and store it in a variable. please help me on this. Thanks in advance, Amudha (7 Replies)
Discussion started by: samudha
7 Replies

5. Shell Programming and Scripting

Cntl+z Trap is not detecting ??? Help required to add a trap detection ???

Hi folks, I have tried to add some trap detection in the below script....this script is used to monitor database activities...in a rather awkward way :rolleyes:.... The idea behind adding trap is that....this script creates lots of temporary files in the running folder to store the count... (1 Reply)
Discussion started by: frozensmilz
1 Replies

6. Solaris

Finding PID of Killing process

Say I have 2 processes(perl scripts on Solaris machine) A and B. the process A kill the process B. While in the process B how do I print the PID of the process that Killed it(process A) before dieing. My process A looks like open(STATS, "ps -ef|"); while ($inputLine = <STATS>) { if... (7 Replies)
Discussion started by: enigma_007
7 Replies

7. Shell Programming and Scripting

Finding the age of a unix process, killing old processes, killing zombie processes

I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time. Its uses some functions you'll need to define or remove, like slog() which I use for logging, and is_running() which checks if this script is already running so you can... (0 Replies)
Discussion started by: sukerman
0 Replies

8. Homework & Coursework Questions

VM trap may work differently than a pure install trap.

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: That is the last reply I received from my instructor, and I'm looking for some alternatives. When using... (2 Replies)
Discussion started by: newuser45
2 Replies

9. UNIX for Dummies Questions & Answers

Need script for killing Pid in Linux

need script(shell or python) for killing pid in linux (2 Replies)
Discussion started by: roshan9995
2 Replies

10. Shell Programming and Scripting

--killing backround Procs spawned from the parent script with Ctrl+C trap

Hello: Am trying to understand why the method #2 works but method #1 does not. For both methods, sending CTRL+C should kill both the Parent script & all of the spanwd background procs. Method #1: ========================== #!/bin/sh ctrl_c() { echo "** Trapped CTRL-C" ... (3 Replies)
Discussion started by: gilgamesh
3 Replies
IBID-PLUGIN(1)						     Ibid - Multi-protocol Bot						    IBID-PLUGIN(1)

NAME
ibid-plugin - Plugin testing developer environment for Ibid SYNOPSIS
ibid-plugin [options...] [plugin[-]|plugin.Processor[-]...] DESCRIPTION
This utility is for testing Ibid plugins without the full bot environment. This means testing can be performed offline and without loading all the available plugins. This should be run in a configured Ibid bot directory. All the listed plugins and Processors will be loaded on start-up. Naming a plugin loads the complete plugin. Suffixing a - to the name, ignores that plugin or Processor instead of loading it. OPTIONS
-c, --configured Load all configured plugins, instead of only the core and requested plugins. -o, --only Don't load the Ibid core plugins, only the plugins requested. Note that without the core plugin to pre- and post-process events, most other plugins won't function correctly. -p, --public By default, ibid-plugin emulates a private conversation with the bot. With this option, the conversation is considered to be public and the bot will have to be addressed to provoke a response. -v, --verbose Increase verbosity. The final form of each Event object will be displayed before any responses. -h, --help Show a help message and exit. FILES
ibid.ini Locates the database to act upon by looking for the [databases].ibid value in the bot configuration file in the current directory. BUGS
ibid-plugin doesn't emulate a complete Ibid environment, and will ignore all of the following: * Delayed and periodically executed functions. * Messages to alternate sources. * Messages directly dispatched, rather than added to responses. * Permissions. All permissions are granted to the user. SEE ALSO
ibid(1), ibid.ini(5), ibid-setup(1), http://ibid.omnia.za.net/ Ibid 0.1 March 2010 IBID-PLUGIN(1)
All times are GMT -4. The time now is 01:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy