Previous: GPGSM DELETE, Up: GPGSM Protocol

#### 4.6.10 Return information about the process

This is a multipurpose function to return a variety of information.

         GETINFO what

The value of what specifies the kind of information returned:

`version`
  Return the version of the program.
`pid`
  Return the process id of the process.
`agent-check`
  Return success if the agent is running.
`cmd_has_option` cmd opt
  Return success if the command cmd implements the option opt. The leading two dashes usually used with opt shall not be given.