系统信息服务提供一组REST API来检索信息。 下表提供了有关API的详细信息:
名称 |
URL |
描述 |
---|---|---|
SystemInfo.properties |
https://'[server]:[port]'/rest/services/SystemInfo.properties' |
此API是 system.getProperties Java API。 它会检索当前工作环境的配置。 |
SystemInfo.envVar |
https://'[server]:[port]'/rest/services/ SystemInfo.envVar |
检索主机操作系统的所有环境变量。 |
SystemInfo.logs |
https://'[server]:[port]'/rest/services/ SystemInfo.logs |
下载包含应用程序服务器日志的zip文件。 |
SystemInfo.config |
https://'[server]:[port]'/rest/services/ SystemInfo.config |
检索config.xml文件的所有内容。 |
SystemInfo.services |
https://'[server]:[port]'/rest/services/ SystemInfo.services |
检索AEM表单服务的状态和配置参数。 |
SystemInfo.vitalDetails |
https://'[server]:[port]'/rest/services/ SystemInfo.vitalDetails |
检索服务器正常运行时间、JVM参数、系统内存、栈大小、操作系统名称、活动线程数和线程计数。 |
SystemInfo.coreSettings |
https://'[server]:[port]'/rest/services/ SystemInfo.coreSettings |
检索以下属性的值:
|
SystemInfo.database |
https://'[server]:[port]'/rest/services/ SystemInfo.database |
检索有关数据库的详细信息。 |
SystemInfo.licenseInfo |
https://'[server]:[port]'/rest/services/ SystemInfo.licenseInfo |
检索已安装的AEM表单组件的版本和许可证信息。 |
SystemInfNo.serverConfig |
https://'[server]:[port]'/rest/services/ SystemInfo.serverConfig |
下载主机应用程序服务器的配置文件。 |
SystemInfo.threads?delay=[n]&iterations=[n] |
https://'[server]:[port]'/rest/services/ SystemInfo.threads?delay=[n]&iterations=[n] |
检索活动线程的计数和栈栈跟踪。 它接受以下参数:
|
SystemInfo.info |
https://'[server]:[port]'/rest/services/ SystemInfo.info |
此API是所有系统信息服务API的包装器。 在内部,它运行所有系统信息API并以zip格式下载信息。 注释: SystemInfo.info不提供活动线程的计数和栈栈跟踪。 |