# List of ziti commands to better troubleshoot

**URL:** <https://openziti.discourse.group/t/list-of-ziti-commands-to-better-troubleshoot/338>\
**Category:** General Questions\
**Created:** [March 26, 2022, 4:49am UTC](https://openziti.discourse.group/t/list-of-ziti-commands-to-better-troubleshoot/338 "2022-03-26T04:49:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [March 26, 2022, 4:49am UTC](https://openziti.discourse.group/t/list-of-ziti-commands-to-better-troubleshoot/338/1 "2022-03-26T04:49:17Z")

</div>

As I go, I am keeping a track of different ziti commands

zitilogin

ziti fabric list links  
ziti edge update edge-router  
ziti edge list summary  
…

I found most of these in the release notes… though it would be nice if there is a central location all of them in some cheat sheet… with some examples and description of what they do, why you use them, and the types of problems that they can help you resolve.

This would help be better trouble shoot

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [March 26, 2022, 4:56am UTC](https://openziti.discourse.group/t/list-of-ziti-commands-to-better-troubleshoot/338/2 "2022-03-26T04:56:03Z")

</div>

Other good ones are

psz  
ps -ef | grep ziti

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [March 26, 2022, 2:34pm UTC](https://openziti.discourse.group/t/list-of-ziti-commands-to-better-troubleshoot/338/3 "2022-03-26T14:34:21Z")

</div>

if anyone else reads this… `psz` is only an alias that comes when you source the env file the expressInstall function sets up. As shown it’s just

```auto
alias psz='ps -ef | grep ziti'

```

`ziti fabric list links` is good to make sure your routers are all connected the way you expect. you can see latencies and costs:

```auto
ziti@a5762b9ced82:/openziti$ ziti fabric list links
╭────────────────────────┬──────┬───────────────────────┬───────────────────────┬─────────────┬─────────────┬─────────────┬───────────┬────────┬───────────╮
│ ID │ TYPE │ DIALER │ ACCEPTOR │ STATIC COST │ SRC LATENCY │ DST LATENCY │ STATE │ STATUS │ FULL COST │
├────────────────────────┼──────┼───────────────────────┼───────────────────────┼─────────────┼─────────────┼─────────────┼───────────┼────────┼───────────┤
│ 14TAaAvGkSKgyOYCA4kXgm │ tls │ ziti-private-red │ ziti-edge-router │ 1 │ 2.2ms │ 2.6ms │ Connected │ up │ 5 │
│ 1AO0Oo1qK1DRNZ1J12WxRc │ tls │ ziti-fabric-router-br │ ziti-edge-router │ 1 │ 2.5ms │ 2.5ms │ Connected │ up │ 5 │
│ 1kxhEXPZO3TbQ75QjBRihO │ tls │ ziti-edge-router-wss │ ziti-edge-router │ 1 │ 17ms │ 2.6ms │ Connected │ up │ 19 │
│ 3SEgy2RZyP6t25oRcNwrLw │ tls │ ziti-private-blue │ ziti-edge-router-wss │ 1 │ 2.6ms │ 2.5ms │ Connected │ up │ 5 │
│ 3lnsMrMmMPj3v1z6phOqdW │ tls │ ziti-fabric-router-br │ ziti-edge-router-wss │ 1 │ 2.6ms │ 2.5ms │ Connected │ up │ 5 │
│ 4k6HrcMOUru8bpjSm6Ludj │ tls │ ziti-private-red │ ziti-fabric-router-br │ 1 │ 2.1ms │ 2.1ms │ Connected │ up │ 5 │
│ 4yFk8ZZUAWrlxABsWK1aBN │ tls │ ziti-private-red │ ziti-edge-router-wss │ 1 │ 2.4ms │ 2.6ms │ Connected │ up │ 5 │
│ 6EuygDpoG6w9Rm25yF46zs │ tls │ ziti-private-blue │ ziti-edge-router │ 1 │ 9.8ms │ 2.5ms │ Connected │ up │ 12 │
│ 6ie9hZrYEJaEEvZmiCGoEt │ tls │ ziti-private-blue │ ziti-fabric-router-br │ 1 │ 2.5ms │ 1.5ms │ Connected │ up │ 4 │
╰────────────────────────┴──────┴───────────────────────┴───────────────────────┴─────────────┴─────────────┴─────────────┴───────────┴────────┴───────────╯

```

i also like listing routers at times:

```auto
ziti@a5762b9ced82:/openziti$ ziti fabric list routers
╭────────────┬───────────────────────┬────────┬──────┬──────────────┬────────────────────────┬──────────────────────────────────────────╮
│ ID │ NAME │ ONLINE │ COST │ NO TRAVERSAL │ VERSION │ LISTENERS │
├────────────┼───────────────────────┼────────┼──────┼──────────────┼────────────────────────┼──────────────────────────────────────────┤
│ NUbs6LeDOq │ ziti-edge-router-wss │ true │ 0 │ false │ v0.25.1 on linux/amd64 │ 1: tls:ziti-edge-router-wss:10080 (tls) │
│ PX3wqTKDOq │ ziti-private-red │ true │ 0 │ false │ v0.25.1 on linux/amd64 │ │
│ QX3sqLKDvq │ ziti-private-blue │ true │ 0 │ false │ v0.25.1 on linux/amd64 │ │
│ ZJVwqLeMvq │ ziti-edge-router │ true │ 0 │ false │ v0.25.1 on linux/amd64 │ 1: tls:ziti-edge-router:10080 (tls) │
│ dfls6TeMv │ ziti-fabric-router-br │ true │ 0 │ false │ v0.25.1 on linux/amd64 │ 1: tls:ziti-fabric-router-br:10080 (tls) │
╰────────────┴───────────────────────┴────────┴──────┴──────────────┴────────────────────────┴──────────────────────────────────────────╯

```

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [March 29, 2022, 2:34am UTC](https://openziti.discourse.group/t/list-of-ziti-commands-to-better-troubleshoot/338/4 "2022-03-29T02:34:55Z")

</div>

This is very helpful… and will ask another question about it for ZitiTV…
