NDSD Process Monitor is an automated tool to collect the NDSD process statistics like the number of connections on ports (389, 636, 524), Total Memory, Virtual Memory, Thread and CPU Usage by NDSD process on a Novell eDirectory Server. This is a Cross-Platform (Linux, AIX, SunOS) tool based on BASH Scripting.
Step to run the tool.
- Just download the "NDSD_PROCESS_Monitor.tar.gz"
- Extract it (#tar -zxvf NDSD_PROCESS_Monitor.tar.gz)
- Just Do!
usage: ./NDSD_PROCESS_Monitor options
This script will get defined process statistics.
-o Os Name or Platform :: Linux / SunOS / AIX :: Default: Mandatory from out of three
-H IP of the HOST :: Default: Mandatory
-m e-Mail ID for sending alert massages
-f Log file name with path :: Default: /var/tmp/YYYYMMDD_HHMM.log
-h To show this message
-i Interval between two different stat of Process :: Must be in Second :: Default: 30
-c Check for ndsd core at every given interval on given location :: default: /var/opt/novell/eDirectory/data/dib
To show this message
$0 -o Linux -H XXX.XXX.XXX.XXX -m firstname.lastname@example.org
To get "ndsd" pocess statistics
$0 -o AIX -H XXX.XXX.XXX.XXX -m email@example.com -i 60 -f /root/tmp/ndsd_process_stat.log
To get "ndsd" process statistics on AIX platform for every 60 seconds
Note: Tool has been tested with all SLES version, Solaris 10, AIX 5.3. Please comment for any Support / BUG related to tool.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.