mpdsigjob(1)

NAME
mpdsigjob

FILE
/sandbox/balaji/maint/mpich2-1.2.1-tmp/src/pm/mpd/mpdsigjob.py

DESCRIPTION

usage: mpdsigjob
    sigtype [-j jobid OR -a jobalias] [-s|g] sigtype must be the first arg jobid can be obtained via mpdlistjobs and is of the form: jobnum@mpdid where mpdid is mpd where first process runs, e.g.: 1@linux02_32996 (may need @ in some shells)

    1   is sufficient if you are on the machine where the job started one of -j or -a must be specified (but only one) -s or -g specify whether to signal the single user process or its group (default is g) Delivers a Unix signal to all the application processes in the job

FUNCTIONS
close(...) close(fd)

    Close a file descriptor (for low level IO).

ctime(...) ctime(seconds) -> string

    Convert a time in seconds since the Epoch to a string in local time. This is equivalent to asctime(localtime(seconds)). When the time tuple is not present, current time as returned by localtime() is used.

exit(...) exit([status])

    Exit the interpreter by raising SystemExit(status). If the status is omitted or None, it defaults to zero (i.e., success). If the status is numeric, it will be used as the system exit status. If it is another kind of object, it will be printed and the system exit status will be one (i.e., failure).

fromfd(...) fromfd(fd, family, type[, proto]) -> socket object

    Create a socket object from a duplicate of the given file descriptor. The remaining arguments are the same as for socket().

getuid(...) getuid() -> uid

    Return the current process's user id.

mpdsigjob()

sig_handler(signum, frame)

signal(...) signal(sig, action) -> action

    Set the action for the given signal.
        The action can be SIG_DFL,

    SIG_IGN, or a callable Python object.
        The previous action is

    returned.
        See getsignal() for possible return values.

    *** IMPORTANT NOTICE *** A signal handler function is called with two arguments: the first is the signal number, the second is the interrupted stack frame.

usage()

DATA
AF_UNIX = 1 SIGALRM = 14 SIGCONT = 18 SIGINT = 2 SIGTSTP = 20 SIG_DFL = 0 SOCK_STREAM = 1 __author__ = 'Ralph Butler and Rusty Lusk' __credits__ = '' __date__ = 'Wed Nov 18 10:51:08 2009' __version__ = '$Revision: 1.21 $' argv = ['/usr/bin/pydoc', 'mpdsigjob'] environ = {'INTEL_LICENSE_FILE': '28518@licman1.mcs.anl.go..., 'LM_LIC...

VERSION
1.21

DATE
Wed Nov 18 10:51:08 2009

AUTHOR
Ralph Butler and Rusty Lusk

CREDITS