mine:~ # ps -ef | egrep -w "PID|zmd"
UID PID PPID C STIME TTY TIME CMD
root 3819 1 0 09:55 ? 00:00:31 zmd /usr/lib/zmd/zmd.exe --sleep-resume
root 7021 6429 0 12:33 pts/10 00:00:00 /bin/grep -E -w PID|zmd
mine:~ # ldd /usr/lib/zmd/zmd.exe
ldd: warning: you do not have execution permission for `/usr/lib/zmd/zmd.exe'
not a dynamic executable
mine:~ # file /usr/lib/zmd/zmd.exe
/usr/lib/zmd/zmd.exe: PE executable for MS Windows (console) Intel 80386 32-bit, Mono/.Net assembly
mine:~ # ldd `which zmd`
not a dynamic executable
mine:~ # lsof -p 3819 | grep dll
zmd 3819 root mem REG 3,2 102912 4658617 /usr/lib/mono/gac/System.Runtime.Remoting/1.0.5000.0__b77a5c561934e089/System.Runtime.Remoting.dll
zmd 3819 root mem REG 3,2 25600 9967877 /usr/lib/zmd/modules/Novell.Zenworks.Zmd.XmlRpc.dll
zmd 3819 root mem REG 3,2 29696 26840110 /usr/lib/zmd/Novell.Zenworks.Zmd.SqliteClient.dll
zmd 3819 root mem REG 3,2 588288 21126013 /usr/lib/mono/gac/System.Data/1.0.5000.0__b77a5c561934e089/System.Data.dll
zmd 3819 root mem REG 3,2 159744 26862502 /usr/lib/zmd/Novell.Zenworks.Zmd.Packaging.dll
zmd 3819 root mem REG 3,2 52736 38340167 /usr/lib/mono/gac/dbus-sharp/0.60.0.0__9eef2692033670f5/dbus-sharp.dll
zmd 3819 root mem REG 3,2 16384 9967874 /usr/lib/zmd/modules/Novell.Zenworks.Zmd.NetworkManager.dll
zmd 3819 root mem REG 3,2 72704 9967873 /usr/lib/zmd/modules/CookComputing.XmlRpc.dll
zmd 3819 root mem REG 3,2 273408 62955272 /usr/lib/mono/gac/Mono.Security/1.0.5000.0__0738eb9f132ed756/Mono.Security.dll
zmd 3819 root mem REG 3,2 770048 42962852 /usr/lib/mono/gac/System.Web/1.0.5000.0__b03f5f7f11d50a3a/System.Web.dll
zmd 3819 root mem REG 3,2 223744 34485606 /usr/lib/mono/gac/System.Web.Services/1.0.5000.0__b03f5f7f11d50a3a/System.Web.Services.dll
zmd 3819 root mem REG 3,2 5632 9961202 /usr/lib/zmd/modules/Novell.Zenworks.Zmd.Remote.dll
zmd 3819 root mem REG 3,2 10752 59666373 /usr/lib/mono/gac/Novell.Zenworks.Zmd.Packaging.Public/1.0.0.0__48eafe5f49a143f5/Novell.Zenworks.Zmd.Packaging.Public.dll
zmd 3819 root mem REG 3,2 171520 50359797 /usr/lib/mono/gac/Mono.Posix/1.0.5000.0__0738eb9f132ed756/Mono.Posix.dll
zmd 3819 root mem REG 3,2 1066496 38093538 /usr/lib/mono/gac/System.Xml/1.0.5000.0__b77a5c561934e089/System.Xml.dll
zmd 3819 root mem REG 3,2 748544 46198631 /usr/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll
zmd 3819 root mem REG 3,2 66048 498931 /usr/lib/mono/gac/Novell.Zenworks.Zmd.Public/1.0.0.0__48eafe5f49a143f5/Novell.Zenworks.Zmd.Public.dll
zmd 3819 root mem REG 3,2 227328 26840112 /usr/lib/zmd/log4net.dll
zmd 3819 root mem REG 3,2 261632 26840111 /usr/lib/zmd/Novell.Zenworks.Zmd.dll
zmd 3819 root mem REG 3,2 1964544 58798431 /usr/lib/mono/1.0/mscorlib.dll
zmd 3819 root mem REG 3,2 6656 9967875 /usr/lib/zmd/modules/Novell.Zenworks.Zmd.PackageManagementModule.dll
zmd 3819 root 6r REG 3,2 1964544 58798431 /usr/lib/mono/1.0/mscorlib.dll
zmd 3819 root 7r REG 3,2 261632 26840111 /usr/lib/zmd/Novell.Zenworks.Zmd.dll
zmd 3819 root 8r REG 3,2 227328 26840112 /usr/lib/zmd/log4net.dll
zmd 3819 root 9r REG 3,2 66048 498931 /usr/lib/mono/gac/Novell.Zenworks.Zmd.Public/1.0.0.0__48eafe5f49a143f5/Novell.Zenworks.Zmd.Public.dll
zmd 3819 root 10r REG 3,2 748544 46198631 /usr/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll
zmd 3819 root 11r REG 3,2 1066496 38093538 /usr/lib/mono/gac/System.Xml/1.0.5000.0__b77a5c561934e089/System.Xml.dll
zmd 3819 root 12r REG 3,2 171520 50359797 /usr/lib/mono/gac/Mono.Posix/1.0.5000.0__0738eb9f132ed756/Mono.Posix.dll
zmd 3819 root 15r REG 3,2 223744 34485606 /usr/lib/mono/gac/System.Web.Services/1.0.5000.0__b03f5f7f11d50a3a/System.Web.Services.dll
zmd 3819 root 16r REG 3,2 770048 42962852 /usr/lib/mono/gac/System.Web/1.0.5000.0__b03f5f7f11d50a3a/System.Web.dll
zmd 3819 root 18r REG 3,2 273408 62955272 /usr/lib/mono/gac/Mono.Security/1.0.5000.0__0738eb9f132ed756/Mono.Security.dll
zmd 3819 root 19r REG 3,2 72704 9967873 /usr/lib/zmd/modules/CookComputing.XmlRpc.dll
zmd 3819 root 20r REG 3,2 16384 9967874 /usr/lib/zmd/modules/Novell.Zenworks.Zmd.NetworkManager.dll
zmd 3819 root 21r REG 3,2 52736 38340167 /usr/lib/mono/gac/dbus-sharp/0.60.0.0__9eef2692033670f5/dbus-sharp.dll
zmd 3819 root 26r REG 3,2 6656 9967875 /usr/lib/zmd/modules/Novell.Zenworks.Zmd.PackageManagementModule.dll
zmd 3819 root 27r REG 3,2 159744 26862502 /usr/lib/zmd/Novell.Zenworks.Zmd.Packaging.dll
zmd 3819 root 28r REG 3,2 10752 59666373 /usr/lib/mono/gac/Novell.Zenworks.Zmd.Packaging.Public/1.0.0.0__48eafe5f49a143f5/Novell.Zenworks.Zmd.Packaging.Public.dll
zmd 3819 root 29r REG 3,2 588288 21126013 /usr/lib/mono/gac/System.Data/1.0.5000.0__b77a5c561934e089/System.Data.dll
zmd 3819 root 30r REG 3,2 29696 26840110 /usr/lib/zmd/Novell.Zenworks.Zmd.SqliteClient.dll
zmd 3819 root 32r REG 3,2 5632 9961202 /usr/lib/zmd/modules/Novell.Zenworks.Zmd.Remote.dll
zmd 3819 root 33r REG 3,2 25600 9967877 /usr/lib/zmd/modules/Novell.Zenworks.Zmd.XmlRpc.dll
zmd 3819 root 34r REG 3,2 102912 4658617 /usr/lib/mono/gac/System.Runtime.Remoting/1.0.5000.0__b77a5c561934e089/System.Runtime.Remoting.dll
mine:~ # lsof -p 3819 | grep dll | wc -l
42
mine:~ # echo "what was the question? ;-)"
what was the question? ;-)
mine:~ #