Let's also include aclocal.m4
[asterisk-bristuff.git] / doc / cliprompt.txt
blobfbd7dd99fa088a303ddf8c27d9f4f82cc61d9821
1 * Changing the CLI Prompt
2 -------------------------
4 The CLI prompt is set with the ASTERISK_PROMPT UNIX environment variable that
5 you set from the Unix shell before starting Asterisk
7 You may include the following variables, that will be replaced by
8 the current value by Asterisk:
10 %d      Date (year-month-date)
11 %s      Asterisk system name (from asterisk.conf)
12 %h      Full hostname
13 %H      Short hostname
14 %t      Time
15 %%      Percent sign
16 %#      '#' if Asterisk is run in console mode, '>' if running as remote console
17 %Cn[;n] Change terminal foreground (and optional background) color to specified
18         A full list of colors may be found in include/asterisk/term.h
20 On Linux systems, you may also use
21 %l1     Load average over past minute
22 %l2     Load average over past 5 minutes
23 %l3     Load average over past 15 minutes
24 %l4     Process fraction (processes running / total processes)
25 %l5     The most recently allocated pid
28 -----
29 04-03-26