Module user_default

This module implements short form commands for the Erlang shell.

Copyright © 2016 - 2026 SigScale Global Inc.

See also: //stdlib/shell_default.

Description

This module implements short form commands for the Erlang shell.

The functions in this module are available when called without a module name in an interactive shell. These are meant to be used by operations support staff to quickly get status information about a running system.

Function Index

help/0Get help on shell local commands.
ts/0Display the total number of records in ocs tables.
td/0Display the current ocs table distribution.
su/0Display scheduler utilization.
up/0Display system uptime.
di/0Get information on running diameter services.
di/1Get information on running diameter services.
di/2Get information on running diameter services.
dc/0Get diameter capability values.
ll/1Get the last five events written to log.
ll/2Get the last N events written to log.
ql/2Query diameter logs.
ql/3Query diameter logs.
ql/4Query diameter logs.
dia_application/1*Print the Application name header.
dia_count/2*Print the command name and count.

Function Details

help/0

help() -> true

Get help on shell local commands.

ts/0

ts() -> ok

Display the total number of records in ocs tables.

td/0

td() -> ok

Display the current ocs table distribution.

su/0

su() -> ok

Display scheduler utilization.

up/0

up() -> ok

Display system uptime.

di/0

di() -> Result

Get information on running diameter services.

di/1

di(Info) -> Result

Get information on running diameter services.

di/2

di(ServiceType, Info) -> Result

Get information on running diameter services.

dc/0

dc() -> Result

Get diameter capability values.

ll/1

ll(Log) -> Events

Get the last five events written to log.

ll/2

ll(Log, N) -> Events

Get the last N events written to log.

ql/2

ql(Log, Match) -> Events

Query diameter logs.

Start will be minus one hour from now.

ql/3

ql(Log, Match, Start) -> Events

Query diameter logs.

End time will be now.

ql/4

ql(Log, Match, Start, End) -> Events

Query diameter logs.

dia_application/1 *

dia_application(Application) -> ok

Print the Application name header.

dia_count/2 *

dia_count(Command, Count) -> ok

Print the command name and count.


Generated by EDoc