aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-30 15:30:18 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-30 15:30:18 +0000
commit6b26c0501c3482e8a3600c725edb25540d90b7b3 (patch)
treec57316b127fba71ebf12314098573b07bdfc5220 /doc
parent58e599d7e90d78bc3afcc38bcbc07d9c066b6e72 (diff)
Add %u and %g to the ASTERISK_PROMPT settings, for username and group,
respectively. Also, take the opportunity to clean up the CLI prompt generation code. (closes issue #13175) Reported by: eliel Patches: cliprompt.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134353 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc')
-rw-r--r--doc/tex/cliprompt.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/tex/cliprompt.tex b/doc/tex/cliprompt.tex
index 42e6b4bd1..aaa2afb0e 100644
--- a/doc/tex/cliprompt.tex
+++ b/doc/tex/cliprompt.tex
@@ -12,18 +12,18 @@ the current value by Asterisk:
\item \%h - Full hostname
\item \%H - Short hostname
\item \%t - Time
+ \item \%u - Username
+ \item \%g - Groupname
\item \%\% - Percent sign
\item \%\# - '\#' if Asterisk is run in console mode, '$>$' if running as remote console
\item \%Cn[;n] - Change terminal foreground (and optional background) color to specified
A full list of colors may be found in \path{include/asterisk/term.h}
\end{itemize}
-On Linux systems, you may also use:
+On systems which implement getloadavg(3), you may also use:
\begin{itemize}
\item \%l1 - Load average over past minute
\item \%l2 - Load average over past 5 minutes
\item \%l3 - Load average over past 15 minutes
- \item \%l4 - Process fraction (processes running / total processes)
- \item \%l5 - The most recently allocated pid
\end{itemize}