Hello,

 

I am trying to find a way to view the physical memory usage of a command 
line application started by a build step in a Jenkins job on a Windows 
operating system while it is running.

 

I tried using the Monitoring and Disk Usage plug-ins, however, the closest 
I was able to do was to use Monitoring’s View OS Processes to view the 
virtual memory and process ID.  Neither of which allowed me to either see 
the physical memory use nor determine which build the running executable I 
was looking at was associated with.   The purpose of this is basically to 
have several parameterized jobs that run command line executables on the 
master with the ability to monitor and manually stop them remotely if 
necessary.  I could view the information by remotely logging into the 
computer the master is running on and using Windows Task Manager to view 
the running processes, but I am looking for a way that does it within the 
Jenkins web interface.

 

Basically the idea is when this type of job is run:

Step 1: Jenkins job takes a number of parameters and starts a build which 
runs an executable with the parameters given

Step 2: While the executable is running a user logs in to Jenkins and uses 
<something> to view how much physical memory the job/executable is 
currently using

Step 3: If too much memory is being used the user cancels the build, else 
the user does nothing and it runs to completion


I have not found anything that can act as the <something> in step 2.  Is 
there some plugin to do physical memory monitoring of everything on the 
computer that the master was setup on or a way to setup a Jenkins job to 
monitor the executables it started for their resource use?   

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fc9d5a0f-9342-42a4-8837-1ee14ea61811%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to