Change name of JVM when listed by 'ps' command

Is it possible to change the name of the Java VM running on Solaris which appears when using the "ps" command?
If so, how is it done?

does this apply for linux and the top command as well, Don't know. 'top' in Solaris usually displays running processes and isn't really the same as ps. Does top display the command line or the executable? If the latter it won't help.
and is there a way to give different "names" to threads created within a java application?I doubt it. In linux the threads are displayed as processes and I presume you want to 'name' those. And that isn't possible.

Similar Messages

  • Change name of publishedcollection when creating or editing

    I need to change the name of the publishcollection when the collection is created or edited. This is to make sure the collection name matchs the name of the one on the remote server. I have tried the following code and it executes ok, but in the end the name of the collection is not changed.
    here is the code
    function publishServiceProvider.updateCollectionSettings( publishSettings, info )      
        local colname = "This is my new collection name"
        LrLibLogger.outputToLog( colname )
        catalog:withWriteAccessDo( "Set name", function ()
            info.publishedCollection:setName( colname )
            LrLibLogger.outputToLog(info.publishedCollection:getName()) -- outputs the old name and not the new one
        end)  
    end
    After running this the collection name is still the old one.

    Hi Allen,
    I've tested your second version of your code, and although I can't find why the name isn't fixed, I get an error, only when creating a new collection:
    "We can only wait from within a task"
    I found this at the Adobe documentation for pubCollection:getName():
    "This function must be called from within an asynchronous task started using LrTasks. Must not be called from within the same catalog:with___WriteAccessDo gate in which the collection object was created."
    I'm very new to Lua and LR development, but I hope this helps.
    Regards,
    Juanma

  • How to change names in "favorite servers" list of Connect-to-Server

    I've got a bunch of often-used servers saved in the list that shows up when I do "apple-K" (Finder's "Connect to Server"). but they're entered as IP addresses; I'd like to rename them so that I can actually recognize which one is which without having to look up the IP address in a list. Is there any way to customize this list to edit how the various frequently-used servers appear there?
    Mike

    The simplest solution would be to remove the server connections you don't want, then just re-connect to them using the name.
    The recent servers are stored in ~/Library/Recent Servers/ and you can selectively remove them from there.

  • Change names in previous recipients list?

    Many of the items in my previous recipients list have no name, only the person's email address and the last used date. Is there any way I can enter the names in the blank space? Or any way to export, edit, and reimport? I don't want to send all these to my address book and have to work on them there. Thanks.

    Greetings,
    No, you can't enter any information in that window; you can only delete them or put them in your Address Book and add a name there.

  • When i double click on Mac HD the view has changed and my user name is no longer listed on the left. How can I reset this

    When i double click on Mac HD the view has changed and my user name is no longer listed on the left. How can I reset this?

    Do a factory reset .. nothing will be deleted from your backups and you will be able to get access to them again.
    The Factory Reset Gen1-4.
    Unplug your TC. Hold in reset. and power the TC back on.. without releasing reset for about 10sec. When the status light flashes rapidly; release it.
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC will reboot after a couple of minutes with default factory settings and will wipe out previous configurations.
    No files are deleted on the hard disk.. No reset of the TC deletes files.. to do that you use erase from the airport utility.

  • How to Get checkbox value when List value changed in classic report

    hi ,
    i worked with apex 4.2 and i create normal classic report with one checkbox column and one column change it to select list(named loved) now i want when user change list
    take value of checkbox item and show it in message .
    SQL for report
    SELECT
    '<INPUT TYPE="checkbox" NAME="f01" VALUE="'
    ||SEQ
    ||'">' SEQ,
    ID,
    DEPT_NO,
    EMP_NAME} i change the column attributes of Dept_NO to Display as Select list of department name (named lov).
    now i want when user change name of department the value of SEQ SHOW IN ALERT MESSAGE
    i create JavaScript on the page
    function test(pThis) {
    var f01_value = $('select[name="f01"]').value;
    alert('#SEQ : '+ f01_value);
    </script>
    I call this javascript function when list change but the value undefined..
    My Question :
    How can get this value Or any value of item in reports
    regards
    Ahmed

    Hi Ahmed,
    >
    i worked with apex 4.2 and i create normal classic report with one checkbox column and one column change it to select list(named loved) now i want when user change list
    take value of checkbox item and show it in message .
    SQL for report
    SELECT
    '<INPUT TYPE="checkbox" NAME="f01" VALUE="'
    ||SEQ
    ||'">' SEQ,
    ID,
    DEPT_NO,
    EMP_NAME} i change the column attributes of Dept_NO to Display as Select list of department name (named lov).
    >
    You should not create checkboxes like this. Either use the APEX_ITEM.CHECKBOX2 API or change the Column Type to Simple Checkbox.
    >
    now i want when user change name of department the value of SEQ SHOW IN ALERT MESSAGE
    i create JavaScript on the page
    function test(pThis) {
    var f01_value = $('select[name="f01"]').value;
    alert('#SEQ : '+ f01_value);
    </script>
    >
    name="f01" returns an array, what you need is single element value.
    Try
    <script type="text/javascript>
    function test(pThis) {
      var f01_value = $v(pThis);
       alert('#SEQ : '+ f01_value);
    </script>
    {code}
    {quote}
    I call this javascript function when list change but the value undefined..
    My Question :
    How can get this value Or any value of item in reports
    {quote}
    Depends in how you are invoking/triggering the change event. Are you using DA or have you written an "onchange" event on the element?
    Cheers,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • WHEN-LIST-CHANGED Triggers Works Only Once ??

    hi
    i have a form with the 2 list ITEMS
    And i have some trigger WHEN-LIST-CHANGED For the
    first LIST item which Populates the Second List
    Based on the Value selected in First List
    Its Works Fine For the First time.
    But for second time Onward , it Does change the Value of the items in List2.
    Do i have to first clear and then repopulate, i tried this but then i get a total
    Blank , please help.
    jai

    From one of our support notes:
    List Items populated from Record Groups are extremely useful when you need to
    give your users a choice of items to choose from. This note will show you how
    to create two list items that have a "master-detail" relationship, i.e., the
    items appearing in the "detail" list item will depend on what is chosen in the
    "master" list item.
    CREATING THE LIST ITEMS
    Create two list items called DEPT_LIST and ENAME_LIST. Allow them to remain
    the default type of List Item, Poplists. For this situation we will not make
    them base table items. Go to the property pallet of each list item, click on
    the elements in list property and choose more. The cursor should be in the
    very topmost item under List_Elements. Depress CTRL+SHIFT+< to remove this
    default element and depress the OK button. Since you are going to populate the
    list item with RG values at runtime you do not need this element. This will
    avoid an "FRM-30351: No list elements defined for list item" error when
    running the form.
    CREATING THE RECORD GROUPS
    For this example, we will use the dept and emp tables. We have a choice of
    creating the Record Groups (RG) dynamically at runtime or at design
    time. In this case, the easiest option is to create them at design time.
    First create a RG called DEPT_GROUP with the following select statement:
    SELECT TO_CHAR(DEPTNO) A,TO_CHAR(DEPTNO) B
    FROM DEPT
    If you are unfamiliar with the structure of the RG required when it will be
    used to populate a list item please note the following:
    1. A list item has both a label and a value. For this reason the select
    statement brings back two fields, one which will be the label name and the other
    the label value.
    2. TO_CHAR is used to convert numeric values to character as the list item
    contains character values.
    Second, create a RG called ENAME_GROUP with the following select statement:
    SELECT ENAME A, ENAME B FROM EMP ORDER BY ENAME
    Note that depending upon your applications logic you may want to use the
    distinct operator to prevent duplicate names. But you should be aware that
    this will result in the overhead for sorting. Also, since ENAME is a VARCHAR2
    data type, the to_char function is not needed.
    POPULATING THE GROUPS AND LIST ITEMS
    You can populate the RGs and list items from a number of triggers but the most
    common is the WHEN-NEW-FORM-INSTANCE trigger. Place the following code in this
    trigger:
    DECLARE
    V_DEPT_GROUP NUMBER;
    V_ENAME_GROUP NUMBER;
    BEGIN
    V_DEPT_GROUP:=POPULATE_GROUP('DEPT_GROUP');
    V_ENAME_GROUP:=POPULATE_GROUP('ENAME_GROUP');
    POPULATE_LIST('DEPT_LIST','DEPT_GROUP');
    POPULATE_LIST('ENAME_LIST','ENAME_GROUP');
    END;
    Note that this code is needed to initially populate both RGs and both List
    Items.
    If you run the form at this time you will see that DEPT_LIST contains all the
    departments in Dept and ENAME_LIST contains ALL the enames in the emp table.
    As our original goal was to populate ENAME_LIST depending upon what was chosen
    from DEPT_LIST, we will now add the code to do this. In this situation we will
    add the code to a WHEN-LIST-CHANGED trigger on DEPT_LIST. The code should
    look as follows:
    DECLARE
    V_NUMBER NUMBER;
    V_QUERY VARCHAR2(512);
    BEGIN
    V_QUERY:='SELECT ENAME A, ENAME B FROM EMP
    WHERE DEPTNO = '||:DEPT_LIST||' ORDER BY ENAME';
    V_NUMBER:=POPULATE_GROUP_WITH_QUERY('ENAME_GROUP',V_QUERY);
    POPULATE_LIST('ENAME_LIST','ENAME_GROUP');
    END;
    First we will build a query that will contain the currently chosen department
    in DEPT_LIST. This is basically the same query we created in RG ENAME_GROUP
    but we are adding the where clause restriction. We then use the
    populate_group_with_query built-in to repopulate the RG and then populate the
    list again.
    Run the form again and test. Choose department 10 from the DEPT_LIST list item
    and then choose the ENAME_LIST item. You will note that the enames appearing
    in ENAME_LIST will be those in department 10. This should work for any
    department you choose.

  • How to change the default password file's name and path when the database created?

    how to change the default password file's name and path when the database created?
    null

    Usage: orapwd file=<fname> password=<password> entries=<users>
    where
    file - name of password file (mand),
    password - password for SYS and INTERNAL (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
    There are no spaces around the equal-to (=) character.

  • When I bootup the icon for Elements shows up in orange.  It changes to green only when I've gone to Finder and clicked on Elelments under the Devices list.  This is a recent development.  The icon used to be green upon bootup.  Does anyone know why ?

    When I bootup the icon for Elements shows up in orange.  It changes to green only when I've gone to Finder and clicked on Elelments under the Devices list.  This is a recent development.  The icon used to be green upon bootup.  Does anyone know why ?

    I'm sorry to hear that.
    I'm not affiliated w/ the developer, just a happy user that gave up fighting the apple podcast app a while ago.  I used to have a bunch of smart playlists in itunes for my podcasts, and come home every day and pathologically synced my phone as soon as I walked in the door, and again before I walked out the door in the morning.
    Since my wife was doing this too, we were fighting over who's turn it was to sync their phone.
    Since I've switched to Downcast, I no longer worry about syncing my phone to itunes at all.  I can go weeks between syncs.
    Setup a "playlist" in downcast (ex., "Commute") and add podcasts to that playlist.  Add another playlist ("walk" or "workout") and add different podcasts to that one. 
    Set podcast priorities on a per-feed basis (ex., high priority for some daily news feeds, medium priority for some favorite podcasts, lower priority for other stuff).  Downcast will play the things in the priority you specify, and within that priority, it will play in date order (oldest to newest).
    Allegedly, it will also sync your play status to other devices, although that is not a feature I currently use and can't vouch for.  It uses apple's iCloud APIs, so to some extent may be limited by what Apple's APIs can do.

  • How can I uniquely identify computers on the same network/account specifically for airdrop use?  When I change name on one computer under contacts if changes on all computers.

    How can I uniquely identify computers on the same network/account specifically for airdrop use?  When I change name on one computer under contacts it changes on all computers.  I would like to change icon and name for each computer.

    you would need to setup a VPN and tunnel into your office.
    FYI..the default ports are 3283 and 5900.

  • When typing the name of the contact I want to send a text message to, names from my contact list no longer pop up as suggestions. Can anyone help me with this?

    When typing the name of the contact I want to send a text message to, names from my contact list no longer pop up as suggestions. Can anyone help me with this?

        There's always a way to reset the device jmn33! Thanks for keeping us in the loop. To process a full reset/restore on the device please visit http://vz.to/12TLCsR. Please keep us posted once this is completed, thanks!
    MatthewS_VZW
    Follow us on Twitter @VZWSUPPORT

  • HT1660 My itunes library has automatically started to list my songs alphabetically.  I do not want this.  How do I change it so that when albums come up, the songs are listed in the order of the imported album, NOT alphabetically.

    My itunes library has automatically started to list my songs alphabetically.  I do not want this.  How do I change it so that when albums come up, the songs are listed in the order of the imported album, NOT alphabetically.

    For the missing Artists on your iPod, make sure their tracks in iTunes are not marked as "Part of a compilation" in iTunes. You can do this by highlighting the track, right->clicking on them and choosing "Get Info" from the shortcut menu. When the window pops up, head over to the Info tab and make sure there is NO tick mark next to this option in the lower right hand corner. Lastly, sync the updated changes to your iPod.
    B-rock

  • In Settings Contacts My Info - I tapped on a name in the contact list in error. I wanted to undo that action to have no name there, but all I am able to do is change the contact name. How do I delete the name and return

    In Settings>Mail, Contacts, Calendars>Contacts - I tapped on My Info and mistakenly tapped on a name in my contacts list. I did not wish to make any changes, but cannot undo this action. All I can do, apparently, is change to a different name. How do I undo this action? Thanks.

    In Settings>Mail, Contacts, Calendars>Contacts - I tapped on My Info and mistakenly tapped on a name in my contacts list. I did not wish to make any changes, but cannot undo this action. All I can do, apparently, is change to a different name. How do I undo this action? Thanks.

  • How InDesign comes to know about any changes on document, but not saved. As it shows * on the name of document when it is opened and any changes. And after saving * symbol is get removed from the name of document. How and where indesign@ handles this?

    How InDesign comes to know about any changes on document, but not saved. As it shows * on the name of document when it is opened and any changes.
    And after saving * symbol is get removed from the name of document. How and where indesign@ handles this?

    Are you just asking because you want to know, or do you have a problem you need to solve? I don't know how to write a program, but I think what your are describing is not an unusual thing for a  program to do. The * tells you that changes have been made since the last save, and the program reserves a portion of memory for undo functions. I suppose a coder could tell you how it works, but I don't think it would help an average user to know, but that's just my opinion.

  • How to change the name in "Previous Recipients" list?

    Hi all,
    Wondering if some of you might have encountered similar problems in the past.
    One cool feature of Mac Mail is that it'll autocomplete the recipients' email addresses and names when you start typing their names in the To field.
    But most of the time their names are wrong when associated with their respective email addresses.  For example,
    The correct association should be shown as: John Doe <[email protected]>;  instead, it is sometimes shown as "[email protected] Doe" <[email protected]>
    How do you change the wrong name?
    Thanks

    Thanks for the reply Barney.
    What caused the problem?  I recall the name being correct before but then after a while it got messed up.
    How can I prevent this from happening in the future?
    Is there a more fundamental solution to the problem? Thanks.

Maybe you are looking for

  • Portal application can't read request info

    hi all, i use  portal application for change portal user's infos.but when i sent request info, request.getServletRequest().getInputStream() method is cutting my sending line after 90. character. in R3 side i use HTTP_POST function and fill request in

  • Apple Mini Display Port NOT working at resolutions over 1600X1200!

    Problem: Apple Mini Display Port does NOT work at resolutions over 1600X1200 on NON Apple Cinema Displays. That means if you own any other brand of monitor such as NEC, Lacie, etc. you will NOT get native resolution on your 24 inch monitor as it is s

  • Industry Samples/Examples

    Hey there...I'm exploring the use of Flex for "situational-based" elearning development, which gives the learner different scenarios that they have to walk-through to learn a particular concept (e.g., Selling, Negotiating)...definately NOT a linear a

  • Internal error in SAP user exit

    Hi,   i am working on the SAP user exits in SD module for Free goods enhancement, if customer buys 100 goods in 'X' material we have to provide 'Y' quantity of goods as free. i did coding part under the standard program "MV45AFZZ " in the form" user

  • Firefox can't load adf.ly

    Firefox can't load adf.ly and the following message appears: ''The connection has timed out. The server at adf.ly is taking too long to respond.''