How to use ANT to save current process run time? -


how save current process running time in text file using ant, read file , assign ant variable?

you can use ant exec task. there can specify executable ps , necessary arguments (pid, options). can check argumengs here.

you specify outputproperty in ant exec task output redirected property.

then can put value in file using echo task.


Comments

Popular posts from this blog

java - Null response to php query in android, even though php works properly -

node.js - Using Node without global install -

php - CakePHP HttpSockets send array of paramms -