From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw0404.ocn.ad.jp (mogw0404.ocn.ad.jp [118.23.109.32]) by dpdk.org (Postfix) with ESMTP id A83712A66 for ; Mon, 23 Apr 2018 08:23:50 +0200 (CEST) Received: from mf-smf-ucb036c3 (mf-smf-ucb036c3.ocn.ad.jp [153.153.66.235]) by mogw0404.ocn.ad.jp (Postfix) with ESMTP id 4D75F2E0273; Mon, 23 Apr 2018 15:23:49 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb020 ([153.149.142.83]) by mf-smf-ucb036c3 with ESMTP id AUtBfDB0pN9S5AUtBf19LZ; Mon, 23 Apr 2018 15:23:49 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.167]) by ntt.pod01.mv-mta-ucb020 with id diPo1x0063dLKTM01iPoaH; Mon, 23 Apr 2018 06:23:49 +0000 Received: from localhost.localdomain (sp1-72-1-217.msc.spmode.ne.jp [1.72.1.217]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Mon, 23 Apr 2018 15:23:48 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, geminoa@juno.ocn.ne.jp Cc: spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp Date: Mon, 23 Apr 2018 15:22:37 +0900 Message-Id: <20180423054630.6789-4-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20180423054630.6789-1-ogawa.yasufumi@lab.ntt.co.jp> References: <20180423054630.6789-1-ogawa.yasufumi@lab.ntt.co.jp> X-Account-Key: account3 X-UIDL: 10325.KAe2Zelm8kvLcr+65UBgF4HIJN0= X-Mozilla-Status: 0001 Received: from mzcmta012.ocn.ad.jp (LHLO mzcmta012.ocn.ad.jp) (114.147.58.69) by mzcstore251.ocn.ad.jp with LMTP; Mon, 23 Apr 2018 14:46:34 +0900 (JST) Received: from mfgw691.ocn.ad.jp (mfgw691.ocn.ad.jp [153.153.63.98]) by mzcmta012.ocn.ad.jp (Postfix) with ESMTP id B65A148C241 for ; Mon, 23 Apr 2018 14:46:34 +0900 (JST) Received-SPF: softfail (mf-ofc-ucb069: domain of transitioning dose not designate client-ip as permitted sender) client-ip=153.149.234.3; envelope-from=; helo=mogw0802.ocn.ad.jp; Authentication-Results: mf-ofc-ucb069; spf=softfail smtp.mailfrom=ogawa.yasufumi@lab.ntt.co.jp Received: from mogw0802.ocn.ad.jp (mogw0802.ocn.ad.jp [153.149.234.3]) by mfgw691.ocn.ad.jp (Postfix) with ESMTP id 46079A8027C for ; Mon, 23 Apr 2018 14:46:34 +0900 (JST) Received: from mf-smf-ucb031c1 (mf-smf-ucb031c1.ocn.ad.jp [153.153.66.200]) by mogw0802.ocn.ad.jp (Postfix) with ESMTP id 18EABB0023D; Mon, 23 Apr 2018 14:46:34 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb026 ([153.149.142.100]) by mf-smf-ucb031c1 with ESMTP id AUJ4fKzqCxhxrAUJ8f7Mgx; Mon, 23 Apr 2018 14:46:34 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.134]) by ntt.pod01.mv-mta-ucb026 with id dhmZ1x0082ud8JZ01hmZos; Mon, 23 Apr 2018 05:46:34 +0000 Received: from localhost.localdomain (sp1-72-1-217.msc.spmode.ne.jp [1.72.1.217]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Mon, 23 Apr 2018 14:46:33 +0900 (JST) X-Mailer: git-send-email 2.13.1 In-Reply-To: <20180423054630.6789-1-ogawa.yasufumi@lab.ntt.co.jp> References: <20180423054630.6789-1-ogawa.yasufumi@lab.ntt.co.jp> Subject: [spp] [PATCH 3/3] docs: add description for topo_resize command X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 06:23:51 -0000 From: ogawa.yasufumi@lab.ntt.co.jp From: Yasufumi Ogawa Signed-off-by: Yasufumi Ogawa --- docs/guides/commands/experimental.rst | 38 ++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/docs/guides/commands/experimental.rst b/docs/guides/commands/experimental.rst index 39531a2..8bb8e20 100644 --- a/docs/guides/commands/experimental.rst +++ b/docs/guides/commands/experimental.rst @@ -150,7 +150,7 @@ To generate a jpg image, run ``topo`` with the name ``network.jpg``. topo_subgraph ------------- -``topo_subgraph`` is a supplemental command for manageing subgraphs +``topo_subgraph`` is a supplemental command for managing subgraphs for ``topo``. .. code-block:: console @@ -218,6 +218,42 @@ delete subgraph ``guest_vm``. spp > topo_subgraph del guest_vm +topo_resize +----------- + +``topo_resize`` is a supplemental command for changing the size of +images displayed on the terminal with ``topo``. + +``topo`` displays an image generated from graphviz with default size. +However, it is too small or large for some environments because it +depends on the resolution actually. + +To check default size, run ``topo_resize`` with no arguments. +It shows current size of the image. + +.. code-block:: console + + # shows current size + spp > topo_resize + 60% + +You can resize it with percentage + +.. code-block:: console + + # resize with percentage + spp > topo_resize 80% + 80% + +or ratio. + +.. code-block:: console + + # resize with ratio + spp > topo_resize 0.8 + 80% + + load_cmd -------- -- 2.13.1