1
2opasorthosts(8)        Master map: IFSFFCLIRG (Man Page)       opasorthosts(8)
3
4
5

NAME

7       opasorthosts
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 or
22       cable tests that place hosts in order by name.
23

Syntax

25       opasorthosts < hostlist> output_file
26

Options

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

Examples

39       opasorthosts < host.xml > Sorted_host
40
41       Standard Input
42
43                 opasorthosts
44                 osd04
45                 osd1
46                 compute20
47                 compute3
48                 mgmt1
49                 mgmt2
50                 login
51
52       Standard Output
53
54                 compute3
55                 compute20
56                 login
57                 mgmt1
58                 mgmt2
59                 osd1
60                 osd04
61
62
63
64Copyright(C) 2015-2018         Intel Corporation               opasorthosts(8)
Impressum