how can find processor name where application is running in app service plan

Devi Dayal Gupta 40 Reputation points
2024-03-08T06:21:13.3866667+00:00

Hi,

I would like to know processor name where application is running in app service plan.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,961 questions
{count} votes

Accepted answer
  1. TP 125.8K Reputation points Volunteer Moderator
    2024-03-18T05:28:52.2+00:00

    Hi,

    In the Azure portal please navigate to your web app, then click on Console blade on left. At the console prompt on the right, please copy/paste in below command and press enter:

    powershell (gp HKLM:\HARDWARE\DESCRIPTION\System\CentralProcessor\0).ProcessorNameString
    
    

    In screenshot below you can see processor name is AMD EPYC 7763 64-Core Processor:

    app service get processor name

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,706 Reputation points Moderator
    2024-03-12T11:37:38.7866667+00:00

    @Devi Dayal Gupta Thanks for reaching here!

    To obtain the web instance name, you can retrieve it from the instance process using the following method: Web Apps - Get Instance Process.

    And under the environment_variables there is a COMPUTERNAME suppose this is what you want.

    enter image description here

    You can also see computer name under environmental variable- through Kudu-

    User's image

    User's image

    Please let us know if further query.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.