Salesforce

How to monitor the resources used by OpenEdge processes on Windows.

« Go Back

Information

 
TitleHow to monitor the resources used by OpenEdge processes on Windows.
URL NameHow-to-monitor-the-resources-used-by-OpenEdge-processes-on-Windows
Article Number000181267
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x
OS: Windows
Question/Problem Description
How to monitor the resources used by OpenEdge processes on Windows.
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
To monitor the processes it is possible to use the following script in Windows Power Shell (see attached file ps.ps1).

To execute from powershell run powershell.exe, then call the following script from the same directory the script is located using the command:   ./ps.sp1


# ps.sp1 (ps like script)
#
param( [string]$ProcessName )
 
If ( $ProcessName -eq "" ) {
    Write-Host
    Write-Host "ps.ps1,  Version 1.00"
    Write-Host "List processes with name"
    Write-Host
    Write-Host "Usage:  .\ps.PS1  <Process name>"
    Write-Host
    Write-Host "Where:  Process Name is the process to be listed"
    Write-Host "(use * to list all processes)"
}
Else {
    for($i=1; $i -le 20; $i++){ps | head -2; get-process $ProcessName ; echo "============" ; start-sleep 1} 
}


Example

ps _mprosrv
Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName
-------  ------    -----      ----- -----   ------     -- -----------
    148      11     2548      22564    86     0.09   8184 _mprosrv
    149      12     2476       9792    86     1.62   9340 _mprosrv
============

Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName
    148      11     2548      22564    86     0.09   8184 _mprosrv
    149      12     2508       9816    86     1.79   9340 _mprosrv
============

.
.
.
Workaround
Notes
Keyword Phrase
Last Modified Date4/28/2016 11:43 PM

Powered by