File: 0004-Rename-sinfo-to-sinfo-client-in-the-manpage.patch

package info (click to toggle)
sinfo 0.0.48-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,320 kB
  • ctags: 947
  • sloc: sh: 11,213; cpp: 6,722; makefile: 270; xml: 151; perl: 149
file content (128 lines) | stat: -rw-r--r-- 3,720 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
From: Gaudenz Steinlin <gaudenz@debian.org>
Date: Tue, 18 Aug 2015 17:47:25 +0200
Subject: Rename sinfo to sinfo-client in the manpage

---
 html/index.html |  2 +-
 sinfo/sinfo.1   | 30 +++++++++++++++---------------
 2 files changed, 16 insertions(+), 16 deletions(-)

--- a/html/index.html
+++ b/html/index.html
@@ -286,7 +286,7 @@
             </tr>
             <tr>
               <td align="left" colspan="4" class="sectiontext">
-                <p style="text-align:justify; margin-left:3%;margin-right:3%">For documentation look at the man pages of <a class="link" href="man_sinfo.html">sinfo</a> and <a class="link" href="man_sinfod.html">sinfod</a>.</p>
+                <p style="text-align:justify; margin-left:3%;margin-right:3%">For documentation look at the man pages of <a class="link" href="man_sinfo-client.html">sinfo-client</a> and <a class="link" href="man_sinfod.html">sinfod</a>.</p>
               </td>
             </tr>
             <tr>
--- a/sinfo/sinfo.1
+++ b/sinfo/sinfo.1
@@ -10,11 +10,11 @@
 .ft R
 .fi
 ..                                                                                
-.TH SINFO 1 "JANUARY 2005" Linux "User Manuals"
+.TH SINFO-CLIENT 1 "JANUARY 2005" Linux "User Manuals"
 .SH NAME
-sinfo - a monitoring tool for networked computers
+sinfo-client - a monitoring tool for networked computers (client)
 .SH SYNOPSIS
-.B sinfo [-q] [-V] [-W] [-H] [-L] [-h
+.B sinfo-client [-q] [-V] [-W] [-H] [-L] [-h
 .I host[:port]
 .B ] [-u 
 .I user
@@ -30,12 +30,12 @@
 .I scale
 .B ] 
 .SH DESCRIPTION
-.B sinfo
+.B sinfo-client
 displays some information of the nodes in your local network.
 For each node the system load, the memory utilization and
 the `TOP-5' user processes will be displayed.
 
-.B sinfo
+.B sinfo-client
 uses the
 .BR sinfod(8)
 to gather these informations.
@@ -85,28 +85,28 @@
 This option may be useful in cases where
 .BR ssh(1)
 or similar programs are used to tunnel the connection from
-.BR sinfo(1)
+.BR sinfo-client(1)
 to 
 .BR sinfod(8)
 through a firewall.
 It is possible to use multiple \-h option to 
 connect to more than one sinfod to monitor more than one
-network with one sinfo process.
+network with one sinfo-client process.
 If your want to set different delays for the connections \-d has to be specified
 prior to the corresponding \-h options.
 
 .Vb 1
-$ sinfo \-h localhost:60001
+$ sinfo-client \-h localhost:60001
 .Ve
 \&(the default values)
 
 .Vb 1
-$ sinfo \-h 127.0.0.1:60001
+$ sinfo-client \-h 127.0.0.1:60001
 .Ve
 \&(... if you want to set an IP-address directly)
 
 .Vb 1
-$ sinfo \-h my.computer.at.work 
+$ sinfo-client \-h my.computer.at.work 
 .Ve
 \&(port 60001 will be used as default on my.computer.at.work)
 
@@ -115,12 +115,12 @@
 .Ve
 \&(establish the tunnel)
 .Ve
-$ sinfo \-h localhost:60002 
+$ sinfo-client \-h localhost:60002 
 .Ve
 \&(connect through the tunnel)
 
 .Vb 1
-$ sinfo \-h localhost \-h host.on.another.net 
+$ sinfo-client \-h localhost \-h host.on.another.net 
 .Ve
 \&(connect two demons to join the sinfo broadcasts of two networks)
 
@@ -165,7 +165,7 @@
 
 .SH KEYBOARD COMMANDS 
 .IP "q"
-Quit sinfo.
+Quit sinfo-client.
 .IP "PageUp, PageDown" 
 Scroll the screen by one page.
 .IP "UpArrow, u; DownArrow, d"
@@ -188,7 +188,7 @@
 Toggle the scaling of the CPU load bars form "log", "lin" to full.
 
 .SH EXIT CODES
-The exit codes used by sinfo are:
+The exit codes used by sinfo-client are:
 .IP 0
 everything OK
 .IP 1
@@ -196,7 +196,7 @@
 
 .SH ENVIRONMENT
 .IP HOSTNAME
-Highlight $HOSTNAME in sinfo's output.
+Highlight $HOSTNAME in sinfo-client's output.
 .IP LOGNAME
 Used to determine the name of the user which processes shall be highlighted.
 May be overridden by the