-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add receptorctl traceroute documentation (#1038)
- Loading branch information
1 parent
6cb0a16
commit b2f85b4
Showing
5 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
---------- | ||
traceroute | ||
---------- | ||
|
||
.. contents:: | ||
:local: | ||
|
||
``receptorctl traceroute`` Displays the network route that packets follow to Receptor nodes. | ||
|
||
Command syntax: ``receptorctl --socket=<socket_path> traceroute <remote_node>`` | ||
|
||
``socket_path`` is the control socket address for the Receptor connection. | ||
The default is ``unix:`` for a Unix socket. | ||
Use ``tcp://`` for a TCP socket. | ||
The corresponding environment variable is ``RECEPTORCTL_SOCKET``. | ||
|
||
.. code-block:: text | ||
ss --listening --processes --unix 'src = unix:<socket_path>' | ||
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process | ||
u_str LISTEN 0 4096 /tmp/local.sock 38130170 * 0 users:(("receptor",pid=3226769,fd=7)) | ||
``ps -fp $(pidof receptor)`` | ||
``lsof -p <pid>`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters