Getting the Process Log
DME
YANG
Copy
GET: http://<IP_mgmt>//api/mo/sys/exitproc.json?rsp-subtree=full
{ "totalCount": "1", "imdata": [ { "procExitProcEntity": { "attributes": { "dn": "sys/exitproc", "modTs": "2020-06-01T10:49:26.752+00:00", "name": "" }, "children": [ { "procExitProcEntry": { "attributes": { "coreExist": "no", "exitReason": "2", "exitTime": "1591040783", "key": "1", "modTs": "2020-06-01T12:46:28.668+00:00", "normalExit": "no", "pid": "30722", "procName": "sysinfo", "rn": "proc-1", "sysmgrSvc": "yes" } } } ] } } ] }
Copy
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2"> <data> <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device"> <exitproc-items> <proc-items> <ExitProcEntry-list> <key>1</key> <coreExist>false</coreExist> <exitReason>2</exitReason> <exitTime>1591040783</exitTime> <normalExit>false</normalExit> <pid>30722</pid> <procName>sysinfo</procName> <sysmgrSvc>true</sysmgrSvc> </ExitProcEntry-list> </proc-items> </exitproc-items> </System> </data> </rpc-reply>