Can I set the value of kernel paramaters less than default in Solaris 10?

Can I set the value of kernel paramaters less than default in Solaris 10? If specified less than default values for kernel parameters in /etc/system, system is getting default values for such as SHMMAX, SEMMSL, SEMOPM. Is the default kernel parameter values the minimum values in Solaris 10?
-Yong

Yes, but not through /etc/system.
/etc/system is the old way to do it. As a backward compatibility, it will allow lines there to increase parameters but not decrease them. This is on the theory that many memory defaults were significantly increased, and older /etc/system setups were trying to increase small defaults, not decrease large ones).
Use prctl and set up a project.
Darren

Similar Messages

  • Can I set the duration of slideshow photos less than 1 second?

    I want to create a slideshow on iphoto, but I want each picture to display for about .5 of a second. I want the slideshow to be really fast, with pictures flying by. It seems the only option is 1 second and above. Is there any way to make it faster than 1 second per picture?
    I have version 6 I believe.
    (It happens to be frozen right now, so I can't check for the exact version.)
    Thank you,
    -Jenn

    Jenn:
    You can't. The minimum time is 1 second. You might be able to use iMovie to create what you want but will not be able to have any transitions between slides.

  • How can I set the value to a session bean from backing bean

    Hi Experts,
    How can I set the value to a session bean from backing bean where I have created getter and setter
    methods for that variable.
    Basically I am using ADFUtils class where I am able to get the value from session bean
    using following expression
    String claimType =
    (String)ADFUtil.invokeEL("#{ClaimValueObj.getClaimType}");
    Thanks
    Gayaz

    Gayaz,
    Wrong Post !!
    Post in JDeveloper and ADF
    Thanks
    --Anil                                                                                                                                                                                                                               

  • Can I set the value of a list binding in my managed bean?

    Dear All,
    This is just an exercise for me and I just wanted to experiment on the bindings of ADF for me to understand it further.
    I wanted to create a custom Model Driven LOV with my data control listed below
    Countries
         -CountryId
         -CountryName..but I wanted to display the label similar to this
    1 - USA
    2 - England
    n - France..so I thought of manipulating the select items in a bean
    <af:selectOneChoice id="soc1" value="#{bindings.Countries.inputValue}">
      <f:selectItems value="#{pageFlowScope.MyBean.countries}" id="si1" valuePassThru="true"/>
    </af:selectOneChoice>..and the code similar to this
    public class MyBean{
         public List<SelectItem> getCountries(){
              //countryMap points to accessing the iterator binding
              //BindingsHelper is a utility class that sets the value
              for(...){
                   SelectItem item = new SelectItem();
                   item.setLabel(countryMap.get("CountryId") + " - " + countryMap.get("CountryName"));
                   item.setValue(countryMap.get("CountryId"));
                   list.add(item);
              //set the item to the first row
              BindingsHelper.setExpressionValue("#{bindings.Countries.inputValue}",
                                     list.get(0).getValue());
              return list;
    }...on the last part I wanted to set the value to the first item but I am encountering numberformatexception when setting the list binding.
    I know I can do this declaratively also by removing the unselected item but as I have said I am experimenting on the bindings.
    Is this not possible?
    Thanks.
    JDev 11G PS5

    Hi ,
    I understand that , you want to show select one choice (dropdown) with label (countyid - country name) and value is (countryid).
    and these informnation is coming from ADf Model ( may be a VO).
    in the UI page you used this list is coming from MyBean
    <af:selectOneChoice id="soc1" value="#{bindings.Countries.inputValue}">
    <f:selectItems value="#{pageFlowScope.MyBean.countries}" id="si1" valuePassThru="true"/>
    </af:selectOneChoice>
    so ,
    The Managed Bean code should be ,
    private List<SelectItem> countries;
    ///setter method
    public void setCountries(List<SelectItem> countries) {
    this.countries= countries;
    // getter method
    public List<SelectItem> getQuoteStatusList() {
    quoteStatusList =
    selectItemsForIterator("countriesVOIterator",
    "countryId", "countryName");
    return quoteStatusList;
    public static List<SelectItem> selectItemsForIterator(String iteratorName, String valueAttrName, String displayAttrName) {
    return selectItemsForIterator(findIterator(iteratorName), valueAttrName, displayAttrName);
    public static DCIteratorBinding findIterator(String name) {
    DCIteratorBinding iter = getDCBindingContainer().findIteratorBinding(name);
    if (iter == null) {
    throw new RuntimeException("Iterator '" + name + "' not found");
    return iter;
    public static List<SelectItem> selectItemsForIterator(DCIteratorBinding iter, String valueAttrName, String displayAttrName) {
    List<SelectItem> selectItems = new ArrayList<SelectItem>();
    for (Row r : iter.getAllRowsInRange()) {
    string labelValue = (String)r.getAttribute(valueAttrName) +"-"+ (String)r.getAttribute(displayAttrName);
    selectItems.add(new SelectItem(r.getAttribute(valueAttrName),labelValue ));
    return selectItems;
    this will give you what you except in the ui
    when you try to get the value form that seclecOneChoice value in MyBean what user selects , you can simply get the value of this selectOneChoice.

  • Can not set the value attribute of a ContextNode

    Hi,
       I am trying to set the value Attribute in a value Node it is a simple way but it gives me java.lang.NullPointerException error on the given line:
    wdcontext.current(ValueNodeName)Element.set(AttributeValueName)
    Thanks in advance
    Best Regards
    Beata

    Like all above suggested do this:
    wdContext.node(ValueNodeName).add(
               wdContext.node(ValueNodeName).create(ValueNode)Element()
    wdContext.node(ValueNodeName).moveLast();
    wdContext.current(ValueNode)Element().setATTR(..);

  • Can I set the values number of the parameter LOV?

    Hi.
    Can I set a number of values in a report prompt LOV? Now is 5 values (All + 4 values of the query). I would like to have 4 o 3 values...
    Thank you, bye.
    R.

    Can you please restate your question? It is not clear you would like to get
    regards
    Jorge

  • How can i set the values to text box by selecting from drop down list.

    hi ,
    i am using struts and jsps. i have a dropdown list of names(getting the values of names from database), i want to get address and phone number of that selected one.how can i get that?

    Hi swarupa,
    Well My advice in this senario wud Be
    Either U can make Use of XmlHttp Object through javascript(AJAX way).
    Or U need to Maintain the State of the entire form and then refresh the page to get those results....
    just for U r reference i am attaching a link which was programmed using ASP @ server side and which made use of XmlHttp Object.....
    http://www.w3schools.com/ajax/ajax_database.asp
    Just try to simulate the samething in your own way....
    REGARDS,
    RAHUL

  • Can you set the value of a div from a select statment?

    Hi all
    I have a div that is used as Tool tips for a cell in a table, is there an easy way to set the text in that div to the result of a select statement?
    Appreciate the Help
    LT

    select ename, '<div '||style||'>'||htf.escape_sc(description)||'</div>' description
    from some_table
    was this what your asking. You need to not escape special characters so the div tag acts as HTML in your report. The data is escaped using a PL/SQL function.
    Is this what your asking?
    Mike

  • Can we set the value of repository variable if we invoke bi publisher

    report from Java. The parameter report is built in java they will pass all the parameters and based on the filter critirea
    bi publisher report will be generated

    Hi, this may not be relavent for you but, as I see you are working with BI pub and OBIEE I thought to share my issue.
    We have set up OBIEE and BI Pub. When I create a Answer without any prompts it works fine in BI pub and create a template. But, when I have a Answer with prompts and use the same Answer in BI pub, it throws an error and I cannot proceed to create templates.
    We did open a SR with metalink (oracle) but they say its the behaviour of BI pub/OBIEE. They want us to create a BI pub report and use the same in OBIEE, which is not what we are looking for.
    Anyways, this is just an FYI.
    Thanks,
    Vijay

  • Can we set the value of repository variable in bi publisher as we do in

    dashboard prompt.. and if yes then how

    Hi, this may not be relavent for you but, as I see you are working with BI pub and OBIEE I thought to share my issue.
    We have set up OBIEE and BI Pub. When I create a Answer without any prompts it works fine in BI pub and create a template. But, when I have a Answer with prompts and use the same Answer in BI pub, it throws an error and I cannot proceed to create templates.
    We did open a SR with metalink (oracle) but they say its the behaviour of BI pub/OBIEE. They want us to create a BI pub report and use the same in OBIEE, which is not what we are looking for.
    Anyways, this is just an FYI.
    Thanks,
    Vijay

  • Can I set the Increment/​Decrement to not visible by default?

    The Increment/Decrement attachment to ALL the Numeric controls is a nuisance.  Give me a palette that does not have the Increment/Decrement visible by default and my life will be MUCH better.  I would not mind clicking on a check box if it was needed. 
    How can I make it NOT visible by default?
    Solved!
    Go to Solution.

    Thanks,
    It took me a while but I got it done!  I use the Modern style so it is not that easy as it would be with Silver.  I just think Silver looks 'Bloated'.
    Now I don't have to turn off that check mark everytime i place a numeric control!  YEA

  • Create Report Layout (Apex 3.2) - How can I set the substitution variables?

    Hi,
    I created a "Report Query" under "Shared Components". I now want to work on the corresponding "report layout". I created a "Generic Columns (XSL-FO)". I read the following in the documentation:
    The following are valid substitution strings:
    #PAGE_HEADER#
    #PAGE_HEADERFONT_COLOR#
    #PAGE_HEADER_FONT_FAMILY#
    #PAGE_HEADER_FONT_SIZE#
    #PAGE_HEADER_FONT_WEIGHT#
    #PAGE_FOOTER#
    #PAGE_FOOTER_FONT_COLOR#
    #PAGE_FOOTER_FONT_FAMILY#
    #PAGE_FOOTER_FONT_SIZE#
    #PAGE_FOOTER_FONT_WEIGHT#
    #PAGE_WIDTH#
    #PAGE_HEIGHT#
    #HEADER_BG_COLOR#
    #HEADER_FONT_COLOR#
    #HEADER_FONT_FAMILY#
    #HEADER_FONT_SIZE#
    #HEADER_FONT_WEIGHT#
    #BODY_BG_COLOR#
    #BODY_FONT_COLOR#
    #BODY_FONT_FAMILY#
    #BODY_FONT_SIZE#
    #BODY_FONT_WEIGHT#
    #BORDER_WIDTH#
    Where can I set the values for these substitution variables in my "Report Layout"? Could someone give an example? I can't seem to find documentation on this.
    Thanks!
    Francois

    Thanks for the tip however I'm not trying to do this through the print tab, I'm calling the report using the following get_print_document in pl/sql code:
    l_report_blob := apex_util.get_print_document(
    p_application_id => l_application_id,
    p_report_layout_name => l_report,
    p_report_query_name => l_report,
    p_report_layout_type => l_output_format,
    p_document_format => l_output_format,
    p_print_server => null);
    Where could I set these substitution variables ? I'm simply calling a report query and layout created under Shared Components.
    Thanks
    Francois

  • Setting the value of a java variable in javascript function

    How can i set the value of a java variable in a javascript function?
    <%
    String fName = "";
    %>
    now i want to define a javascript function which can set the value of fName to the value it has been passed.
    <script language="javascript">
    function setJValue(val)
    </script>
    Thanks

    The only way you could simulate this, would be call the same page inside the Javascript function, and send it the parameter that was passed. Then you would have your Java code retrieve this parameter by request.getParameter("value");, and set the variable accordingly.

  • Can't set comboBox value that has valueMember / displayMember

    Hello All,
    I'm working on a project where I'm dynamically building a form according to a configuration schema. I'm pretty new at C# and got the following issue I can't get sorted out . 
    Any help, advise would be great !!!
    When building a ComboBox I can't set the value I want !!
    Probably I'm missing something.
    I've tried several methods but nothing does it ... below my code.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    namespace ComboBoxSample
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    CreateComboBox();
    public void CreateComboBox(){
    //Working variables
    string valueMember = "idColumn";
    string displayMember = "valueColumn";
    //Create a panel and add to the form
    TableLayoutPanel tlp = new TableLayoutPanel();
    this.Controls.Add(tlp);
    //Create the data source
    DataTable dataTable = new DataTable();
    dataTable.Columns.Add(valueMember, typeof(string));
    dataTable.Columns.Add(displayMember, typeof(string));
    dataTable.Rows.Add("A", "value A");
    dataTable.Rows.Add("B", "value B");
    dataTable.Rows.Add("C", "value C");
    //Create a binding source
    BindingSource bindingSource = new BindingSource(dataTable, null);
    //Create a comboBox and bind the datasource
    ComboBox comboBox = new ComboBox();
    comboBox.DropDownStyle = ComboBoxStyle.DropDownList;
    comboBox.DataSource = bindingSource;
    comboBox.ValueMember = valueMember;
    comboBox.DisplayMember = displayMember;
    Try and set the value
    //No methode displays B --> combo stays on A
    comboBox.SelectedValue = "B";
    //comboBox.Text = "value B";
    //comboBox.SelectedItem = comboBox.FindStringExact("value B");
    //add the controles to the panel
    tlp.Controls.Add(comboBox, 0, 0);

    Hi Viorel_,
    Thanks for the reply!!
    The  setting the value in the form's Load event does work!
    I agree for the form designer but it does not fit the need.
    What I have is a "meta-data" driven logic where I define a screen that matches database fields:
    Example : Screen new person has 5 fields : Gender (combobox) , first name (textbox) , last name (textbox) , type (combobox) ,birthday (datetime)
    I have a Form derived class that takes this definition and builds each control at run time.
    The definition also comes with potential default values (i.e. :type = client) so what I want to do is affect the value on the fly. This works fine with textbox or datetime. I'm trying to do the same for combobox.
    Maybe I got this all wrong from a design point of view.

  • Can I use a inputHidden for javascript values that doesn't set the value?

    I have a hiddenInput field for each row in a datatable so I can restore default values to a date field with a javascript function. I am getting conversion errors because I don't have the right setters in the backing object - and I really don't want to put them there - but I don't want the tag to set the values! Is there any way to just set a hidden value somewhere for each row of a datatable but not have it try to set the value? Thanks in advance!

    I just realised that won't work because all the HTML tags will have the same name, whereas I need the dynamically generated suffix that a dataTable assigns to every element in the row i.e. '_id34', so I can reference the value in the javascript and compare it to entered values. Any more ideas? I am having huge memory problems when I'm submitting my form too, using up 2GB of mem and then dying! I'm not sure what's causing it, because it doesn't get as far as my action method code before it dies! It works for smaller tables but I need to be able to handle ~20 users with tables 4x the size I can process now without running out of memory :( Any help would be really really appreciated!!

Maybe you are looking for