From owner-freebsd-questions@FreeBSD.ORG Fri Aug 31 17:30:09 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E875D16A418 for ; Fri, 31 Aug 2007 17:30:09 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id AE70813C45D for ; Fri, 31 Aug 2007 17:30:09 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 90CE9EBC78; Fri, 31 Aug 2007 13:29:46 -0400 (EDT) Date: Fri, 31 Aug 2007 13:29:45 -0400 From: Bill Moran To: White Hat Message-Id: <20070831132945.e457af5a.wmoran@potentialtech.com> In-Reply-To: <380497.82982.qm@web34407.mail.mud.yahoo.com> References: <380497.82982.qm@web34407.mail.mud.yahoo.com> X-Mailer: Sylpheed 2.4.4 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Users Questions Subject: Re: Meaning of: kill -USR2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2007 17:30:10 -0000 In response to White Hat : > I have seen 'kill -USR2' used in some scripts; > however, I am unable to find out exactly what it is > referring to. The man page for 'kill' does not list > any 'USR2' flag or signal, unless I am reading it > incorrectly. > > Perhaps, someone can tell me exactly what this signal > means. USR2 is a "user defined signal" (from "man signal") It doesn't "mean" anything by definition. Each application is free to define its meaning as it sees fit. It's there specifically so that applications can use signals for special purposes without reusing the defined signals. What scripts are you seeing using this? I expect they're following application-specific behaviour. -- Bill Moran http://www.potentialtech.com