CcspMisc

Created on June 21, 2022

CcspMisc combines many utilities.

Below are the utilities available in CcspMisc repository.


UtilityDescription
psmcli

This CLI tool is used to get or set PSM database values. It is mostly used in scripts to query the PSM database values during boot up.

PSM CLI operation information captured here PSM CLI Operations.

LTime

LTime is used to show Local time of the device. The local time is calculated based on the offset received (Device.Time.TimeOffset) from CMTS.

LTime when used with option H and M shows the hour and minute of the local time respectively.

NotifyLeaseThis is used in devices with multi-processor architecture. NotifyLease is used to sync the lease file(/nvram/dnsmasq.leases) information on the ATOM side. Only mesh enabled devices will have notify_lease process running.
print_uptimeIt is used to log message with uptime in seconds. This is used to log the boot time information in RDK-B.
TimeConvThis is library used by CcspPandMSsp component for parental control when UTC_ENABLE feature is enabled. Since GUI shows time in UTC, we use this to split days. It is used to convert the rules entered in UTC time to Local Time.
Memory usage and Fragmentation selfheal– TestAndDiagnostics component has two parameters
memory threshold
fragmentation threshold
– If these parameters are 0, then selfheal is disabled. If any of these parameters is non zero, then selfheal is enabled.
– Then the device should reboot with reboot reason as low memory.
– This tool is used to calculate the total fragmented memory in percentage.
Set LEDThis tool is needed to set the LED behavior(LED color, LED state, LED Interval)
ParconThis utility is to block the devices using its mac address.
Go To Top