I'm using shared ASP.NET hosting and I have no remote-desktop access to the web server. I only have the ability to FTP ASP.NET related files to the server.
我正在使用共享ASP.NET托管,我没有远程桌面访问Web服务器。我只能将ASP.NET相关文件FTP到服务器。
In this scenario, how would I see how much memory my ASP.NET application is consuming?
在这种情况下,我如何看待我的ASP.NET应用程序消耗了多少内存?
2 个解决方案
#1
1
Could you create a page that listed various performance counters in a password-protected part of the site? That would be my suggestion, along with making sure that somewhere on the page, a machine name or IP is listed so that should the site move among various servers, this can be noted somewhere. Another idea would be to either write to a log file or send an e-mail with various performance counters so that you could see a history of how the server is doing, but be careful on the e-mail that this could become spam-like if you do it too frequently.
你能创建一个在网站的密码保护部分列出各种性能计数器的页面吗?这将是我的建议,同时确保在页面的某个位置列出了计算机名称或IP,以便站点在各种服务器之间移动,这可以在某处注明。另一个想法是写入日志文件或发送带有各种性能计数器的电子邮件,以便您可以查看服务器的运行历史,但要小心电子邮件,这可能会变成垃圾邮件如果你经常这样做
#2
0
Update: Maybe Process.PeakVirtualMemorySize64 is more focused on your need. Did not try it myself.
更新:也许Process.PeakVirtualMemorySize64更专注于您的需求。没试过自己。
Before update: This link is about what you need.
更新前:此链接与您的需求有关。
#1
1
Could you create a page that listed various performance counters in a password-protected part of the site? That would be my suggestion, along with making sure that somewhere on the page, a machine name or IP is listed so that should the site move among various servers, this can be noted somewhere. Another idea would be to either write to a log file or send an e-mail with various performance counters so that you could see a history of how the server is doing, but be careful on the e-mail that this could become spam-like if you do it too frequently.
你能创建一个在网站的密码保护部分列出各种性能计数器的页面吗?这将是我的建议,同时确保在页面的某个位置列出了计算机名称或IP,以便站点在各种服务器之间移动,这可以在某处注明。另一个想法是写入日志文件或发送带有各种性能计数器的电子邮件,以便您可以查看服务器的运行历史,但要小心电子邮件,这可能会变成垃圾邮件如果你经常这样做
#2
0
Update: Maybe Process.PeakVirtualMemorySize64 is more focused on your need. Did not try it myself.
更新:也许Process.PeakVirtualMemorySize64更专注于您的需求。没试过自己。
Before update: This link is about what you need.
更新前:此链接与您的需求有关。