Next: , Up: piesctl   [Contents][Index]


5.1 piesctl id – Return Info About the Running Instance

The id subcommand returns information about the pies instance organized as key-value pairs. When invoked without arguments, the following data are returned:

package

Canonical package name.

version

Version of pies.

instance

Instance name (see instances).

binary

Full pathname of the pies executable file.

argv

Command line arguments supplied upon its startup.

PID

Process ID.

For example:

$ piesctl id
package: GNU Pies
version: 1.8
instance: pies
binary: /usr/sbin/pies
argv: /usr/sbin/pies --config-file=/etc/pies/pies.conf
PID: 15679

To request a subset of these data, give the items of interest as command line arguments:

$ piesctl id binary PID
binary: /usr/sbin/pies
PID: 15679