aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2018-11-17 17:54:07 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2018-11-17 17:59:40 +0200
commit3e2360d383d8e7503a8afe07291ab8c0b1182a14 (patch)
tree69725e6a523701dd297a7bc5d228dac43371b32d /doc
parent966cc92ffcc7e5d070103d33f605bc1691229022 (diff)
downloadeclat-3e2360d383d8e7503a8afe07291ab8c0b1182a14.tar.gz
eclat-3e2360d383d8e7503a8afe07291ab8c0b1182a14.tar.bz2
Implement the terminate-instances command
* TODO: Update. * doc/Makefile.inc: Add new files. * doc/eclat-mkinst.1: Mention the terminate command. * doc/eclat-terminate.1: New file. * etc/Makefile.am: Add new files. * etc/terminate-instances.fln: New file. * src/eclat.c (cmdtab): Register new command. * src/eclat.h (eclat_terminate_instances): New proto. * src/startstop.c (eclat_terminate_instances): New function. * tests/Makefile.am: Add new test. * tests/testsuite.at: Likewise. * tests/terminate-instances.at: New test.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.inc1
-rw-r--r--doc/eclat-mkinst.15
-rw-r--r--doc/eclat-reboot.14
-rw-r--r--doc/eclat-terminate.158
4 files changed, 64 insertions, 4 deletions
diff --git a/doc/Makefile.inc b/doc/Makefile.inc
index 143f579..43b62b3 100644
--- a/doc/Makefile.inc
+++ b/doc/Makefile.inc
@@ -58,10 +58,11 @@ MANPAGES1=\
eclat-setaattr.1\
eclat-setiattr.1\
eclat-setsattr.1\
eclat-sg.1\
eclat-start.1\
eclat-stop.1\
+ eclat-terminate.1\
ispeek.1
MANPAGES5=\
eclat.conf.5
diff --git a/doc/eclat-mkinst.1 b/doc/eclat-mkinst.1
index f934484..4db3c7e 100644
--- a/doc/eclat-mkinst.1
+++ b/doc/eclat-mkinst.1
@@ -10,13 +10,13 @@
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with Eclat. If not, see <http://www.gnu.org/licenses/>.
-.TH ECLAT-MKINST 1 "January 26, 2015" "ECLAT" "Eclat User Reference"
+.TH ECLAT-MKINST 1 "November 17, 2018" "ECLAT" "Eclat User Reference"
.SH NAME
eclat-mkinst, eclat-run-instances \- launch new EC2 instances
.SH SYNOPSIS
.nh
.na
\fBeclat mkinst\fR [\fB\-a\fR \fIIFACE\fR] [\fB\-d\fR \fISTRING\fR]\
@@ -163,25 +163,26 @@ Set availablility zone.
On success, the command outputs detailed description of each created
instance in the same format as the
.BR eclat-lsinst (1)
command
.SH "SEE ALSO"
.BR eclat (1),
+.BR eclat\-terminate (1),
.BR eclat\-lsiattr (1),
.BR eclat\-lsinst (1),
.BR eclat\-lsistat (1),
.BR eclat\-reboot (1),
.BR eclat\-setiattr (1),
.BR eclat\-start (1),
.BR eclat\-stop (1).
.SH AUTHORS
Sergey Poznyakoff
.SH "BUG REPORTS"
Report bugs to <bug\-eclat@gnu.org.ua>.
.SH COPYRIGHT
-Copyright \(co 2012-2015 Sergey Poznyakoff
+Copyright \(co 2012-2018 Sergey Poznyakoff
.br
.na
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
.br
.ad
This is free software: you are free to change and redistribute it.
diff --git a/doc/eclat-reboot.1 b/doc/eclat-reboot.1
index 1addd87..d234808 100644
--- a/doc/eclat-reboot.1
+++ b/doc/eclat-reboot.1
@@ -10,13 +10,13 @@
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with Eclat. If not, see <http://www.gnu.org/licenses/>.
-.TH ECLAT-REBOOT 1 "January 26, 2015" "ECLAT" "Eclat User Reference"
+.TH ECLAT-REBOOT 1 "November 17, 2018" "ECLAT" "Eclat User Reference"
.SH NAME
eclat-reboot, eclat-reboot-instances \- reboot EC2 instances
.SH SYNOPSIS
.nh
.na
\fBeclat reboot\fR \fIID\fR [\fIID\fR...]
@@ -26,13 +26,13 @@ eclat-reboot, eclat-reboot-instances \- reboot EC2 instances
.hy
.SH DESCRIPTION
The command
.B reboot
reboots running Amazon EBS-backed instances.
.SH OUTPUT
-The default output format lists o each line the instance ID, its
+The default output format lists on each line the instance ID, its
previous and current states, separated by single horizontal tab
characters.
.SH "SEE ALSO"
.BR eclat (1),
.BR eclat\-start (1),
.BR eclat\-stop (1).
diff --git a/doc/eclat-terminate.1 b/doc/eclat-terminate.1
new file mode 100644
index 0000000..a70a1ee
--- /dev/null
+++ b/doc/eclat-terminate.1
@@ -0,0 +1,58 @@
+.\" This file is part of Eclat -*- nroff -*-
+.\" Copyright (C) 2012-2018 Sergey Poznyakoff
+.\"
+.\" Eclat is free software; you can redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as published by
+.\" the Free Software Foundation; either version 3, or (at your option)
+.\" any later version.
+.\"
+.\" Eclat is distributed in the hope that it will be useful,
+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with Eclat. If not, see <http://www.gnu.org/licenses/>.
+.TH ECLAT-TERMINATE 1 "November 17, 2018" "ECLAT" "Eclat User Reference"
+.SH NAME
+eclat-terminate, eclat-terminate-instances \- terminate EC2 instances
+.SH SYNOPSIS
+.nh
+.na
+\fBeclat terminate\fR \fIID\fR [\fIID\fR...]
+.PP
+\fBeclat terminate\fR \fB\-\-help\fR
+.ad
+.hy
+.SH DESCRIPTION
+Terminates the listed Amazon EBS-backed instances.
+.SH OUTPUT
+The default output format lists on each line the instance ID, its
+previous and current states, separated by single horizontal tab
+characters.
+.SH "SEE ALSO"
+.BR eclat (1),
+.BR eclat\-mkinst (1),
+.BR eclat\-start (1),
+.BR eclat\-stop (1).
+.SH AUTHORS
+Sergey Poznyakoff
+.SH "BUG REPORTS"
+Report bugs to <bug\-eclat@gnu.org.ua>.
+.SH COPYRIGHT
+Copyright \(co 2012-2018 Sergey Poznyakoff
+.br
+.na
+License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
+.br
+.ad
+This is free software: you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law.
+.\" Local variables:
+.\" eval: (add-hook 'write-file-hooks 'time-stamp)
+.\" time-stamp-start: ".TH [A-Z_][A-Z0-9_.\\-]* [0-9] \""
+.\" time-stamp-format: "%:B %:d, %:y"
+.\" time-stamp-end: "\""
+.\" time-stamp-line-limit: 20
+.\" end:
+

Return to:

Send suggestions and report system problems to the System administrator.