Package at.tuwien.minimee.util

Examples of at.tuwien.minimee.util.LinuxCommandMonitor.monitor()


            LinuxCommandMonitor execMonitor = new LinuxCommandMonitor(true);
            execMonitor.setWorkingDirectory(workingDirectory);
           
            String commandLine = workingDirectory + "/openOfficeConvertMonitor.sh " + execMonitor.getWorkingDirectory() + "  /home/kulovits/dev/inputFile1.doc /home/kulovits/dev/outputFile2.pdf " + openOfficeServerPort;
           
            execMonitor.monitor(commandLine);

            ExecutionFootprintList taskPerformance = execMonitor.getTaskPerformance();
     
            System.out.println("Average virtual memory usage: " + taskPerformance.getAverageVirtualMemory() + " kb");
            System.out.println("Average shared memory usage: " + taskPerformance.getAverageSharedMemory() + " kb");
View Full Code Here


            LinuxCommandMonitor execMonitor = new LinuxCommandMonitor(true);
            execMonitor.setWorkingDirectory(workingDirectory);
           
            String commandLine = workingDirectory + "/openOfficeConvertMonitor.sh " + execMonitor.getWorkingDirectory() + "  /home/kulovits/dev/inputFile1.doc /home/kulovits/dev/outputFile2.pdf " + openOfficeServerPort;
           
            execMonitor.monitor(commandLine);

            ExecutionFootprintList taskPerformance = execMonitor.getTaskPerformance();
     
            System.out.println("Average virtual memory usage: " + taskPerformance.getAverageVirtualMemory() + " kb");
            System.out.println("Average shared memory usage: " + taskPerformance.getAverageSharedMemory() + " kb");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.