Man page - opasorthosts(8)
Packages contas this manual
- opadownloadall(8)
- opaxmlfilter(8)
- opaextracterror(8)
- opacaptureall(8)
- opacabletest(8)
- opafirmware(8)
- opaxmlgenerate(8)
- opagentopology(8)
- opaextractlids(8)
- opahostsmanalysis(8)
- opa2rm(8)
- opafastfabric(8)
- opaextractbadlinks(8)
- opaledports(8)
- opaallanalysis(8)
- opafabricanalysis(8)
- opaxlattopology(8)
- opalinkanalysis(8)
- opaswenableall(8)
- opadisablehosts(8)
- opachassisadmin(8)
- opaextractmissinglinks(8)
- opaswitchadmin(8)
- opaextractperf(8)
- opashowmc(8)
- opaextractstat2(8)
- opapingall(8)
- opacheckload(8)
- opagenswitches(8)
- opareport(8)
- opacmdall(8)
- opasorthosts(8)
- opagenesmchassis(8)
- opashowallports(8)
- opatop(8)
- opaswdisableall(8)
- opapaquery(8)
- opaextractstat(8)
- opafindgood(8)
- opaexpandfile(8)
- opadisableports(8)
- opagenchassis(8)
- opaxmlextract(8)
- opaenableports(8)
- opaextractperf2(8)
- opachassisanalysis(8)
- opamergeperf2(8)
- opareports(8)
- opahostadmin(8)
- opafmconfigdiff(8)
- opauploadall(8)
- opaxmlindent(8)
- opasetupssh(8)
- opaextractlink(8)
- opaverifyhosts(8)
- opafmconfigcheck(8)
- opaesmanalysis(8)
- opascpall(8)
- opaextractsellinks(8)
apt-get install opa-fastfabric
Manual
| opasorthosts(8) | IFSFFCLIRG (Man Page) | opasorthosts(8) |
NAME
opasorthosts
Sorts its standard input in a typical host name order and sorts to standard output. Hosts are sorted alphabetically (case-insensitively) by any alpha-numeric prefix, and then sorted numerically by any numeric suffix. Host names may end in a numeric field which may optionally have leading zeros. Unlike a pure alphabetic sort, this command results in intuitive sequencing of host names such as: host1, host2, host10.
This command does not remove duplicates; any duplicates are listed in adjacent lines.
Use this command to build mpi_hosts input files for applications or cable tests that place hosts in order by name.
Syntax
opasorthosts < hostlist> output_file
Options
- --help
-
Produces full help text.
- hostlist
-
Specifies the list of host names.
- output_file
-
Specifies the sorted list output.
Examples
opasorthosts < host.xml > Sorted_host
- Standard Input
-
opasorthosts
osd04
osd1
compute20
compute3
mgmt1
mgmt2
login
- Standard Output
-
compute3
compute20
login
mgmt1
mgmt2
osd1
osd04
| Intel Corporation | Copyright(C) 2015-2019 |