Page created: 22 Jul 2020
|
Page updated: 1 Feb 2021
| 1 min read
8.2 Product PingDirectory Directory Capability Product documentation Content Type Administration User task Monitoring and Management IT Administrator Administrator Audience Software Deployment Method Configuration PingDirectoryProxy System Administrator Performance Tuning
-
Use the dsconfig non-interactive command-line equivalent to
create your custom stats logger. The following one-line command replicates the
procedure in the previous section. This command produces a column named "Memory
Consumer Total (GB)" that contains the value of the of
total-bytes-used-by-memory-consumers
attribute pulled from the entry with theds-memory-usage-monitor-entry
objectclass. This value is scaled by 1073741824 to get to a value represented in GBs.$ bin/dsconfig create-custom-logged-stats --plugin-name "Stats Logger" \ --stats-name "Memory Usage" --type custom \ --set monitor-objectclass:ds-memory-usage-monitor-entry \ --set attribute-to-log:total-bytes-used-by-memory-consumers \ --set "column-name:Memory Consumer Total (GB)" --set statistic-type:raw \ --set divide-value-by:1073741824