From 2c8b06e6aab423cfc50ba02d9ddc661839a6d22b Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Fri, 28 Jul 2023 10:12:59 +0200 Subject: docs: Update tutorial-1 --- content/en/docs/Tutorials/tutorial-1.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'content') diff --git a/content/en/docs/Tutorials/tutorial-1.md b/content/en/docs/Tutorials/tutorial-1.md index d3d24c0..2e98809 100644 --- a/content/en/docs/Tutorials/tutorial-1.md +++ b/content/en/docs/Tutorials/tutorial-1.md @@ -13,8 +13,12 @@ This tutorial runs through the basics of Ouroboros. Here, we will see the general use of two core components of Ouroboros, the IPC Resource Manager daemon (IRMd) and an IPC Process (IPCP). -{{
}} +It is recommended to use a Debug build for this tutorial to show extra +IRMd output. To do this, compile with the CMAKE_BUILD_TYPE set to +"Debug". For a full list of build options and how to activate them, see +[here](/docs/reference/compopt/). +{{
}} We will start the IRMd, create a local IPCP, start a ping server and connect a client. This will involve **binding (1)** that server to a @@ -65,13 +69,21 @@ $ oping --listen Ouroboros ping server started. ``` -The IRMd will notice that an oping server with pid 10539 has started: +The IRMd will notice that an oping server has started. In our case it has pid 2337, but this will be different on your system: ```bash -==02301== irmd(DB): New instance (10539) of oping added. +==02301== irmd(DB): New instance (2337) of oping added. ==02301== irmd(DB): This process accepts flows for: ``` +If you are not running a debug build, you won't see this output and will +have to look for the pid of the process using a linux command such as ps. + +``` +$ ps ax | grep oping + 2337 pts/4 Sl+ 0:00 oping --listen +``` + The server application is not yet reachable by clients. Next we will bind the server to a name and register that name in the "local_layer". The name for the server can be chosen at will, let's -- cgit v1.2.3