Difference between revisions of "Moskillall"
From MosixWiki
(New page: MOSKILLALL(M1) MOSIX Commands MOSKILLAL(M1) '''NAME''' MOSKILLALL - Kill all MOSIX processes '''SYNOPSIS''' moskillall [-{signum} | -{sym...) |
|||
Line 2: | Line 2: | ||
'''NAME''' | '''NAME''' | ||
− | MOSKILLALL - Kill all MOSIX processes | + | MOSKILLALL - Kill or signal all your MOSIX processes |
'''SYNOPSIS''' | '''SYNOPSIS''' |
Latest revision as of 12:07, 13 November 2007
MOSKILLALL(M1) MOSIX Commands MOSKILLAL(M1) NAME MOSKILLALL - Kill or signal all your MOSIX processes SYNOPSIS moskillall [-{signum} | -{symbolic_signal}] -G[{class}] [-J{jobid}] Symbolic signals: HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH POLL PWR SYS DESCRIPTION Moskillall kills or sends a signal to a group of processes: the default signal is SIGTERM, unless the numeric -{signum} or symbolic -{symbolic_signal} argument specify a different signal. If no arguments are specified, the signal is sent to all of the user's MOSIX processes. When invoked by the Super-User, the signal is sent to all the MOSIX processes of all the users. The -G[{class}] argument causes the signal to be sent only to MOSIX pro- cesses of the given class (See mosrun(1)). When class is omitted, its value is assumed to be 1. The -J{jobid} argument causes the signal to be sent only to the user's (including the Super-User) processes that were started with 'mosrun -J{jobid}' (but when jobid is 0, the signal is also sent to all the user's MOSIX processes that were started without the -J argument: See mosrun(1)). Note that moskillall cannot provide an absolute guarantee that all pro- cesses of the requested group will receive the signal when there is a race condition in which one or more processes are forking at the exact time of running it. DEFINITION OF MOSIX PROCESSES MOSIX processes are processes that were started by the mosrun(1) utility, including batch and native processes that do not run under MOSIX and pro- cesses that are queued, but excluding processes that were originated from other nodes (even if a guest batch job invoked mosrun explicitly). SEE ALSO mosps(1), mosrun(1), mosix(7). MOSIX May 2006 MOSIX