Alter number of CPU's used by Solaris

Regarding a performance test being done on some databases running on Solaris 10, I'd like to alter the number of CPUs being used by the system. Currently there is 4 CPUs available and all are used, but I'd like that only 2 of them are to be used. (Physically removing the CPUs is not an option:))
Is this possible, and if so: how?
Thanks in advance :)

You can offline 2 of the 4 CPUs.
Check out psradm(1M).
Hope this helps.

Similar Messages

  • How do i count number of table being used in a view

    Hi All,
    I will be really thankful if anyone please let me know about the count of number of tables being used in a view. I am using Oracle 10g Release 2 on HP-UX(11.31).
    In actual I have to find views in my database with more than 5 table in join.
    Thank you
    Gursimran

    Try :
    select count(*) from dba_dependencies
    where name ='<view name>'
    and owner = '<view owner>'
    and referenced_type= 'TABLE';Example:
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> show user;
    USER is "HR"
    SQL>
    SQL> drop table t1 purge;
    Table dropped.
    SQL> drop table t2 purge;
    Table dropped.
    SQL> drop table t3 purge;
    Table dropped.
    SQL> drop view v;
    View dropped.
    SQL>
    SQL> create table t1(x int);
    Table created.
    SQL> create table t2(y int);
    Table created.
    SQL> create table t3(z int);
    Table created.
    SQL> create view v as select x,y,z from t1,t2,t3;
    View created.
    SQL>
    SQL> connect / as sysdba
    ConnectÚ.
    SQL> alter session set nls_language=english;
    Session altered.
    SQL>
    SQL> select count(*) from dba_dependencies
      2  where name ='V'
      3  and owner = 'HR'
      4  and referenced_type= 'TABLE';
      COUNT(*)
             3
    SQL>Edited by: P. Forstmann on 26 juil. 2010 17:45

  • Need guidance on using ddi_regs_map_setup solaris system call

    Hi all,
    Am a beginner in using Sun Solaris.
    I am working on porting our source code from linux to solaris.
    In Linux we are using inb/outb to read/write to keyboard data port(0x60) .
    I know that there is an equivalent system call for inb/outb in solaris. But in man page(of sun os) it is mentioned that inb/ outb are obsolete. It was mentioned that we can use ddi_get8/ddi_put8 functions respectively.
    ddi_get8 call requires ddi_acc_handle_t as a parameter which we can get it from ddi_regs_map_setup system call.
    Syntax for this call is:
    int ddi_regs_map_setup(dev_info_t *dip, uint_t rnumber,
    caddr_t *addrp, offset_t offset, offset_t len,
    ddi_device_acc_attr_t accattrp, ddi_acc_handle_t handlep);
    Please let me know where does the 0x60 port number fits in the above system call and what does these parameters rnumber, offset, len corresponds to ?

    Hi,
    The Fault_PC 0x13575e8 tells you exactly where you
    die. I assume you have used this in mdb on
    the core file to find you are dying in the ddi_get8 call?
    Are you checking return value of ddi_regs_map_setup?
    Are you sure the register you are accessing is in register set 1?
    Are there other places prior to the panic where
    the ddi_get/ddi_put routines work correctly? A bus error
    here generally means the location you are trying to access
    does not exist on the device. (It could also be alignment,
    but not with ddi_get8). The address
    looks like 1fe.02001400, which looks like a possibly
    valid address in I/O space.
    I would print the value of wc->ioaddr to make sure
    it is a valid virtual address.
    Hi,
    I'm in the middle of porting a device driver for a
    PCI card from linux to solaris (it's wcfxo from
    zaptel - part of asterisk).
    >
    WARNING: [AFT1] Bus Error on System Bus in privileged
    mode from CPU0 Data access at TL=0, errID
    0x0000000b.985ccf88
    AFSR 0x00000000.84000000<PRIV,BERR> AFAR
    AFAR 0x000001fe.02001400
    AFSR.PSYND 0x0000(Score 05) AFSR.ETS 0x00
    0x00 Fault_PC 0x13575e8
    UDBH 0x0000 UDBH.ESYND 0x00 UDBL 0x0000
    0000 UDBL.ESYND 0x00
    panic[cpu0]/thread=2a10007dd40: [AFT1] errID
    0x0000000b.985ccf88 BERR Error(s)
    See previous message(s) for detailsThe actual code which seems to cause the panic is:
    #define inb(a)          ddi_get8(wc->devhandle, a)
    ints = inb(wc->ioaddr + WC_INTSTAT);where there initialisation includes:
    static struct ddi_device_acc_attr dev_attr = {
    DDI_DEVICE_ATTR_V0,
    DDI_STRUCTURE_LE_ACC,
    DDI_STRICTORDER_ACC
    ddi_regs_map_setup(wc->dip, 1, &wc->ioaddr, 0, 255,
    &dev_attr,
    &dev_attr, &wc->devhandle);I've tested the same card in a linux x86 box, and it
    works fine, so I'm happy it's not a hardware
    problem.
    Any suggestions on what might be causing this?
    Thanks,
    Simon

  • Flash Media Server 3.5/number of CPU

    How many number of CPU cores Flash Media Server 3.5 supports?

    Hi,
    You could refer to the EULA located at the FMS install directory/License.htm.
    So in short to install FMSS you could use up to 4 CPUs and to install FMIS you are allowed to use upto 8 CPUs.
    The section 2.8.5 states:
    2.8.5.         License Limit.  Licensee shall only use the Software corresponding to the licenses for the Software that Licensee has purchased.  Licensee is permitted to install the Streaming Server on a single Computer or Virtual Server containing up to 4 CPUs. Licensee is permitted to install the Interactive Server on a single Computer or Virtual Server containing up to 8 CPUs.  In the event that Virtual Servers are installed on a Computer, each such Virtual Server shall be deemed to operate the Software on 2 CPUs (each, a “Virtual Server CPU”), and the total number of Virtual Server CPUs plus the total number of physical CPUs on such Computer, shall be counted together for the purpose of applying the limitations set forth in this Agreement. For all the Software licensed hereunder, if Licensee exceeds the limitations set forth herein on a single Computer or Virtual Server Licensee must purchase another license to the Software, and such additional license shall permit up to permitted number of additional CPUs (including Virtual Server CPUs) in such Computer or Virtual Server.
    Thanks
    Mamata

  • How to get page number from the PDF using Javascript

    Hi,
    We are having list of Single page PDF. The pdf are named in the order,
    ISBN_Author_01.PDF  (with real page number as i)
    ISBN_Author_02.PDF  (with real page number as ii)
    ISBN_Author_03.PDF  (with real page number as iii)
    ISBN_Author_04.PDF  (with real page number as 1)
    ISBN_Author_05.PDF  (with real page number as 2)
    ISBN_Author_06.PDF  (with real page number as 3)
    ISBN_Author_nn.PDF  (with real page number as 500)
    Here each pdf has a page number and in sequential order.
    The task is to check whether all the pdfs are in sequential order (i.e i, ii, iii, 1, 2, 3). If any page is missing, the script should throw an error report.
    To do this task, I am writing a Javascript to get the real page number from the PDF.
    Can anybody help me how to get the page number from the PDF using Javascript.
    Thanks,
    Gopal

    The "real" page number within a PDF is the count of the physical page starting at 0, zero.
    pageNum numPages
    The number printed on each page is the page label.
    setPageLabels  getPageLabel
    You will have to open each PDF and your script would need to know the page label for that file. I would expect you would need to build a 2 dimensional  array of the file names and the page label for the page within that array.

  • How do I get my messages to come through on my ipad Via my mobile number? They always used to but I've had to change all my Apple ID if that has anything to do with it? In iMessages it will only take an email address!

    How do I get my messages to come through on my ipad Via my mobile number? They always used to but I've had to change all my Apple ID if that has anything to do with it? In iMessages it will only take an email address!

    Hi EmilyWick123!
    Here is an article that will help you address this question about linking your Apple ID and phone number:
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/ht5538
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • How to restrict number of rows display using ig:gridView

    Hi
    All
    How to restrict number of rows display using <ig:gridView datasource="{mybean.mylist}">
    i am getting 10 rows using data_row . i wanna show only first 5 rows .
    pageSize ="5" will be ok . but it displays remaining rows in next page. but i want to display only first 5 rows . is there any attribute to restrict number of rows.
    thanks
    rambhapuri

    I have no idea which component you're talking about. If want to discuss here about a non-Sun JSF component, then please mention about the name, version and build in detail. You can also consider posting this question at the website/forum/mailinglist of the component manfacturer rather than here. At least I can tell you that the Sun JSF h:dataTable has the 'rows' attribute for that. I can also suggest you to just take a look in the TLD documentation of the component in question. There should be all possible attributes listed with a detailed explanation about the behaviour.

  • WHAT ABOUT FACE TIME?  I'D LIKE TO KNOW IF YOU NEED A PHONE NUMBER FOR YOURSELF TO USE IT TO CALL FROM YOUR COMPUTER

    WHAT ABOUT FACE TIME?  I'D LIKE TO KNOW IF YOU NEED A PHONE NUMBER FOR YOURSELF TO USE IT TO CALL FROM YOUR COMPUTER

    Do you have iMessage? I think as long as that person has iMessage you can use Face Time to call each other.

  • Get IDoc-number from flat IDoc using dynamic configuration

    Dear experts
    In an IDoc2File scenario I have added the IDoc-number to dynamic configuration using the folling code in an UDF:
    DynamicConfiguration conf = (DynamicConfiguration)
    container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey FileName = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","DOCNUM");
    conf.put(FileName, a);
    The information is stored in the SOAP message
    <SAP:DynamicConfiguration SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="DOCNUM">0000000000012345</SAP:Record>
    </SAP:DynamicConfiguration>
    Can anybody tell me how I can access this information in the "variable substitution" section of the CC? Perhaps something like "message:docnum"?
    Additional information:
    Taking the IDoc-number from the payload using e.g. "payload:ORDERS05,1,IDOC,1,EDI_DC40,1,DOCNUM,1" does not work, since the XML-IDoc has been converted to an flat-IDoc.
    Thanks in advance for any good ideas
    Markus

    Dear Rodrigo and Sarvesh
    Thanks for your help so far! I applied your hints and now it is working fine.
    But now I have the following additional questions
    1.) My message mapping only maps the input IDoc to an output IDoc of the same type and structure. The MM is only required to process the UDF. Is there another, better solution to achieve my requirement that the IDoc-number shall be part of the filename?
    2.) In the CC you have the possibility to use temporary files (section "Processing", Option "Put File" = "Use Temporary File". I think this will not work with the given solution, will it?
    To possibly help somebody else or clarify the mechanism once again, I wrote down how my solution now looks like.
    My UDF in the message-mapping looks like this
    - Input = DOCNUM of IDoc, e.g. ORDERS05/IDOC/EDIDC/DOCNUM
    - Outpt = DOCNUM of IDoc, e.g. ORDERS05/IDOC/EDIDC/DOCNUM
    - UDF:
    public String putDynamicConfiguration(String docnum, Container container) throws StreamTransformationException{
    try
         DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
         DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
         String filename = "Prefix_" + docnum + ".txt";
         conf.put(key, filename);
         return docnum;
    catch (Exception e)
         return docnum;
    In the CC the settings are now as follows
    File Name Scheme = . -> only a dot or something else, because this field is obligatory, even if it is not used in this case.
    Variable substitution (...)
        Enable -> unchecked
    Adapter-Specific Message Attributes
        Use Adapter-Specific Message Attributes -> checked
        Fail If Adapter-Specific Message Attributes Missing -> checked
        File Name -> checked
        Directory, File Type, Temporary Name Scheme for Target File Name -> unchecked
    When I send an IDoc to PI and view the Adapte-Engine Version of the message (the SOAP-document, not the payload) I can find the Filename:
    <SAP:DynamicConfiguration SOAP:mustUnderstand="1">
    <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">Prefix_0000000000012345.txt</SAP:Record>
    </SAP:DynamicConfiguration>

  • My iPhone will not send an iMessage. It sends everything as SMS. I have ensured that my Apple ID is signed in and that my phone number is enabled for use in both FaceTime and iMessage

    My iPhone will not send an iMessage. It sends everything as SMS. I have ensured that my Apple ID is signed in and that my phone number is enabled for use in both FaceTime and iMessage

    I had the same problem. I went in and added my email address to iMessage and deleted the text to my friends that have iPhones and sent another to test it and it worked. Only thing is now my non iPhone friends don't receive my pic text. I had to turn off iMessage for it to work. Apple needs to fix this ASAP!

  • Max. Number of connections in use Nokia N93

    Hi
    I am trying to connect to wireless router using WEP. I have configured the access point and when I try to connect with Opera Mobile 3.6 an error occurs:
    Max. Number of connections in use. Close na active connection first.
    Note that my phone is not woring in dual mobe but GSM only.
    When I try connecting with the Phone's browser:
    WLAN: Unable to connect. WLAN Network not found
    Lumia 920 OS version: 8.0.10521.155
    FW revision number: 3047.0000.1326.2002

    Every time you up-date the firmware, you get from your network opperator the settings for various access points (Internet, MMS, Vodafone Live, whatever....) This leads to duplicates (or even mode) access-points. Moreover, some of these access points are saved as "default" access point in various applications. This is where the mess starts.
    To clean-up the mess, you first have to REMOVE all duplicate access points and keep only one access point for each purpose: Internet connection, MMS, Live (if you are are on Vodafone), etc. After this, you will probably get messages from various applications to define a new default access point. And things will be sorted our automatically.
    Hope this helps, even though it might not be simple for some.
    2110i, 6150, 6210, 6310i, 6670, 9300, 9300i, E90, E72, HTC Touch Pro2, Samsung Galaxy S, Samsung Galaxy S II

  • What is the model number of the processor used in MacBook Pro 13 inch late 2011 ?

    What is the model number of the processor used in MacBook Pro 13 inch late 2011 ?

    Click on the Apple logo in the upper left corner of your screen and select About This Mac. Click on the More Info...  button and you should see what your processor is.

  • Maximum number of connections in use. Close an act...

    Hi everyone.
    I try to connect my N95 to internet, using "One Touch Access" and USB. It used to be working ages ago! but now, it is impossible. it gets connected with the phone, but when i want to open a web page, it say "maximum number of connections in use. Close an active connection first", and forces me to close my Modem connection, and everything gets disconnected...
    what should i do????
    help please...

    97268450 wrote:
    when i open face book application,the same problem maximum number of connection in use. Close an active connection first. i have nokia 5233
    This issue was already answered by other threads. You can click here and  here for more information.
    Hope this will help you.

  • Maximum number of connection in use. Close an acti...

    When I am using nokia maps . A popup message comes in as (maximum number of connection in use . Close an active connection) and an option yes or no . When I press yes . The active connections are displayed there are only one active connections when it is disconnected . An another message comes in as connection needed to continue nokia maps . And when use no message popup again and again and I can't use maps .... I have formatted phone memory and memory card several times and I have updated phone program also . Can you please help me .
     i am using Nokia 5800xpressmusic . model-5800d-1.
                                                                             tankyou
    Solved!
    Go to Solution.

    Hi virajkumar
    Please bear in mind two processes involved here, OVI Maps application which may either be "Online" or "Offline" (spanner icon > Internet > Connection) and Assisted GPS feature utilizing a network access point (Menu > Applications > Location > Positioning > Positioning server > Access point). 
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • How to reduce the number of data blocks used by table

    Hi,
    I was trying to reduce the space usage of a particular table of my apex application which stores blob content and therefore deleted many records from it.
    However, the data block usage remained the same as before.
    I have tried to 'analyze' the table and validate the structure,but am unable to overcome this problem.
    Could someone throw some light on what needs to be to reduce the number of data blocks used by this table?
    Best Regards,
    Priya Jetley

    Priya:
    It is likely that the BLOB content defined in your table is being stored 'Out-of-Line'. This means that the LOB columns are stored in segments of their own. These then are the segments that may need shrinking.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14249/adlob_tables.htm#i1006363
    Varad

Maybe you are looking for

  • How do I synch all my Iphone info to my computer

    How do I synch all my Iphone info to my Computer? Thought i had lost my Iphone yesterday.

  • Want update so bad. Stressed out :( Please help!

    Hey guys. So I got this iPod 4G in the mid of summer, and my uncle helped me set it up. He also set up a thing called iCloud. Well a couple weeks ago, I got a notification saying that my iPod was able to get the iOS 6 update, but I needed at least 2.

  • Just Upgraded to iTunes 8.2 - it Duplicated ALL my songs

    After upgrading to iTunes 8.2, it Duplicated my ENTIRE library, so now I have an extra 6700 songs. Can someone help me remove all of the duplicates? I noticed that there were some programs out there, but I don't know which ones work and which may hur

  • Object Link of DIR

    Hi Gurus I know that when you wanna upload a original of other module like MM, SD, PS... you have to do following steps: - Create a master data in other module - Create a document in CV01N - Attach some original application file - Use object link to

  • ALE Error Handling Issues

    Hi Experts: For instance, A company distribute PO to B company SO by ALE Order (ORDERS).When sales order creating, IDOC will diaplay error message if some missing in material master ,but it shows 1 issue once only. Suppose that there are 4 missing in