Added: karaf/site/production/manual/latest/commands/scr-deactivate.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/scr-deactivate.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/scr-deactivate.adoc (added) +++ karaf/site/production/manual/latest/commands/scr-deactivate.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += scr:deactivate + +== Description + +Deactivates a Component for the given name + +== Syntax + +scr:deactivate [options] name + +== Arguments + +|=== +|Name |Description + +| name +| The name of the Component to deactivate +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message + +|-s, --show-hidden +|Show all Components including the System Components (hidden by default) +|=== + +
Added: karaf/site/production/manual/latest/commands/scr-details.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/scr-details.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/scr-details.adoc (added) +++ karaf/site/production/manual/latest/commands/scr-details.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += scr:details + +== Description + +Display available components + +== Syntax + +scr:details [options] name + +== Arguments + +|=== +|Name |Description + +| name +| The component name +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message + +|-s, --show-hidden +|Show all Components including the System Components (hidden by default) +|=== + + Added: karaf/site/production/manual/latest/commands/service-list.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/service-list.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/service-list.adoc (added) +++ karaf/site/production/manual/latest/commands/service-list.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,35 @@ += service:list + +== Description + +Lists OSGi services. + +== Syntax + +service:list [options] [objectClass] + +== Arguments + +|=== +|Name |Description + +| objectClass +| Name of service objectClass to filter for +|=== + +== Options + +|=== +|Name |Description + +|-n +|Shows only service class names + +|--help +|Display this help message + +|-a +|Shows all services. (By default Karaf commands are hidden) +|=== + + Added: karaf/site/production/manual/latest/commands/service-wait.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/service-wait.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/service-wait.adoc (added) +++ karaf/site/production/manual/latest/commands/service-wait.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,35 @@ += service:wait + +== Description + +Wait for a given OSGi service. + +== Syntax + +service:wait [options] service + +== Arguments + +|=== +|Name |Description + +| service +| The service class or filter +|=== + +== Options + +|=== +|Name |Description + +|-e, --exception +|throw an exception if the service is not found after the timeout + +|--help +|Display this help message + +|-t, --timeout +|timeout to wait for the service (in milliseconds, negative to not wait at all, zero to wait forever) +|=== + + Added: karaf/site/production/manual/latest/commands/shell-alias.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-alias.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-alias.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-alias.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,29 @@ += shell:alias + +== Description + +Create an alias to a command + +== Syntax + +shell:alias [options] command + +== Arguments + +|=== +|Name |Description + +| command +| The command to alias, e.g. 'ldn = { log:display -n $args }' +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-cat.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-cat.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-cat.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-cat.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,35 @@ += shell:cat + +== Description + +Displays the content of a file or URL. + +== Syntax + +shell:cat [options] [paths or urls] + +== Arguments + +|=== +|Name |Description + +| paths or urls +| A list of file paths or urls to display separated by whitespace (use - for STDIN) +|=== + +== Options + +|=== +|Name |Description + +|-n +|Number the output lines, starting at 1. + +|--help +|Display this help message + +|- +|Use stdin +|=== + + Added: karaf/site/production/manual/latest/commands/shell-clear.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-clear.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-clear.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-clear.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,20 @@ += shell:clear + +== Description + +Clears the console buffer. + +== Syntax + +shell:clear [options] + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-completion.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-completion.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-completion.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-completion.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,29 @@ += shell:completion + +== Description + +Display or change the completion mode on the current console session. + +== Syntax + +shell:completion [options] [mode] + +== Arguments + +|=== +|Name |Description + +| mode +| The completion mode to set. The valid completion modes are: global, first, subshell. +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-date.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-date.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-date.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-date.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += shell:date + +== Description + +Display the current time in the given FORMAT + +== Syntax + +shell:date [options] [format] + +== Arguments + +|=== +|Name |Description + +| format +| Output format +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message + +|-d, --date +|Display time described, not now +|=== + + Added: karaf/site/production/manual/latest/commands/shell-each.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-each.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-each.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-each.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += shell:each + +== Description + +Execute a closure on a list of arguments. + +== Syntax + +shell:each [options] values function + +== Arguments + +|=== +|Name |Description + +| values +| The collection of arguments to iterate on + +| function +| The function to execute +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-echo.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-echo.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-echo.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-echo.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += shell:echo + +== Description + +Echoes or prints arguments to STDOUT. + +== Syntax + +shell:echo [options] [arguments] + +== Arguments + +|=== +|Name |Description + +| arguments +| Arguments to display separated by whitespaces +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message + +|-n +|Do not print the trailing newline character +|=== + + Added: karaf/site/production/manual/latest/commands/shell-edit.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-edit.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-edit.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-edit.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,29 @@ += shell:edit + +== Description + +Calls a text editor. + +== Syntax + +shell:edit [options] url + +== Arguments + +|=== +|Name |Description + +| url +| The url of the resource to edit. +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-env.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-env.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-env.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-env.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += shell:env + +== Description + +Get/set the value of a console session variable. + +== Syntax + +shell:env [options] variable [value] + +== Arguments + +|=== +|Name |Description + +| variable +| The name of the console session variable. + +| value +| The new value of the console session variable. +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-exec.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-exec.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-exec.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-exec.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,29 @@ += shell:exec + +== Description + +Executes system processes. + +== Syntax + +shell:exec [options] command + +== Arguments + +|=== +|Name |Description + +| command +| Execution command with arguments +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-grep.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-grep.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-grep.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-grep.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,62 @@ += shell:grep + +== Description + +Prints lines matching the given pattern. + +== Syntax + +shell:grep [options] pattern + +== Arguments + +|=== +|Name |Description + +| pattern +| Regular expression +|=== + +== Options + +|=== +|Name |Description + +|-x, --line-regexp +|Selects only those matches that exactly match the whole line. + +|-v, --invert-match +|Inverts the sense of matching, to select non-matching lines. + +|-C, --context +|Print NUM lines of output context. Places a line containing -- between contiguous groups of matches. + +|-i, --ignore-case +|Ignores case distinctions in both the PATTERN and the input files. + +|-B, --before-context +|Print NUM lines of leading context before matching lines. Places a line containing -- between contiguous groups of matches. + +|--help +|Display this help message + +|-c, --count +|only print a count of matching lines per FILE + +|-n, --line-number +|Prefixes each line of output with the line number within its input file. + +|-w, --word-regexp +|Selects only those lines containing matches that form whole words. The test is that the matching substring must either be at the beginning of the line, or preceded by a non-word constituent character. Similarly, it must be either at the end of the line or followed by a non-word constituent character. Word-constituent characters are letters, digits, and the underscore. + +|-A, --after-context +|Print NUM lines of trailing context after matching lines. Places a line containing -- between contiguous groups of matches. + +|--color, --colour +|use markers to distinguish the matching string. WHEN may be `always', `never' or `auto' +|=== + +== Details + +classpath:grep.txt + Added: karaf/site/production/manual/latest/commands/shell-head.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-head.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-head.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-head.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += shell:head + +== Description + +Displays the first lines of a file. + +== Syntax + +shell:head [options] [paths or urls] + +== Arguments + +|=== +|Name |Description + +| paths or urls +| A list of file paths or urls to display separated by whitespaces. +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message + +|-n +|The number of lines to display, starting at 1. +|=== + + Added: karaf/site/production/manual/latest/commands/shell-history.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-history.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-history.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-history.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,23 @@ += shell:history + +== Description + +Prints command history. + +== Syntax + +shell:history [options] + +== Options + +|=== +|Name |Description + +|-c, --clear +|Clears the shell command history. + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-if.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-if.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-if.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-if.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,35 @@ += shell:if + +== Description + +If/Then/Else block. + +== Syntax + +shell:if [options] condition ifTrue [ifFalse] + +== Arguments + +|=== +|Name |Description + +| condition +| The condition + +| ifTrue +| The function to execute if the condition is true + +| ifFalse +| The function to execute if the condition is false +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-info.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-info.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-info.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-info.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,20 @@ += shell:info + +== Description + +Prints system information. + +== Syntax + +shell:info [options] + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-java.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-java.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-java.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-java.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,35 @@ += shell:java + +== Description + +Executes a Java standard application. + +== Syntax + +shell:java [options] className [arguments] + +== Arguments + +|=== +|Name |Description + +| className +| The name of the class to invoke + +| arguments +| Arguments to pass to the method of the given class +|=== + +== Options + +|=== +|Name |Description + +|-m, --method +|Invoke a named method + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-less.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-less.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-less.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-less.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,56 @@ += shell:less + +== Description + +File pager. + +== Syntax + +shell:less [options] [files] + +== Arguments + +|=== +|Name |Description + +| files +| +|=== + +== Options + +|=== +|Name |Description + +|-I, --IGNORE-CASE +| + +|-x, --tabs +| + +|--help +|Display this help message + +|-q, --quiet, --silent +| + +|-E, --QUIT-AT-EOF +| + +|-N, --LINE-NUMBERS +| + +|-Q, --QUIET, --SILENT +| + +|-i, --ignore-case +| + +|-e, --quit-at-eof +| + +|-S, --chop-long-lines +| +|=== + + Added: karaf/site/production/manual/latest/commands/shell-logout.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-logout.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-logout.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-logout.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,20 @@ += shell:logout + +== Description + +Disconnects shell from current session. + +== Syntax + +shell:logout [options] + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-more.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-more.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-more.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-more.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,23 @@ += shell:more + +== Description + +File pager. + +== Syntax + +shell:more [options] + +== Options + +|=== +|Name |Description + +|--help +|Display this help message + +|--lines +|stop after N lines +|=== + + Added: karaf/site/production/manual/latest/commands/shell-new.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-new.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-new.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-new.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += shell:new + +== Description + +Creates a new java object. + +== Syntax + +shell:new [options] class [args] + +== Arguments + +|=== +|Name |Description + +| class +| FQN of the class to load + +| args +| Constructor arguments +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-printf.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-printf.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-printf.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-printf.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += shell:printf + +== Description + +Formats and prints arguments. + +== Syntax + +shell:printf [options] format arguments + +== Arguments + +|=== +|Name |Description + +| format +| The format pattern to use + +| arguments +| The arguments for the given format pattern +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-sleep.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-sleep.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-sleep.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-sleep.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += shell:sleep + +== Description + +Sleeps for a bit then wakes up. + +== Syntax + +shell:sleep [options] duration + +== Arguments + +|=== +|Name |Description + +| duration +| The amount of time to sleep. The default time unit is millisecond, use -s option to use second instead. +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message + +|-s, --second +|Use a duration time in seconds instead of milliseconds. +|=== + + Added: karaf/site/production/manual/latest/commands/shell-sort.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-sort.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-sort.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-sort.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,50 @@ += shell:sort + +== Description + +Writes sorted concatenation of all files to standard output. + +== Syntax + +shell:sort [options] [files] + +== Arguments + +|=== +|Name |Description + +| files +| A list of files separated by whitespaces +|=== + +== Options + +|=== +|Name |Description + +|-k, --key +|Fields to use for sorting separated by whitespaces + +|-r, --reverse +|reverse the result of comparisons + +|-b, --ignore-leading-blanks +|ignore leading blanks + +|--help +|Display this help message + +|-t, --field-separator +|use SEP instead of non-blank to blank transition + +|-u, --unique +|output only the first of an equal run + +|-n, --numeric-sort +|compare according to string numerical value + +|-f, -ignore-case +|fold lower case to upper case characters +|=== + + Added: karaf/site/production/manual/latest/commands/shell-source.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-source.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-source.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-source.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += shell:source + +== Description + +Run a script + +== Syntax + +shell:source [options] script [args] + +== Arguments + +|=== +|Name |Description + +| script +| A URI pointing to the script + +| args +| Arguments for the script +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-stack-traces-print.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-stack-traces-print.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-stack-traces-print.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-stack-traces-print.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,29 @@ += shell:stack-traces-print + +== Description + +Prints the full stack trace in the console when the execution of a command throws an exception. + +== Syntax + +shell:stack-traces-print [options] [print] + +== Arguments + +|=== +|Name |Description + +| print +| Print stack traces or not (defaults to true) +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/shell-tac.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-tac.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-tac.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-tac.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,23 @@ += shell:tac + +== Description + +Captures the STDIN and returns it as a string. Optionally writes the content to a file. + +== Syntax + +shell:tac [options] + +== Options + +|=== +|Name |Description + +|--help +|Display this help message + +|-f +|Outputs the content to the given file +|=== + + Added: karaf/site/production/manual/latest/commands/shell-tail.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-tail.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-tail.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-tail.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,38 @@ += shell:tail + +== Description + +Displays the last lines of a file. + +== Syntax + +shell:tail [options] [path or url] + +== Arguments + +|=== +|Name |Description + +| path or url +| A file path or url to display. +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message + +|-n +|The number of lines to display, starting at 1. + +|-f +|Follow file changes + +|-s +|Sleep interval (used for follow) +|=== + + Added: karaf/site/production/manual/latest/commands/shell-threads.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-threads.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-threads.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-threads.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,53 @@ += shell:threads + +== Description + +Prints the current threads (optionally with stacktraces) + +== Syntax + +shell:threads [options] [id] + +== Arguments + +|=== +|Name |Description + +| id +| Show details for thread with this Id +|=== + +== Options + +|=== +|Name |Description + +|--list +|Display threads as a list + +|--packages +|Pruned packages + +|--no-format +|Disable table rendered output + +|-t, --threshold +|Minimal number of interesting stack trace line to display a thread + +|--tree +|Display threads as a tree + +|--locks +|Display locks + +|--help +|Display this help message + +|--monitors +|Display monitors + +|-e, --empty-groups +|Show empty groups +|=== + + Added: karaf/site/production/manual/latest/commands/shell-watch.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-watch.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-watch.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-watch.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,35 @@ += shell:watch + +== Description + +Watches & refreshes the output of a command + +== Syntax + +shell:watch [options] command + +== Arguments + +|=== +|Name |Description + +| command +| The command to watch / refresh +|=== + +== Options + +|=== +|Name |Description + +|-a, --append +|The output should be appended but not clear the console + +|--help +|Display this help message + +|-n, --interval +|The interval between executions of the command in seconds +|=== + + Added: karaf/site/production/manual/latest/commands/shell-wc.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-wc.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-wc.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-wc.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,41 @@ += shell:wc + +== Description + +Print newline, word, and byte counts for each file. + +== Syntax + +shell:wc [options] [files] + +== Arguments + +|=== +|Name |Description + +| files +| The list of files where to perform the count +|=== + +== Options + +|=== +|Name |Description + +|-c, --bytes +|Print the byte counts. + +|-w, --words +|Print the word counts. + +|--help +|Display this help message + +|-l, --lines +|Print the newline counts. + +|-m, --chars +|Print the character counts. +|=== + + Added: karaf/site/production/manual/latest/commands/shell-while.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/shell-while.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/shell-while.adoc (added) +++ karaf/site/production/manual/latest/commands/shell-while.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += shell:while + +== Description + +Loop while the condition is true. + +== Syntax + +shell:while [options] condition function + +== Arguments + +|=== +|Name |Description + +| condition +| The condition of the loop + +| function +| The function to execute +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/ssh-ssh.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/ssh-ssh.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/ssh-ssh.adoc (added) +++ karaf/site/production/manual/latest/commands/ssh-ssh.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,50 @@ += ssh:ssh + +== Description + +Connects to a remote SSH server + +== Syntax + +ssh:ssh [options] hostname [command] + +== Arguments + +|=== +|Name |Description + +| hostname +| The host name to connect to via SSH + +| command +| Optional command to execute +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message + +|-l, --username +|The user name for remote login + +|-P, --password +|The password for remote login + +|-p, --port +|The port to use for SSH connection + +|-q +|Quiet Mode. Do not ask for confirmations + +|-r, --retries +|retry connection establishment (up to attempts times) + +|-k, --keyfile +|The private keyFile location when using key login, need have BouncyCastle registered as security provider using this flag +|=== + + Added: karaf/site/production/manual/latest/commands/ssh-sshd.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/ssh-sshd.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/ssh-sshd.adoc (added) +++ karaf/site/production/manual/latest/commands/ssh-sshd.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += ssh:sshd + +== Description + +Creates a SSH server + +== Syntax + +ssh:sshd [options] + +== Options + +|=== +|Name |Description + +|-i, --idle-timeout +|The session idle timeout in milliseconds + +|-p, --port +|The port to setup the SSH server + +|--help +|Display this help message + +|-b, --background +|The service will run in the background + +|-w, --welcome-banner +|The welcome banner to display when logging in +|=== + + Added: karaf/site/production/manual/latest/commands/subsystem-info.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/subsystem-info.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/subsystem-info.adoc (added) +++ karaf/site/production/manual/latest/commands/subsystem-info.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += subsystem:info + +== Description + +Display information about subsystems + +== Syntax + +subsystem:info [options] [id] + +== Arguments + +|=== +|Name |Description + +| id +| Subsystem names or ids +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message + +|--indent +|Indentation method +|=== + + Added: karaf/site/production/manual/latest/commands/subsystem-install.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/subsystem-install.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/subsystem-install.adoc (added) +++ karaf/site/production/manual/latest/commands/subsystem-install.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += subsystem:install + +== Description + +Install a new subsystem + +== Syntax + +subsystem:install [options] [Subsystem to install the new subsystem into] [New subsystem url] + +== Arguments + +|=== +|Name |Description + +| Subsystem to install the new subsystem into +| + +| New subsystem url +| +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/subsystem-list.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/subsystem-list.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/subsystem-list.adoc (added) +++ karaf/site/production/manual/latest/commands/subsystem-list.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,20 @@ += subsystem:list + +== Description + +List all subsystems + +== Syntax + +subsystem:list [options] + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/subsystem-start.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/subsystem-start.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/subsystem-start.adoc (added) +++ karaf/site/production/manual/latest/commands/subsystem-start.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,29 @@ += subsystem:start + +== Description + +Start the specified subsystems + +== Syntax + +subsystem:start [options] [id] + +== Arguments + +|=== +|Name |Description + +| id +| Subsystem names or ids +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/subsystem-stop.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/subsystem-stop.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/subsystem-stop.adoc (added) +++ karaf/site/production/manual/latest/commands/subsystem-stop.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,29 @@ += subsystem:stop + +== Description + +Stop the specified subsystems + +== Syntax + +subsystem:stop [options] [id] + +== Arguments + +|=== +|Name |Description + +| id +| Subsystem names or ids +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/subsystem-uninstall.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/subsystem-uninstall.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/subsystem-uninstall.adoc (added) +++ karaf/site/production/manual/latest/commands/subsystem-uninstall.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,29 @@ += subsystem:uninstall + +== Description + +Uninstall the specified subsystems + +== Syntax + +subsystem:uninstall [options] [id] + +== Arguments + +|=== +|Name |Description + +| id +| Subsystem names or ids +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/system-framework.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/system-framework.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/system-framework.adoc (added) +++ karaf/site/production/manual/latest/commands/system-framework.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,35 @@ += system:framework + +== Description + +OSGi Framework options. + +== Syntax + +system:framework [options] [framework] + +== Arguments + +|=== +|Name |Description + +| framework +| Name of the OSGi framework to use +|=== + +== Options + +|=== +|Name |Description + +|-nodebug, --disable-debug +|Disable debug for the OSGi framework + +|--help +|Display this help message + +|-debug, --enable-debug +|Enable debug for the OSGi framework +|=== + + Added: karaf/site/production/manual/latest/commands/system-name.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/system-name.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/system-name.adoc (added) +++ karaf/site/production/manual/latest/commands/system-name.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,29 @@ += system:name + +== Description + +Show or change Karaf instance name. + +== Syntax + +system:name [options] [name] + +== Arguments + +|=== +|Name |Description + +| name +| New name for the instance +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/system-property.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/system-property.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/system-property.adoc (added) +++ karaf/site/production/manual/latest/commands/system-property.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,41 @@ += system:property + +== Description + +Get or set a system property. + +== Syntax + +system:property [options] [key] [value] + +== Arguments + +|=== +|Name |Description + +| key +| The system property name + +| value +| New value for the system property +|=== + +== Options + +|=== +|Name |Description + +|-f, --file-dump +|Dump all system properties in a file (in data folder) + +|--help +|Display this help message + +|-p, --persistent +|Persist the new value to the etc/system.properties file + +|-u, --unset +|Show unset know properties with value unset +|=== + + Added: karaf/site/production/manual/latest/commands/system-shutdown.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/system-shutdown.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/system-shutdown.adoc (added) +++ karaf/site/production/manual/latest/commands/system-shutdown.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,44 @@ += system:shutdown + +== Description + +Shutdown the Karaf container. + +== Syntax + +system:shutdown [options] [time] + +== Arguments + +|=== +|Name |Description + +| time +| Shutdown after a specified delay. The time argument can have different formats. First, it can be an absolute time in the format hh:mm, in which hh is the hour (1 or 2 digits) and mm is the minute of the hour (in two digits). Second, it can be in the format m (or +m), in which m is the number of minutes to wait. The word now is an alias for 0 (or +0). +|=== + +== Options + +|=== +|Name |Description + +|-r, --reboot +|Reboot the Karaf container. + +|--help +|Display this help message + +|-cc, --clean-cache, -cc +|Force a clean restart by deleting the cache directory + +|-f, --force +|Force the shutdown without confirmation message. + +|-h, --halt +|Halt the Karaf container. + +|-c, --clean, --clean-all, -ca +|Force a clean restart by deleting the data directory +|=== + + Added: karaf/site/production/manual/latest/commands/system-start-level.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/system-start-level.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/system-start-level.adoc (added) +++ karaf/site/production/manual/latest/commands/system-start-level.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,29 @@ += system:start-level + +== Description + +Gets or sets the system start level. + +== Syntax + +system:start-level [options] [level] + +== Arguments + +|=== +|Name |Description + +| level +| The new system start level to set +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/system-version.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/system-version.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/system-version.adoc (added) +++ karaf/site/production/manual/latest/commands/system-version.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,20 @@ += system:version + +== Description + +Display the instance version + +== Syntax + +system:version [options] + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/web-launch.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/web-launch.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/web-launch.adoc (added) +++ karaf/site/production/manual/latest/commands/web-launch.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,32 @@ += web:launch + +== Description + +Start the web application in a browser of the given bundle ID. + +== Syntax + +web:launch [options] id + +== Arguments + +|=== +|Name |Description + +| id +| The bundle ID to start the browser with +|=== + +== Options + +|=== +|Name |Description + +|--base +|The base URL to browse to, otherwise default localhost:8181 will be used. + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/web-list.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/web-list.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/web-list.adoc (added) +++ karaf/site/production/manual/latest/commands/web-list.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,23 @@ += web:list + +== Description + +Lists details for war bundles. + +== Syntax + +web:list [options] + +== Options + +|=== +|Name |Description + +|--no-format +|Disable table rendered output + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/web-start.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/web-start.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/web-start.adoc (added) +++ karaf/site/production/manual/latest/commands/web-start.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,29 @@ += web:start + +== Description + +Start the web context of given bundles. + +== Syntax + +web:start [options] ids + +== Arguments + +|=== +|Name |Description + +| ids +| The list of bundle IDs separated by whitespaces +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/web-stop.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/web-stop.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/web-stop.adoc (added) +++ karaf/site/production/manual/latest/commands/web-stop.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,29 @@ += web:stop + +== Description + +Stop the web context of given bundles. + +== Syntax + +web:stop [options] ids + +== Arguments + +|=== +|Name |Description + +| ids +| The list of bundle IDs separated by whitespaces +|=== + +== Options + +|=== +|Name |Description + +|--help +|Display this help message +|=== + + Added: karaf/site/production/manual/latest/commands/wrapper-install.adoc URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/wrapper-install.adoc?rev=1741445&view=auto ============================================================================== --- karaf/site/production/manual/latest/commands/wrapper-install.adoc (added) +++ karaf/site/production/manual/latest/commands/wrapper-install.adoc Thu Apr 28 15:03:08 2016 @@ -0,0 +1,38 @@ += wrapper:install + +== Description + +Install the container as a system service in the OS. + +== Syntax + +wrapper:install [options] + +== Options + +|=== +|Name |Description + +|-D, --description +|The description of the service. + +|-i, --include +|Specify include statement for JSW wrapper conf. To specify multiple include statement, specify this flag multiple times. + +|-n, --name +|The service name that will be used when installing the service. (Default: karaf) + +|-d, --display +|The display name of the service. + +|-s, --start-type +|Mode in which the service is installed. AUTO_START or DEMAND_START (Default: AUTO_START) + +|--help +|Display this help message + +|-e, --env +|Specify environment variable and values. To specify multiple environment variable and values, specify this flag multiple times. +|=== + +
