Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否有工具可以测量我的 PHP 应用程序使用了多少资源(CPU/RAM)?
我想通过模拟对不同 url 的多个请求来测试我的应用程序并查看消耗了多少资源?还模拟多个连接,即模拟定义数量的用户正在使用我的应用程序。
是否可以?你有什么建议吗?
问候和感谢
如果您使用的是 Linux,那么 top 是最好的选择(至少对我而言)。
我保持一个选项卡在顶部运行,这样我可以在加载各种页面/应用程序时观察 ram/cpu/etc。
http://linux.about.com/od/commands/l/blcmdl1_top.htm