ls_rkill
Signals a remote taskls_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.
#include <lsf/lsf.h>
#include <signal.h>int ls_rkill(int tid, int sig)
Data Structures:
- Parameters:
sig The signal sent to the tid. tid The remote task ID returned by ls_rtask or ls_rtaske. Define Statements:
- none
- none
Errors:
- Returns:
- int:0
Function was successful.int:-1
Function failed.Equivalent line commands:
- If the function fails, lserrno is set to indicate the error.
Files:
- none
- ${LSF_ENVDIR:-/etc}/lsf.conf
Date Modified: 30 Jan 2011
Platform Support: support@platform.com
Platform Information Development: doc@platform.com
Platform Computing. Accelerating Intelligence(TM).
Copyright © 1994-2011 Platform Computing Corporation. All rights reserved.