Get a list of users logged on each server node in a clustered environment

Hi,
does anybody know if there is way to get a list of users which are logged on each server node in a clustered environment. Or maybe is there api for that so I could write an application which does that?
Regards
Ladislav

Hi,
about the code I was looking at - easily you can find out that these iviews are components of <b>com.sap.portal.admin.monitor.par</b>. The thread Thread Overview is implemented by: <i>com.sapportals.portal.admin.psm.PortalServerMonitor</i>. In <i>getThreadsData</i> method there is a parameter <b>portalMonitor</b> so it led me to this code in <i>doContent</i>:
/* 143*/          IPortalMonitor portalMonitor = (IPortalMonitor)PortalRuntime.getRuntimeResources().getService("com.sap.portal.runtime.application.monitor.PortalMonitor");
/* 144*/          IPSMData psmData = portalMonitor.getIPSMDataInstance();
So I have found <i>com.sap.portal.runtime.application.monitor.par</i> and there is a service implemented by <i>com.sapportals.portal.prt.service.monitor.PortalMonitor</i> where is <i>com.sapportals.portal.prt.service.monitor.MonitorCommunication</i>. And this is a service which calls all the nodes in the cluster around asking for info about the threads, requests, ... Here is a method <i>getMonitoringData</i> which works with object <i>com.sapportals.portal.prt.service.monitor.MonitorData</i>. Here in method <i>getThreadOverview</i>:
/* 396*/          ApplThreadOverview oATOs[] = OverviewMonitor.getApplThreads();
So in this <i>OverviewMonitor</i> the method <i>getApplThreads</i>:
             public static ApplThreadOverview[] getApplThreads()
/*  50*/          return ApplThreadMonitor.getApplThreads(false);
from here:
/* 130*/          ApplThreadMonitor hlpAppl = TaskMonitor.getApplThreadList();
and this <i>ApplThreadMonitor</i> has:
             private String userName;
             private String reqName;
             private String taskName;
             private String compName;
             private String action;
So if you can get this (when the most of the classes mentioned is not in API but CORE part) on each node and ask for it from one place you got the user list at cluster nodes...
In fact there can be a shortcut to get this info, I have found this ;o)
Romano
PS: and thanks for the stars!

Similar Messages

  • How to get a list of users currently logged on to InfoView?

    Post Author: ak004
    CA Forum: Administration
    Hi,
    Is there an option in CMC that gives the list of concurrent users currently logged on into the Infoview? I have CR server XI and Settings in CMC currently just gives the number of users logged in. I am using Enterprise security for the users.How can I get the list of users logged in?
    Appreciate your help.
    Thanks

    Post Author: jsanzone
    CA Forum: Administration
    The quickest way to see who is logged in is to go to the CMC, then click on Servers, then click on the .cms entry (it's the second one down on the list for my system).  When you click on the cms link on the next page should be a list of users currently logged in (including you the administrator).

  • How to find list of users logged in from past 3 months

    Hi,
    How can i get the list of users accessed oracle database from past 3 months.
    I tried select username,LOGON_TIME from v$session ;
    From v$session can we get all the users logged in from past 3 months?
    Thanks,

    kkrm333 wrote:
    Hi,
    How can i get the list of users accessed oracle database from past 3 months.
    I tried select username,LOGON_TIME from v$session ;
    From v$session can we get all the users logged in from past 3 months?
    Thanks,What does the fine Reference Manual say about "v$session"?
    OK, I looked it up for you. The very first thing it says about this view is
    "This view lists session information for each <b><i>current</i></b> session." (emphasis mine)

  • Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to.

    Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to. 
    I'm NOT in any way a Terminal Services expert and I need help trying to get an application program working in a multi-user environment.
    The issue is that the printer changes for every user that is logged in. The application needs to print NOT to the default printer, but to a "special" printer which is selected in the application... let's call it a label printer to simplify the explanation.
    You have your default regular printer, easy for the application to find that one, and then you have a special printer that labels get printed onto. The application needs to know what printer is the label printer. So we allow the user to select that in the
    application and the selection is stored in a config file in 
    C:\ProgramData\mfgr\prog\setting files
    I don't have access to the application so I can't change how this works.  
    In the "regular" world, selecting the label printer driver to use should be per machine, NOT per user. When a new user logs into a machine, the physical printer doesn't go "poof" and a new printer suddenly appear. Same printer for all
    users.
    Yet in terminal services, the physical machine is "merged" with the virtual machine on the server. And there can be many users logged in at the same time. So each users real machine (and real printer) is injected into the "fake" terminal
    services machine. The name of the printers is made unique for each user. So the printers DO go "poof" and change names depending on the user logged into terminal services.
    So user "A" logs in and sets up the application to print to "LabelPrinterForUserA" (or whatever the name of the printer happens to be), that setting is stored in the ProgramData subfolder, and all is well. Later, user "B" logs
    in, and when they print, the application tries to print to "LabelPrinterForUserA" which doesn't exist for user B or is only accessible by user A. If user B re-configures, that breaks it for user A. 
    SOLUTION 1: The way that /should/ work (in my mind) is that you define one "generic" printer in Terminal Services... call it "Virtual Label printer" and when the user wants to print to it, the print job gets re-directed back to whatever
    physical printer is actually connected to their local workstation. There is a map of virtual printer to actual printer depending on the current user. The application is told once to print to "Virtual Label Printer" for all users.
    SOLUTION 2: Or... there should be some way to make the ProgramData sub folders separate per user. E.g. when user "A" tries to access:
    C:\ProgramData\mfgr\prog\setting files
    they actually get 
    C:\UserData\UserA\AppData\mfgr\prog\setting files
    and user "B" gets
    C:\UserData\UserB\AppData\mfgr\prog\setting files
    So the question I have is: Does either of those solutions exist hidden somewhere in the setup of terminal server? Or is there another way around this issue that I don't know?

    I don't really have a "for sure" answer to this, but because people here can't seem to deal with a question that hasn't been answered I'll provide the best answer I did receive from ServerFault.com user Nathan:
    I can feel your pain with using old software on terminal servers ...the solution I've come up with definitely won't scale as it requires some manual configuration, but I've gotten this method to work with our label printers (which require to be
    printed to an LPT port...yep, that old).
    Share your USB-connected printers to the network on each machine. Then, have the user log in on aunique session for each of them
    (a TS account cannot be shared among computers for this to work) and install a network printer pointing to the USB one they shared. Try to use a DNS name to account for possible DHCP movements.
    After, it should work. Each user can do this since display names can be identical as long as the ports are different (which they are).
    This was clarified by the following series of comments:
    I think you are on to something here, and I originally advised the admin to do this. The problem he ran into is that it setup the printer names in the TS as "printer on usersworkstation"
    and he could not rename it except to change the "printer" to whatever. E.g. the "on userworkstation" remained. I believe there is another way of installing the printer which avoids this, but I can't find it. Ages ago, one used to do NET
    USE LPT2 \\computer\printer password /USER:domain\user /PERSISTENT:YES and then tell the driver to print to LPT2 –  James
    Newton Mar
    17 at 16:21   
    @JamesNewton That's actually the exact method we used. The way around the "network printer" part is to install it as local printer and map it to a TCP/IP port that way. –  Nathan
    C Mar
    17 at 16:28
    You mean in the case where the printers are TCP/IP connected and not local USB / LPT to the users workstation? That makes sense. Wonder if this will work for USB connected printers... –  James
    NewtonMar
    17 at 16:35   
    @JamesNewton You'd share the local printer on the client's PC then on the server connect via TCP/IP to it. You'd need static addresses or use DNS names if DHCP, though. –  Nathan
    C Mar
    17 at 16:51
    Ah. Yes. I see. Looks like the LPT thing should work even with a USB connected printer:superuser.com/questions/182655/… –  James
    Newton Mar
    17 at 17:09   

  • How do I get a list of users for a specific role in EP 6.0

    Hi,
    I'm trying to find a table or an API that I can use to get a list of users for a role that I have created in the portal. There are about 940 users tied to this role that I would like to dump to an excel or text file. My goal is to get these users into a security group and tie the role to the group instead of each user. Thanks!

    Hi Chris,
    first, welcome on SDN!
    UMFactory.getInstance().getRoleFactory(roleID).getUserMembers() returns the users which are members of the role, see http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/ume/com/sap/security/api/IRole.html
    addGroupMember(...) adds a group.
    removeUserMember(...) removes a user from a role.
    Corresponding method exist for the groups.
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!
    PPS: Wrong forum, should have been EP DEV for example. It's not a question in conjunction with KM.

  • Permissions of user directories get reset every time users log in

    I have some 30 users and 7 groups defined in workgroup mgr of 10.6.6server on a macpro.
    most users are members of 'standard'-group, some are in additional groups.
    each user has its own private directory; the POSIX permissions are 700 for each dir.
    now, every time a user logs into the server, its home directory permissions get reset to 755!
    anybody seen this before? any hints?

    hi, the latter. what i did was add another internal hd drive and move all the user dirs to the new drive. after that, i ended up reinstalling the os from scratch as it was acting funny...
    so i basically created new users and pointed their home dir to the existing directories on my new drive...

  • How to get the list of users who has access for list of tcodes.

    How to get the list of users who has access for list of tcodes.

    Go to transaction SUIM, this has a number of reports for users/authorisations
    open the Where used>Autorization Values>In Users
    and double click to execute
    in authorisation object, enter S_TCODE
    then press the "Enter Values" button
    It will offer entry boxes to put the transaction code you are interesed in.
    Then execute and the list of users with access to this transaciton code will be returned.

  • How to get a list of user who is shared with particular workbook

    Hi everyone,
    I have duplicated a workbook and made some changes on the new one. Now I'd like to share the new one with the same list of user as the old one.
    The number of user is great, more than 500.
    I would like to know any SQL that let me get a list of user who have been shared with the old one, such that I won't miss anyone of them.

    Hi,
    I would like to know any SQL that let me get a list of user who have been shared with the old one, such that I won't miss anyone of them.Refer to these documents.
    Note: 293021.1 - How to Find Out the Sharing Information for Discoverer workbooks From the Database
    Note: 375777.1 - How To See Which Discoverer Workbooks Are Owned And Shared By An Existing Or Dropped Database User
    Thanks,
    Hussein

  • How can I get a list of users with reset password ability?

    We are trying to tighten our security, but thanks to the environment we are in this is a bigger task than it should be. As part of this I have been asked to get a list of users who have the ability to reset other users passwords. there are the obvious suspects,
    domain admins, service desk etc., but we also appear to have random people who can do this because of a requirement during test or development stages way back. Is there a way to get this, I looked at using powershell but there doesn't seem to be much out there
    to give me a pointer, things like ADManager+ do not work, when I try to search on permissions it sits there doing nothing then crashes.
    Is there a way to build a function using powershell that can do this or is there some third party cmdlet or app that will provide me this info?
    Any help gratefully accepted.

    Hi,
    Based on my knowledge, except for those default groups users, such as domain admins and enterprise admins and so on, have reset password ability for other users, we can use delegation control to give other common users permissions to reset password for others,
    to view or delete Active Directory Delegated Permissions, please go through the below article:
    https://social.technet.microsoft.com/wiki/contents/articles/6477.how-to-view-or-delete-active-directory-delegated-permissions.aspx
    And if you were editing single user's security tab to give specific users reset password permissions, then I think we should create a script to get all those users, for scripting, please also post in the official scripting guys forum:
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Regards,
    Yan Li
    Regards, Yan Li

  • How do i get a list of users

    How do i get a list of user out of OID and into portal 9.0.2 using a plsql portlet
    I want to create a list of users as portlet and display their details.
    any help
    cheers

    You need to use dbms_ldap. And only it. SELECT * from wwsec_person$ is not apply to 9.0.2 release.
    The sample you can find at Oracle Internet Directory Application Developers Guide Release 3.0.1 or later.

  • How can I get a list of users

    How can I get a list of users who work now in B1

    Hello Tasha,
    Do you want to get the run time user list or enabled user of B1? For the second one, you can use Users object from DI API. I don't think you can get the run time user list.
    In addition, to get a more effitive feedback, here are some suggestions of how to post a question. Please check it out. /thread/117227 [original link is broken]
    Hope this helps,
    Nick He

  • By API action, how can I get the list of user IDs within a specific group  (which is created by API) ?

    By API action, how can I get the list of user IDs within a
    specific group (which is created by API) ?
    or How can I get the group (which is I create by API) ID to
    which a specific user belong by API action?
    Thanks
    Alex

    The poster already posted at the Acrobat Users Community, Interactive Forms that sums up a client order from catalog. The sample form posted to Acrobat.com was a revision of the sample form that came with Acrobat 4.0. There are some fairly advance scripts, templates, and document level functions involved with this form.

  • Hi am having issues with getting the list of users from the Active Director

    Hi am having issues with getting the list of users from the Active Directory, can anyone help me with this!

    Hi Jason,
    Try this:
    1.  In Ultiboard select Tools>>Netlist Editor>>Pins, press the Delete button
    2.  Select all nets in the Select the Net to Delete dialog and then press the Delete button.  This will clear all nets in the layout, don't worry all traces, parts are still on the design.
    3.  Go to Multisim and select Transfer>>Forward annotate to Ultiboard.    This will add all nets that you removed back and it should fix the pin problem
    Tien P.
    National Instruments

  • When log In names are saved and all you have to do is click in the space to get a list of previous log in's. How do you get rid of those previous log in's?

    # Question
    When log In names are saved and all you have to do is click in the space to get a list of previous log in's. How do you get rid of those previous log in's?

    * http://kb.mozillazine.org/Deleting_autocomplete_entries
    Remove saved Password(s): Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"

  • How do I find the number of users logged on another server?

    I'm trying to ping other servers and find the number of users logged on that server. Any leads?

    Do you need maybe something like this?
    FINGER(1) UNIX Reference Manual
    NAME
    finger - user information lookup program
    SYNOPSIS
    finger [-lmMspho] [user ...] [user@host ...]
    DESCRIPTION
    The finger utility displays information about the system users.

Maybe you are looking for

  • ERROR: Dequeue Element in Acquire Semaphore

    Hi I'm working with TS4.1 + LV8.6 Here's the full error I'm getting: A Run-time error has occurred in step: xMCP Alive? Sequence: MainSequence SequenceFile: R:\HLXC1536\Seq\FCU.seq Error Message: Dequeue Element in Acquire Semaphore.vi:1->NI_Internet

  • Error starting managed server through admin console

    Hey, I am trying to start the managed server through the admin console, but it gives fails and give errors in the log, below mention is the log file details: ####<2007-dec-18 kl 14:05 CET> <Error> <Security> <SESO-ODX251909> <ManagedServer_1> <[ACTIV

  • How to best connect multiple non TB monitors to 2013 macbook air

    I have the new Macbook Air (2013)   Model Name:          MacBook Air   Model Identifier:          MacBookAir6,2   Processor Name:          Intel Core i7   Processor Speed:          1.7 GHz I would like to connect two non Thunderbolt displays to my Ai

  • Suport issues

    hi, what r the type of issues we will get in bdc,scripts,smartforms,ale and idocs.

  • Transport Package doesn't show up in pending imports after Package upload.

    Hello, I am importing WPC web content (Transport package) (http://help.sap.com/saphelp_nw70/helpdata/EN/46/77da3bb8036ef0e10000000a1553f6/frameset.htm ). Transport Package doesn't show up in pending imports after Package upload. I repeated the packag