Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

ls_rkill()

Signals a remote task

DESCRIPTION

ls_rkill() sends the signal sig to the remote task tid and all its children that belong to the same UNIX process group. tid is the remote task ID that is returned by ls_rtask() or ls_rtaske(). If sig is zero, then this call only polls the existence of the remote task tid.

Any program using this routine must call ls_initrex() first.

Any program using this API must be setuid to root if LSF_AUTH is not defined in the lsf.conf file.

SYNOPSIS

#include <lsf/lsf.h>
#include <signal.h> 
int ls_rkill(int tid, int sig) 

PARAMETERS

sig

The signal sent to the tid.

tid

The remote task ID returned by ls_rtask() or ls_rtaske().

RETURN VALUES

integer:0

Function was successful.

integer:-1

Function failed.

ERRORS

If the function fails, lserrno is set to indicate the error.

SEE ALSO

Related APIs

ls_rtask()

ls_rtaske()

Equivalent line command

none

Files

${LSF_ENVDIR-/etc}/lsf.conf


Platform Computing Inc.
www.platform.com
Knowledge Center         Contents    Previous  Next