Skip to content
Snippets Groups Projects
Commit a784a225 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

fix state file documentation

parent c5ab2c54
No related branches found
No related tags found
No related merge requests found
title: The 66 Suite: 66-instate title: The 66 Suite: state
author: Eric Vidal <eric@obarun.org> author: Eric Vidal <eric@obarun.org>
[66](index.html) [66](index.html)
...@@ -7,7 +7,7 @@ author: Eric Vidal <eric@obarun.org> ...@@ -7,7 +7,7 @@ author: Eric Vidal <eric@obarun.org>
[obarun.org](https://web.obarun.org) [obarun.org](https://web.obarun.org)
# 66-instate # state
This command displays the contents of the service's *state* file. This command displays the contents of the service's *state* file.
...@@ -17,20 +17,15 @@ This command displays the contents of the service's *state* file. ...@@ -17,20 +17,15 @@ This command displays the contents of the service's *state* file.
state [ -h ] service state [ -h ] service
``` ```
66-instate displays the contents of the service's *state* file. This file are used internally by the *66* tools to know runtime *service* information. This tool is purely a debug tool used by developers. This command displays the contents of the service's *state* file. This file are used internally by the `66` program to know runtime *service* information. This command is purely a debug command used by system administrator or developers.
## Exit codes
- *0* success
- *100* wrong usage
- *111* system call failed
## Options ## Options
- **-h**: prints this help; - **-h**: prints this help;
- **-z**: use color. ## Usage example
- **-t** *tree*: only searches the service at the specified *tree*, when the same service may be enabled in more trees.
- **-l**: displays the contents of the associated logger's *state* file if any. Display state of service `foo`
```
66 state foo
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment