How to check app pool last recycled

前端 未结 6 1066
轮回少年
轮回少年 2020-12-29 01:57

is it possible to check when i recycled the app pool last time, i want to check the date when my app pool was last recycled, is there anything in IIS i can get this info.

6条回答
  •  囚心锁ツ
    2020-12-29 02:23

    This will give you a list of all the w3wp processes on the machine and their start times. The ErrorAction prevents the commandlet from throwing an error if no websites are started and therefore no w3wp processes exist

    ps w3wp -ErrorAction SilentlyContinue | select ProcessName, StartTime
    

    Tested on Server 2012 R2 with powershell v4.0

提交回复
热议问题