mirror of https://github.com/ovh/the-bastion
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
442 B
24 lines
442 B
======
|
|
alive
|
|
======
|
|
|
|
Ping a host and exit as soon as it answers
|
|
==========================================
|
|
|
|
|
|
This command can be used to monitor a host that is expected to go back online soon.
|
|
Note that if you want to ssh to it afterwards, you can simply use the ``--wait`` main option.
|
|
|
|
.. admonition:: usage
|
|
:class: cmdusage
|
|
|
|
--osh alive [--host] HOSTNAME
|
|
|
|
.. program:: alive
|
|
|
|
|
|
.. option:: --host HOSTNAME
|
|
|
|
hostname or IP to ping
|
|
|