Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Meaning and typical use of -3 signal in kill Post 302446553 by venkatesht on Thursday 19th of August 2010 04:59:59 AM
Old 08-19-2010
Meaning and typical use of -3 signal in kill

Hi,

What is the use of the signal -3 in kill command in unix?

I read the meaning and typical use of this signal in one of the Oreilly books as below.

Code:
Quit -- stop running (and dump core). Sent when you type CTRL-\.

what does the CTRL-\ command do? Is it the combination of CTRL and hyphen and backslash?

Thanks in advance.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

kill signal

Hello e'bdy, We have WebSphere MQ running on AIX 5.1 Every weekend MQ receives a kill -30 signal from some process or user and offloads a big error file. There is no way in MQ through which that process can be tracked. Is there something which i can do on UNIX level to trap the process? Best... (3 Replies)
Discussion started by: jhaavinash
3 Replies

2. UNIX for Advanced & Expert Users

Kill Signal

Hello, I'm doing a project of OS simulation (Process Scheduling, to be very specific). Can anyone, please, explain what exactly happens in the background when we see "Sending all processes the KILL signal...........". How is it sent to each process? Is it that something like a boolean is stored... (3 Replies)
Discussion started by: ameya
3 Replies

3. Solaris

Typical way to disable a dameon

I want to disable some services starting automatically while system booting, for instance if i want to disable vold what i have to do ? i think some services related to a script init level shell directory,and i think as well that since solaris 10 they added a command to enable and disable services... (2 Replies)
Discussion started by: XP_2600
2 Replies

4. Shell Programming and Scripting

typical mail script

hi i have a requirement to write a mail script which needs to be automated.There are 7 CSV files generated for 7 clients in a single day.Each file will contain one header and the name of the file follows a nomenclature like ABC_20080402_ClientID.csv.ClientID is lets say... (3 Replies)
Discussion started by: dr46014
3 Replies

5. Shell Programming and Scripting

How to Trap kill -9 signal

I just want to trap kill -9 signal issued by any of user from any terminal and just capture that user terminal who had raised this kill -9 command (1 Reply)
Discussion started by: puneet.goel
1 Replies

6. Shell Programming and Scripting

A typical array script

Hi All, I need to store the output of "find ." to an array one by one. Output of find . in my case will look like :- . ./one ./one/a ./one/b ./one/c ./two So my first array element should be "/one" and second one "/one/a" (need to remove "." from the output as well). Then I need to... (11 Replies)
Discussion started by: Renjesh
11 Replies

7. Emergency UNIX and Linux Support

Calculating total space in GB for all files with typical pattern

Hi Experts, In a particular dir, I have many files *AJAY*. How can I get total size of all such files. I tried du -hs *AJAY* but it gave me individual size of all files. All I require is summation of all. Thanks, Ajay (4 Replies)
Discussion started by: ajaypatil_am
4 Replies

8. Shell Programming and Scripting

Typical problem in UNIX

Input file I have a file with four fields. f1,f2,f3,f4 A,1,10,00,S B,2,20,00,00,D C,3,100,00,00,G I want Output like f1|f2|f3|f4 A|1|10,00|S B|2|20,00,00|D C|3|100,00,00|G please help on this (4 Replies)
Discussion started by: bharat1211
4 Replies

9. UNIX for Dummies Questions & Answers

How to compile a software for a non-typical platform?

I am quite new to compiling source codes in linux and have been running into a lot of problems in trying to do so since the platform configuration is different from most. For starters, I know that you need to enter the following commands in order to install any software manually in linux:... (2 Replies)
Discussion started by: Ice_Drake1
2 Replies
pty(4)							     Kernel Interfaces Manual							    pty(4)

Name
       pty - pseudoterminal driver

Syntax
       pseudo-device pty[n]

Description
       The  driver  provides  support for a device-pair termed a pseudoterminal.  A pseudoterminal is a pair of character devices, a master device
       and a slave device.  The slave device provides processes with an interface identical to	that  described  in  However,  whereas	all  other
       devices	that  provide  the  interface described in have a hardware device of some sort behind them, the slave device has, instead, another
       process manipulating it through the master half of the pseudoterminal.  That is, anything written on the master	device	is  given  to  the
       slave  device as input and anything written on the slave device is presented as input on the master device.  The slave device can be opened
       multiple times, while the master half can be opened only once.

       If no optional n value is given defining the number of pseudoterminal pairs to be configured, 16 pseudoterminal pairs are configured.   All
       pseudoterminal  lines should have a corresponding entry in the /etc/ttys file.  This must be done to insure that logins that use pseudoter-
       minals will be tracked in the utmp and wtmp files.

       The following calls apply only to pseudoterminals:

       TIOCSTOP
	      Stops output to a terminal (for example, like typing CTRL/S).  Takes no parameter.

       TIOCSTART
	      Restarts output (stopped by TIOCSTOP or by typing CTRL/S).  Takes no parameter.

       TIOCPKT
	      Enable/disable packet mode.  Packet mode is enabled by specifying (by reference) a nonzero parameter and disabled by specifying  (by
	      reference)  a  zero  parameter.	When applied to the master side of a pseudoterminal, each subsequent from the terminal will return
	      data written on the slave part of the pseudoterminal preceded by a zero byte (symbolically defined as  TIOCPKT_DATA),  or  a  single
	      byte reflecting control status information.  In the latter case, the byte is an inclusive-or of zero or more of the bits:

	      TIOCPKT_FLUSHREAD
		     whenever the read queue for the terminal is flushed.

	      TIOCPKT_FLUSHWRITE
		     whenever the write queue for the terminal is flushed.

	      TIOCPKT_STOP
		     whenever output to the terminal is stopped by typing CTRL/S.

	      TIOCPKT_START
		     whenever output to the terminal is restarted.

	      TIOCPKT_DOSTOP
		     whenever the stop character is CTRL/S and the start character is CTRL/Q.

	      TIOCPKT_NOSTOP
		     whenever the start and stop characters are not CTRL/S and/or CTRL/Q.

	      This  mode  is used by and to implement a remote-echoed, locally flow-controlled (using CTRL/S or CTRL/Q, or both) remote login with
	      proper back-flushing of output.  It can be used by other similar programs.

       TIOCREMOTE
	      A mode for the master half of a pseudoterminal, independent of TIOCPKT.  This mode causes input to the  pseudoterminal  to  be  flow
	      controlled  and  not  input edited (regardless of the terminal mode).  Each write to the control terminal produces a record boundary
	      for the process reading the terminal.  In normal usage, a write of data is like the data typed as a line on the terminal; a write of
	      0  bytes	is  like  typing  an end-of-file character.  TIOCREMOTE can be used when doing remote line editing in a window manager, or
	      whenever flow-controlled input is required.

       TIOCMASTER
	      Allows the master to have complete control over the pseudoterminal and causes the slave side to sleep until the master  relinquishes
	      control.	This is useful in preventing changes on the pseudoterminal from going undetected and being reset by the master.

Files
       (master pseudoterminals)

       (slave pseudoterminals)

See Also
       tty(4), MAKEDEV(8)

																	    pty(4)
All times are GMT -4. The time now is 09:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy