---
name: "initctl2dot"
section: "8"
platform: "linux"
package: "upstart"
version: "1.11-5"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/initctl2dot"
---

# initctl2dot(8)

manual page for initctl2dot

## NAME

initctl2dot - manual page for initctl2dot

## SYNOPSIS

**initctl2dot** \[*OPTIONS*\]

## DESCRIPTION

Convert [**initctl**(8)](/initctl/8.md) output to GraphViz [**dot**(1)](/dot/1.md) format.

With no options, [**initctl**(8)](/initctl/8.md) will be invoked automatically and the output written to file *upstart.dot*. If run from within an Upstart user session, unless **--system** is specified, the data generated will be for the user session.

## OPTIONS

- **-f** *INFILE* , *--infile*=*INFILE*

  File to read [**initctl**(8)](/initctl/8.md) output from ("initctl show-config -e"). If not specified, [**initctl**(8)](/initctl/8.md) will be run automatically.

- **-h**

  Display usage statement.

- **-r** *RESTRICTIONS* , *--restrict-to-jobs*=*RESTRICTIONS*

  Limit display of **start on** and **stop on** conditions to comma-separated list of jobs.

- **-w** *OUTFILE* , *--outfile*=*OUTFILE*

  File to write output to.

- **--color-emits**=*COLOR\_EMITS*

  Specify color for 'emits' lines.

- **--color-start-on**=*COLOR\_START\_ON*

  Specify color for 'start on' lines.

- **--color-stop-on**=*COLOR\_STOP\_ON*

  Specify color for 'stop on' lines.

- **--color-event**=*COLOR\_EVENT*

  Specify color for event boxes.

- **--color-text**=*COLOR\_TEXT*

  Specify color for summary text.

- **--color-bg**=*COLOR\_BG*

  Specify background color for diagram.

- **--color-event-text**=*COLOR\_EVENT\_TEXT*

  Specify color for text in event boxes.

- **--color-job-text**=*COLOR\_JOB\_TEXT*

  Specify color for text in job boxes.

- **--color-job**=*COLOR\_JOB*

  Specify color for job boxes.

- **--system**

  Connect to the Upstart system session.

- **--user**

  Connect to the Upstart user session.

## AUTHOR

Written by James Hunt \<**james.hunt@ubuntu.com**\>

## REPORTING BUGS

Report bugs at \<**https://launchpad.net/upstart/+bugs**\>

## COPYRIGHT

Copyright © 2011 Canonical Ltd.\
 This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## SEE ALSO

[**init**(8)](/init/8.md) [**initctl**(8)](/initctl/8.md)
