README.cliprompt 864 B

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