Available APIs for process and package management
Hello All and welcome to my Hello All:
Welcome to my inaugural post. I am a complete noob to Solaris (although I have been using Linux for 5+ years) and am in the process of trying to get a handle on what local C/C++ APIs (if any) are available for management. Specifically, I am looking to find out about process and package management.
For process management, basically I would like to know is there some kind of interface to the the prstat application (ie. Memory and CPU utilization). Does something like this exist?
For package management, I am looking for the ability to add, remove, and query the package 揹atabase? Correct me if I am wrong, but the Solaris package 揹atabase?seems similar to that of a Debian system (at least from the perspective that the informational files are stored as plain text in a well-defined directory [ie /var/sadm/pkg/]).
I have installed Solaris 10 on an x86 machine with a full installation; however, of the installed development kits (listed below) nothing jumped out at me.
-bash-3.00# ls -1d /var/sadm/pkg/*devel
/var/sadm/pkg/SUNWaspell-devel
/var/sadm/pkg/SUNWevolution-devel
/var/sadm/pkg/SUNWevolution-libs-devel
/var/sadm/pkg/SUNWgnome-a11y-base-devel
/var/sadm/pkg/SUNWgnome-a11y-libs-devel
/var/sadm/pkg/SUNWgnome-a11y-reader-devel
/var/sadm/pkg/SUNWgnome-a11y-speech-devel
/var/sadm/pkg/SUNWgnome-audio-devel
/var/sadm/pkg/SUNWgnome-base-libs-devel
/var/sadm/pkg/SUNWgnome-camera-devel
/var/sadm/pkg/SUNWgnome-common-devel
/var/sadm/pkg/SUNWgnome-component-devel
/var/sadm/pkg/SUNWgnome-config-devel
/var/sadm/pkg/SUNWgnome-desktop-prefs-devel
/var/sadm/pkg/SUNWgnome-file-mgr-devel
/var/sadm/pkg/SUNWgnome-hex-editor-devel
/var/sadm/pkg/SUNWgnome-img-editor-devel
/var/sadm/pkg/SUNWgnome-libs-devel
/var/sadm/pkg/SUNWgnome-media-devel
/var/sadm/pkg/SUNWgnome-panel-devel
/var/sadm/pkg/SUNWgnome-pilot-devel
/var/sadm/pkg/SUNWgnome-print-devel
/var/sadm/pkg/SUNWgnome-project-devel
/var/sadm/pkg/SUNWgnome-terminal-devel
/var/sadm/pkg/SUNWgnome-text-editor-devel
/var/sadm/pkg/SUNWgnome-vfs-devel
/var/sadm/pkg/SUNWgnome-wm-devel
/var/sadm/pkg/SUNWgnutls-devel
/var/sadm/pkg/SUNWjpg-devel
/var/sadm/pkg/SUNWlibexif-devel
/var/sadm/pkg/SUNWlibgcrypt-devel
/var/sadm/pkg/SUNWlibpopt-devel
/var/sadm/pkg/SUNWmozilla-devel
/var/sadm/pkg/SUNWmoznspr-devel
/var/sadm/pkg/SUNWmoznss-devel
/var/sadm/pkg/SUNWogg-vorbis-devel
/var/sadm/pkg/SUNWopenjade-devel
/var/sadm/pkg/SUNWopensp-devel
/var/sadm/pkg/SUNWpcsclite-devel
/var/sadm/pkg/SUNWpng-devel
/var/sadm/pkg/SUNWpostgr-devel
/var/sadm/pkg/SUNWPython-devel
/var/sadm/pkg/SUNWTiff-devel
I've placed orders for Solaris Internals and Solaris Performance & Tuning (that should arrive tomorrow), but I was hoping that someone could give me a gentle push (or perhaps a swift kick) in a general direction. :)
Thanks.

