Using the tree-view option of ps will help. It'll show the threads of the main process. Try "ps fax":
922 ? S 0:02 /usr/local/lib/aolserver/bin/nsd -u nsadmin -g www-data -t /usr/local/stow/aolserver_local/etc/aolserver/lbn.
923 ? S 0:01 \_ /usr/local/lib/aolserver/bin/nsd -u nsadmin -g www-data -t /usr/local/stow/aolserver_local/etc/aolserver/
924 ? S 0:00 \_ /usr/local/lib/aolserver/bin/nsd -u nsadmin -g www-data -t /usr/local/stow/aolserver_local/etc/aolser
925 ? S 0:11 \_ /usr/local/lib/aolserver/bin/nsd -u nsadmin -g www-data -t /usr/local/stow/aolserver_local/etc/aolser
933 ? S 0:06 \_ /usr/local/lib/aolserver/bin/nsd -u nsadmin -g www-data -t /usr/local/stow/aolserver_local/etc/aolser
1311 ? S 0:00 \_ /usr/local/lib/aolserver/bin/nsd -u nsadmin -g www-data -t /usr/local/stow/aolserver_local/etc/aolser
28309 ? S 0:01 \_ /usr/local/lib/aolserver/bin/nsd -u nsadmin -g www-data -t /usr/local/stow/aolserver_local/etc/aolser
28311 ? S 0:01 \_ /usr/local/lib/aolserver/bin/nsd -u nsadmin -g www-data -t /usr/local/stow/aolserver_local/etc/aolser...
-Roberto