1
2ethsorthosts(8)              EFSFFCLIRG (Man Page)             ethsorthosts(8)
3
4
5

NAME

7       ethsorthosts
8
9
10
11       Sorts  its  standard  input  in  a typical host name order and sorts to
12       standard output. Hosts are sorted  alphabetically  (case-insensitively)
13       by any alpha-numeric prefix, and then sorted numerically by any numeric
14       suffix. Host names may end in a numeric field which may optionally have
15       leading  zeros.  Unlike a pure alphabetic sort, this command results in
16       intuitive sequencing of host names such as: host1, host2, host10.
17
18       This command does not remove duplicates; any duplicates are  listed  in
19       adjacent lines.
20
21       Use  this  command to build mpi_hosts input files for applications that
22       place hosts in order by name.
23

Syntax

25       ethsorthosts < hostlist>  output_file
26

Options

28       --help
29
30                 Produces full help text.
31
32
33       hostlist
34
35                 Specifies the list of host names.
36
37
38       output_file
39
40                 Specifies the sorted list output.
41
42

Examples

44       ethsorthosts < host.xml > Sorted_host
45
46       Standard Input
47
48
49                 ethsorthosts
50
51                 osd04
52
53                 osd1
54
55                 compute20
56
57                 compute3
58
59                 mgmt1
60
61                 mgmt2
62
63                 login
64
65       Standard Output
66
67
68                 compute3
69
70                 compute20
71
72                 login
73
74                 mgmt1
75
76                 mgmt2
77
78                 osd1
79
80                 osd04
81
82
83
84Copyright(C) 2020              Intel Corporation               ethsorthosts(8)
Impressum