---
name: "mpdgdbdrv"
section: "1"
platform: "linux"
package: "mpich2"
version: "1.2.1.1-5"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/mpdgdbdrv"
---

# mpdgdbdrv(1)

## NAME

**mpdgdbdrv**

## FILE

**/Users/goodell/svn/mpich2-1.2.1p1-tmp/src/pm/mpd/mpdgdbdrv.py**

## DESCRIPTION

- **This program is not to be executed from the command line.**

  **It is**  **exec'd by mpdman to support mpigdb.**

## FUNCTIONS

**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).**

**getpid(...)** **getpid() -\> pid**

**Return the current process id**

**kill(...)** **kill(pid, sig)**

**Kill a process with a signal.**

**select(...)** **select(rlist, wlist, xlist\[, timeout\]) -\> (rlist, wlist, xlist)**

**Wait until one or more file descriptors are ready for some kind of I/O.** **The first three arguments are sequences of file descriptors to be waited for:** **rlist -- wait until ready for reading** **wlist -- wait until ready for writing** **xlist -- wait for an \`\`exceptional condition''** **If only one kind of condition is required, pass \[\] for the other lists.** **A file descriptor is either a socket or file object, or a small integer** **gotten from a fileno() method call on one of those.**

**The optional 4th argument specifies a timeout in seconds; it may be**

- **a floating point number to specify fractions of seconds.**

  **If it is absent** **or None, the call will never time out.**

**The return value is a tuple of three lists corresponding to the first three** **arguments; each contains the subset of the corresponding file descriptors** **that are ready.**

**\*\*\* IMPORTANT NOTICE \*\*\*** **On Windows and OpenVMS, only sockets are supported; on Unix, all file descriptors.**

**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.**

**strerror(...)** **strerror(code) -\> string**

**Translate an error code to a message string.**

**write(...)** **write(fd, string) -\> byteswritten**

**Write a string to a file descriptor.**

## DATA

**EINTR = 4** **SIGINT = 2** **SIGKILL = 9** **SIGUSR1 = 30** **\_\_author\_\_ = 'Ralph Butler and Rusty Lusk'** **\_\_credits\_\_ = ''** **\_\_date\_\_ = 'Mon Feb 22 16:28:13 2010'** **\_\_version\_\_ = '$Revision: 1.17 $'** **argv = \['/usr/bin/pydoc', 'mpdgdbdrv'\]** **stderr = \<open file '\<stderr\>', mode 'w' at 0x170b0\>** **stdin = \<open file '\<stdin\>', mode 'r' at 0x17020\>** **stdout = \<open file '\<stdout\>', mode 'w' at 0x17068\>**

## VERSION

**1.17**

## DATE

**Mon Feb 22 16:28:13 2010**

## AUTHOR

**Ralph Butler and Rusty Lusk**

## CREDITS
