Blame IbaTools/man/opasorthosts.manPage
Branch: 85705939c65dcf47a48d79dfc3f3ecf537a93baf
Packit
857059
.\" .\" *********************************************************************
Packit
857059
.\" .\" * *
Packit
857059
.\" .\" * Copyright 2015-2019, Intel Corporation *
Packit
857059
.\" .\" * *
Packit
857059
.\" .\" * All Rights Reserved. *
Packit
857059
.\" .\" * *
Packit
857059
.\" .\" *********************************************************************
Packit
857059
Packit
857059
.TH opasorthosts 8 "Intel Corporation" "Copyright(C) 2015\-2019" "IFSFFCLIRG (Man Page)"
Packit
857059
.SH NAME
Packit
857059
opasorthosts
Packit
857059
Packit
857059
Packit
857059
.PP
Packit
857059
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.
Packit
857059
.PP
Packit
857059
This command does not remove duplicates; any duplicates are listed in adjacent lines.
Packit
857059
.PP
Packit
857059
Use this command to build mpi\(ulhosts input files for applications or cable tests that place hosts in order by name.
Packit
857059
.SH Syntax
Packit
857059
opasorthosts < \fIhostlist\fR> \fIoutput\(ulfile\fR
Packit
857059
.SH Options
Packit
857059
Packit
857059
.TP 10
Packit
857059
--help
Packit
857059
Packit
857059
Produces full help text.
Packit
857059
Packit
857059
.TP 10
Packit
857059
\fIhostlist\fR
Packit
857059
Packit
857059
Specifies the list of host names.
Packit
857059
Packit
857059
.TP 10
Packit
857059
\fIoutput\(ulfile\fR
Packit
857059
Packit
857059
Specifies the sorted list output.
Packit
857059
Packit
857059
.SH Examples
Packit
857059
opasorthosts < host.xml > Sorted\(ulhost
Packit
857059
.TP 10
Packit
857059
\fBStandard Input\fR
Packit
857059
Packit
857059
Packit
857059
.br
Packit
857059
opasorthosts
Packit
857059
.br
Packit
857059
Packit
857059
osd04
Packit
857059
.br
Packit
857059
Packit
857059
osd1
Packit
857059
.br
Packit
857059
Packit
857059
compute20
Packit
857059
.br
Packit
857059
Packit
857059
compute3
Packit
857059
.br
Packit
857059
Packit
857059
mgmt1
Packit
857059
.br
Packit
857059
Packit
857059
mgmt2
Packit
857059
.br
Packit
857059
Packit
857059
login
Packit
857059
.TP 10
Packit
857059
\fBStandard Output\fR
Packit
857059
Packit
857059
Packit
857059
.br
Packit
857059
compute3
Packit
857059
.br
Packit
857059
Packit
857059
compute20
Packit
857059
.br
Packit
857059
Packit
857059
login
Packit
857059
.br
Packit
857059
Packit
857059
mgmt1
Packit
857059
.br
Packit
857059
Packit
857059
mgmt2
Packit
857059
.br
Packit
857059
Packit
857059
osd1
Packit
857059
.br
Packit
857059
Packit
857059
osd04