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.
我有一个 LAMP 服务器正在运行。外部服务连接到此服务器(在 iPhone 上运行的服务)。我想从 php 脚本中获取已连接到 Apache 服务器的所有服务的列表……我该怎么做?我应该使用 fsockopen 吗?
任何帮助将不胜感激。
<? phpinfo(); ?>
...否则请尝试 SSH 中的“TOP”程序。(不知道如何通过 PHP 使用它......<? 'top' ?>也许??)
<? 'top' ?>