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 �database�. Correct me if I am wrong, but the Solaris package �database� 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.

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?Not prstat (although you could 'truss' it and see some of what it's doing to collect the information). kstat is available with a C interface and through perl/shell. It has several CPU fields. It's certainly useful for monitoring, but read-only. I'm not sure what you're looking for in terms of "management".
Also 'dtrace' can provide tons of dynamic information, but that's not necessarily what you're looking for.
For package management, I am looking for the ability
to add, remove, and query the package �database�.
Correct me if I am wrong, but the Solaris package
�database� 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/]).Yes, although it's based on the SysV packaging system. I don't believe there's any API for it outside of the 'pkg*' utilities.
Darren

Similar Messages

  • Slackware user - Arch install process and package management questions

    I currently am using Slackware 12 with updates.  It has become increasingly cumbersome to compile new software given the number of dependencies that also have to be compiled, and have their own dependencies compiled, etc and so on. 
    Other than the fact that the adoption of new packages is somewhat glacial, and that there is no automatic dependency resolution, I really like Slackware.  Its fast, relatively easy to configure, and easy to use.  I'm conversant in commandline-ese.
    I've been led to understand based on the Arch wiki that Arch is very similar to Slackware in its layout, but with bleeding edge packages and dependency resolution, so I would think it would be about perfect.
    However, I also understand that the install is more difficult that Slackware.  How much more so is my question.  Is it impossibly confusing and unhelpful like Debian installation was, or just slightly more difficult than Slackware or FreeBSD (both of which have very smooth installation scripts)
    Also, for packages that have to be compiled from source, are dependancies easy to satisfy from the arch repository, or do dependencies for new software have to be compiled with their dependencies.
    I'd probably just be trashing everything but /home, and doing a clean reinstall.
    Is Arch the right distro for me, or am I better off staying with Slackware?  Like I said, I really like Slackware except for the package management issues.

    I've been led to understand based on the Arch wiki that Arch is very similar to Slackware in its layout, but with bleeding edge packages and dependency resolution, so I would think it would be about perfect.
    You are right about that.
    However, I also understand that the install is more difficult that Slackware.  How much more so is my question.  Is it impossibly confusing and unhelpful like Debian installation was, or just slightly more difficult than Slackware or FreeBSD (both of which have very smooth installation scripts)
    They are quite similar, but Slackware provides more help when doing tasks like - how can I partition my harddisk and so on. But If you're comfortable with Slack's install procedure then installing Arch is much easier, just read the install guide.
    I think Arch is good for you, because currently I have both - Slackware and Arch and both suit me fine for my needs.
    Also remove all *. entries in your /home

  • BPM Process and data management

    Greetings,
    I want to ask a question related with best practice topics. What is the best way to manage the information generated by process execution?. Its ok to have a database different from the workflow database to store the most important data.
    I know this could be somethig redundant, but its easier to manage the data this way because managing an accessing the "BLOBs" in the workflow repository is not easy. Its there any advice in relation to this topic, any link or document ?

    Hi Christian, thanks!
    What I'm missing also within Process and Task Management Facade is the link between ProcessInstance and related TaskInstances.
    I know I can get tasks for a user by Status or ID. But I see no way to get a set of tasks for a certain process Instance.
    Will Process and Task Management Facade also be enhanced for SAP NW CE 7.3 EHP1?
    Is it already known what new features will be available or is this information published during TechEd?

  • Configuration documents for Training and event management &apprisals?

    hello xperts
    can anyone forward me configuration documents for treaining and event management and apprisal? to [email protected]

    Thanks for your suggestions.
    i can't go through new appraisal model with catalog & template, because client is not having ESS,MSS.  appraisal has to done in the ECC only.
    Done the customization like this :
    created scales
    created appraisal model and assign the scales
    for appraisal, Employee can do from APPCREATE transaction rate his own ratings and save.
    Now Appraiser (Manager) from APPCHANGE complete the appraisal.
    now my requirement is (1) after saving the APPCREATE by the employee, notification has to go to his reporting manager only. (2) Manager can do review/change and complete the process to his Employees only (who are reporting to him)
    how can i do this, standard functionality is there or i have to go for ABAP coding ? if ABAP coding what i have to ask them to do.
    Please help in this requirement.
    Thanks and Best Regards,
    Praneeth kumar

  • Preferred tools to monitor firewalls for performance and capacity managment

    What is your prefered tool for monitoring firewalls for performance and capacity managment?  We have Cisco's Health and Performance Monitor but it does not provide historcal or trending information.
    Thank you,
    Sara

    Hi,
    There are a few commercial products such as:
    - Cisco Prime
    - Manage Engine
    - Solar Winds
    There are also free products available such as Cacti and OpenNMS.
    Don't forget to rate all posts that are helpful.
    Cheers
    Sean

  • API for intradoc.* packages

    Hi,
    I'm writing custom UCM component. Where can I find actual (11.1.1.16) Java API for intradoc.* packages eg. for classes: intradoc.server.Service or intradoc.server.ServiceHandler ?
    Kuba

    I'm afraid that the best Java API I'm aware of is the one available in the HowToComponent samples. Unfortunately, it does not seem to contain intradoc.server classes.
    If you add the server.jar to your project in JDeveloper you should see at least what methods/attributes are available (without explanation). Personally, if I need to step in, I use Java Decompiler (JAD).

  • How to create custom infotype for training and event management

    hai freinds can any one tell me how to create custom infotype for training and event managment with following fields
    PS No – PA0000-> PERNR
    Name   - PA0001 -> ENAME
    IS PS.No. – PA0001-> PS no. of Immediate Superior
    IS name PA0001 -> ENAME
    thanx in advance
    afzal

    Hi,
    Your question is not clear for me. Since it is a TEM infotype, it could be a PD infotype.
    If you wish to create a PD infotype, use transaction PPCI to create the infotype.
    But before that you need to create a structure HRInnnn (where nnnn is the infotype number) with all the fields relevant for the infotype.
    If you wish to create a PA infotype, use transaction PM01 to create the infotype.
    But before that you may be required to create a strcuture PSnnnn  (where nnnn is the infotype number) with all the fields relevant for the infotype.
    Regards,
    Srini

  • User exit / BADI for training and event management

    Hi all,
    Can anybody tell me if there is any user exit / BADI for training and event management module?
    Thanks & regards,
    LOI

    Hi
    BADI's for Training and Event Management
    HRTEM00MASTERDATA      HR: Training and Event Management - Master Data
    HRTEM00NET_ACTIVITY      Determine Activities of an Attendee (e.g. ESS PV8I)
    HRTEM00NET_WEBST      Set Cancellation Reason in ESS PV8I
    HRTEM_CORR_NOTIF_REQ      Customer Enhancement:Confirmation on Send (R/3 Mail, E-Mail)
    HRTEM_HANDLE_BOOKING      HR-TEM BAdI: Employee Leaves Company - Update TEM Data
    HRTEM_INT_ZW           HR-TEM: Badi for Integration TEM - Time Management
    HRTEM_READ_OBJECT      Customer Enhancement: Name Format
    RHPV0001 Customer      Enhancement for Additional Checks for Booking
    Enhancemnet Spot:
    HRTEM00MASTERDATA      HR: Training and Event Management - Master Data
    ~~~Ganesh Kumar K.

  • Design Time for Processes and Forms

    Hi experts,
    When trying to open  "Design Time for Processes and Forms" in order to create a process, I get a dump.
    Could you let me know what could be wrong ? config? etc..
    Hereunder is a sample of what I found in T.code ST22
    The following checkpoint group was used: "No checkpoint group specified"
    If in the ASSERT statement the addition FIELDS was used, you can find
    the content of the first 8 specified fields in the following overview:
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
        referenced node must exist
          READ TABLE object_hierarchy_nodes TRANSPORTING NO FIELDS
                     WITH KEY node_id = object_hierarchy_node_wa-ref_node_id
    >>>      ASSERT sy-subrc = 0.
        ENDIF.
      provider has to be specified (except in case of recursion)
        IF object_hierarchy_node_wa-ref_node_id IS INITIAL.
          ASSERT object_hierarchy_node_wa-provider_id IS NOT INITIAL.
        ENDIF.
    Thanks in advance,
    Louis

    note: Note 1075650
    Re: Assertion_Failed dump when accessing Design Time for Processes & Forms EP3
    regards,
    Prakesh.

  • Create Adobe Form using Design Time for Processes and Forms

    Hi all,
    I am trying to create a form that have 3 fields:
    1. pernr
    2. ename
    3. effective_date
    I done all the necessary setup of BADI ,class, interface and form.
    I need the step to step guide where you create the adobe form using the Design Time for Processes and Forms. Anyone have any idea?
    Edited by: Siong Chao on Jan 3, 2011 4:54 AM
    Edited by: Siong Chao on Jan 3, 2011 5:00 AM

    Hi,
    I couldn't get to your query..
    What do you mean by step by step procedure for a design time & process for forms.
    if you are a beginner and looking for basic examples to implement adobe forms there are lot of them in SDN, please search them.
    let me know if your query was a very specific one.
    Cheers,
    Sai

  • Getting error when updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1

    Hi,
    I`m getting error message like "None of the apps in your project can be activated in the target. The manifest file of one or more apps contain API sets or Office applications that are not supported by
    the target Office client. To debug those apps, update manifest files to exclude any unsupported API sets or Office applications, and then start the project again. Alternatively, you can debug your apps by using Office 365 as a target." when when
    updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1 in manifest file though i have added host elements.
    any help in this regard is highly appreciated
    Thanks,
    Santosh Sutar  

    Hi Satosh Sutar,
    Based on the description, you got the error message when you update the apps from version 1.0 to 1.1.
    From the error message, it seems the menifest include some settings no allowed in the new version. Would you mind sharing more detail about how you update the project?
    And here is an article about updating apps for Office and menifest schema files in the project for your reference:
    How to: Update the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Entering custom backend service in Design Time for Processes and Forms

    Hi all,
    I am trying to create a form that have 3 fields:
    1. pernr
    2. ename
    3. effective_date
    I done all the necessary setup of BADI ,class, interface and form.
    However I cannot seem to insert my custom backend service in the Design Time for Processes and Forms workbench (t-code:hrasr_dt).
    Currently, I am just using SAP_PA for my backend service which is unable to load the ename into my form. The code in my custom class will not be triggered if I did not use my custom back end service in the Design Time for Processes and Forms.
    Whenever I tried using my custom back end service, I will encounter the assertion_failed dump.
    Anyone have any idea?
    Edited by: Siong Chao on Dec 22, 2010 6:35 AM

    Hi Siong Chao,
    The filter name you have used in the BADI for your generic service requires to be defined in the Create / Edit Generic Service - Definition.( You can see this on selecting the Back-end services node under Form Scenario definition while using HRASR_DT transaction code)
    Once you do that, you can import the fields defined in the Generic service BADI - using the same procedure used in standard SAP backend sevices.
    Hope this clarifies. Please let me know if you have any further questions.
    Best Regards
    G Raj

  • Design Time for processes and forms : Short Dump

    Hi All,
    When I try to execute Design Time for processes and forms - (tcode :HRASR_DT), I am getting below short dump.
    The following syntax error occurred in program
    "CL_HRASR00_DT_FSCN_PD_DATA====CP " in include
    "CL_HRASR00_DT_FSCN_PD_DATA====CM00E " in
    line 177:
    "The obligatory parameter "FORM_SCENARIO_VERSION" had no value assigned"
    " to it."
    Please suggest what could resolve this.
    Thanks.
    Tejas

    note: Note 1075650
    Re: Assertion_Failed dump when accessing Design Time for Processes & Forms EP3
    regards,
    Prakesh.

  • HT4972 I restore my Ipod touch but there is not any available upgrade for IOS and less IOS5

    I need a help: I restore my Ipod touch but there is not any available upgrade for IOS and less IOS5

    Which ipod do you have?
    ios 4.2.1 is the latest available for the 2nd gen.
    Identifying iPod models

  • Available updates for iphoto and imovie on apple store.

    My apple informs me that I have available updates for iphoto and imovie, however when I try to update them I receive a message that i can't do this because I do not have the major version. How to proceed?

    Welcome to Apple Support Communities
    Open Finder and go to the folder where these applications are. Then, move them to Applications folder. Finally, open the App Store and update them to the most recent version. If it doesn't work, see if they are hidden, and if they are hidden, unhide them > http://support.apple.com/kb/ht4928

Maybe you are looking for