From 5e07884497b30e2ba8864f0d626eefcc52872a7c Mon Sep 17 00:00:00 2001 From: AnilChinchawale Date: Thu, 24 May 2018 15:39:43 +0530 Subject: [PATCH] updated MONITORCMD.GO --- cmd/XDC/monitorcmd.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/XDC/monitorcmd.go b/cmd/XDC/monitorcmd.go index cd19caa276..4940589b76 100644 --- a/cmd/XDC/monitorcmd.go +++ b/cmd/XDC/monitorcmd.go @@ -55,7 +55,7 @@ var ( ArgsUsage: " ", Category: "MONITOR COMMANDS", Description: ` -The Geth monitor is a tool to collect and visualize various internal metrics +The XDC monitor is a tool to collect and visualize various internal metrics gathered by the node, supporting different chart types as well as the capacity to display multiple metrics simultaneously. `, @@ -76,7 +76,7 @@ func monitor(ctx *cli.Context) error { // Attach to an Ethereum node over IPC or RPC endpoint := ctx.String(monitorCommandAttachFlag.Name) if client, err = dialRPC(endpoint); err != nil { - utils.Fatalf("Unable to attach to geth node: %v", err) + utils.Fatalf("Unable to attach to XDC node: %v", err) } defer client.Close() @@ -93,7 +93,7 @@ func monitor(ctx *cli.Context) error { if len(list) > 0 { utils.Fatalf("No metrics specified.\n\nAvailable:\n - %s", strings.Join(list, "\n - ")) } else { - utils.Fatalf("No metrics collected by geth (--%s).\n", utils.MetricsEnabledFlag.Name) + utils.Fatalf("No metrics collected by XDC (--%s).\n", utils.MetricsEnabledFlag.Name) } } sort.Strings(monitored) @@ -158,7 +158,7 @@ func monitor(ctx *cli.Context) error { return nil } -// retrieveMetrics contacts the attached geth node and retrieves the entire set +// retrieveMetrics contacts the attached XDC node and retrieves the entire set // of collected system metrics. func retrieveMetrics(client *rpc.Client) (map[string]interface{}, error) { var metrics map[string]interface{}