Thursday, December 19, 2013

Worker process for App pool?

Query:
Some it is need to dragdown which which application pool/site is consuming much CPU/memory as compared to others.
Resolution:
In Windows 2008 the steps are as follows:
In Windows Server 2008 we can find worker process w3wp.exe and its associated application by following below steps
Open Windows Server 2008 -->Run command prompt as "Run as admin" --> Navigate to C:\Windows\System32\inetsrv and then run following commnads.

C:\Windows\System32\inetsrv>appcmd list wp To get list of application pool and its worker process

C:\Windows\System32\inetsrv>appcmd list sites To get list of all web sites

C:\Windows\System32\inetsrv>appcmd list appPools To get list of all application pools on IIS server.

Wednesday, December 18, 2013

"User Information List" in SharePoint 2010

"User Information List" in SharePoint 2010 is one of a list which is hidden at site collection level. One can access this hidden list by sitecollectionURL/_catalogs/users/simple.aspx SharePoint admin can consume this list in inforpath forms to retrieve users information and fetch it at inforpath form. when ever a new user is added to sharepoint site collection level not at site level, at first that user will be added to this "User Information List". So, we can consider this list as a repository of all users present in the site. /_catalog/users may show different users on different site on the same site collection We can acess this list through object model as: SPList hiddenUserList = SPContext.Current.Web.SiteUserInfoList; Note that this list contains the users which are deleted from Active Directory. Hence, whenever we delete a user from SharePoint site, its actually a soft delete and that user details still exist in this hidden list.