Using the cn=system,cn=monitor command

To collect system information from machines on which the directory server is running, use the cn=system,cn=monitor command.

idsldapsearch -D <adminDN> -w <adminpw> -b cn=system,cn=monitor 
-s base objectclass=*
The information that is returned depends on the operating system on which directory server is running. Following information is returned for machines that run on Windows™ operating system:
memoryUsed
The amount of virtual memory used (KB)
memoryFree
The amount of idle memory (KB).
operatingSystem
Operating system name. For instance, Windows or Windows-X640.
diskSpaceUsedByDB
Disk space that is used by the directory where DB2® database is stored (KB).
diskSpaceAvailableToDB
Disk space available to DB2 database (KB).
The following information is returned for machines that run on non-windows operating systems:
operatingSystem
Operating system name. For instance, Linux-x64 or AIX®.
diskSpaceUsedByDB
Disk space that is used by the directory where DB2 database is stored (KB).
diskSpaceAvailableToDB
Disk space available to DB2 database (KB).