My Oracle Support Banner

Merging CPU Statistics (option -C 1) Does Not Exist for SmsStatsDaemon (Doc ID 2149022.1)

Last updated on JUNE 14, 2016

Applies to:

Oracle Communications Network Charging and Control - Version 5.0.3 and later
Information in this document applies to any platform.


When trying to start smsStatsDaemon using "-C" option in the start command, the process fails to start and "-C" option is not listed among available options.

Startup log looks like this:

bash-4.1$ /IN/service_packages/SMS/bin/smsStatsDaemon -u / -w -F -C 1
May 31 13:33:54.074200 smsStatsDaemon(12073) NOTICE: Initialising
May 31 13:33:54.074968 smsStatsDaemon(12073) NOTICE: No configuration file found
May 31 13:33:54.075101 smsStatsDaemon(12073) NOTICE: Using DB and command line only
May 31 13:33:54.075250 smsStatsDaemon(12073) NOTICE: Command Line userPassword = /
May 31 13:33:54.075374 smsStatsDaemon(12073) NOTICE: Unknown option ?
Usage: /IN/service_packages/SMS/bin/smsStatsDaemon -c <current> -a <archive> -t <time> -s <size>
-u <user> -e <period>

-c <current_dir> Current statistics file directory
-a <archive_dir> Archive statistics file directory
-t <max_open_time> Max time (secs) stats file can be open
-s <max_file_size> Max size (Kb) stats file should reach
-u <user/pass> Oracle user and password pair
-d <dynamic table size> Number of rows for dynamic stats table, default = 500
-h <hash - stats ratio> The ratio of the size of the hash index to the dynamic stats table, default = 2
-x <sinap_home_paths> Colon separated list of directories to read for sinap stats
-f <config_file_loc> Stats configuration file location (includes file name)
-r <rep_node> Replication node number (instead of writing to file)
-m <size> Size of the DETAIL column in SMF_STATISTICS table, default = 320
-i Don't produce stats for mount points longer than the size of the DETAIL column (option -m)
-T Truncate stats DETAIL column when greater than max size instead of dropping them (option -m)
-S Don't syslog when stats DETAIL column greater than max size (option -m)
-v Verbose (for debugging setup problems)
-e <min_log_period> Minimum time (in seconds) between logging zero statistics
-w Do Row Count statistic collection (only used on an SMP with database installed)
-F Only do SMP specific statistic collection (only used on an SMP)

Note: -r is not compatible with the -c or -a options.
Note: If the -x options is used, each of the specified directories will be checked
for SINAP statistics. If the -x option is not used, the stats daemon will only
check in $SINAP_HOME for statistics.

May 31 13:33:54.075784 smsStatsDaemon(12073) NOTICE: Terminating. Cleaning up resources before exiting.

It is expected that the "-C n" option of the smsStatsDaemon should set the global configuration variable mergeCpuStats to the value of "n".

According to the Service Management System (SMS) Technical Guide the option is still present:

The command line parameters for the smsStatsDaemon are:

smsStatsDaemon [-e <secs>] [-u <usr/pwd>] [-f <dir/file>] [-v] [-r <node>][-d <size>] [-h <ratio>] [-w] [-F] [-m <size>] [-i] [-S] [-T] [-C <n>]

Syntax: -C n
Description: Sets the global configuration variable mergeCpuStats to the value of "n".
                  This defines whether individual CPU statistics will be output or whether CPU statistics will be summed. For summed statistics, the number of CPUs is also output.
Type: Integer
Optionality: Optional (default used if not set).
Allowed: n = 0 output individual CPU statistics n = 1 sum CPU statistics


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.