Child pages
  • noc dbshell
Skip to end of metadata
Go to start of metadata

Name

noc dbshell – Run interactive PostgreSQL shell

Synopsis

noc dbshell [options]

Description

Runs an interactive PostgreSQL shell, connected to NOC's database

Options:

-v VERBOSITY
--verbosity=VERBOSITY 

Verbosity level:

  • 0 - minimal output
  • 1 - normal output
  • 2 - all output
--tracebackPrint traceback on exception

Use EOF (Ctrl+D) or \q to exit the shell

Refer to the psql manual for the list of available interactive commands

Examples

/opt/noc$ ./noc dbshell
psql (8.4.8)
Type "help" for help.

noc=#    

See Also

noc shell

  • No labels