Skip navigation links
A B C E F G H I J K L N O P R S T W 

A

ABOVE_NORMAL - Static variable in class org.jutils.jprocesses.model.WindowsPriority
 
addExtraData(String, String) - Method in class org.jutils.jprocesses.model.ProcessInfo
 

B

BELOW_NORMAL - Static variable in class org.jutils.jprocesses.model.WindowsPriority
 

C

changePriority(int, int) - Method in interface org.jutils.jprocesses.info.ProcessesService
 
changePriority(int, int) - Static method in class org.jutils.jprocesses.JProcesses
Static method that changes the priority of a process
If the process does not finish with this method, try with the stronger killProcess() For further details see ProcessInfo

E

equals(Object) - Method in class org.jutils.jprocesses.model.ProcessInfo
 
executeCommand(String...) - Static method in class org.jutils.jprocesses.util.ProcessesUtils
 
executeCommandAndGetCode(String...) - Static method in class org.jutils.jprocesses.util.ProcessesUtils
 

F

fastMode() - Method in class org.jutils.jprocesses.JProcesses
Enables the fast mode.
fastMode(boolean) - Method in class org.jutils.jprocesses.JProcesses
Enables/disables the fast mode.

G

get() - Static method in class org.jutils.jprocesses.JProcesses
Gets the JProcesses instance.
getCommand() - Method in class org.jutils.jprocesses.model.ProcessInfo
 
getCpuUsage() - Method in class org.jutils.jprocesses.model.ProcessInfo
 
getCustomDateFormat() - Static method in class org.jutils.jprocesses.util.ProcessesUtils
 
getCustomLocale() - Static method in class org.jutils.jprocesses.util.ProcessesUtils
 
getExtraData() - Method in class org.jutils.jprocesses.model.ProcessInfo
 
getList() - Method in interface org.jutils.jprocesses.info.ProcessesService
 
getList(boolean) - Method in interface org.jutils.jprocesses.info.ProcessesService
 
getList(String) - Method in interface org.jutils.jprocesses.info.ProcessesService
 
getList(String, boolean) - Method in interface org.jutils.jprocesses.info.ProcessesService
 
getMessage() - Method in class org.jutils.jprocesses.model.JProcessesResponse
 
getName() - Method in class org.jutils.jprocesses.model.ProcessInfo
 
getPhysicalMemory() - Method in class org.jutils.jprocesses.model.ProcessInfo
 
getPid() - Method in class org.jutils.jprocesses.model.ProcessInfo
 
getPriority() - Method in class org.jutils.jprocesses.model.ProcessInfo
 
getProcess(int) - Method in interface org.jutils.jprocesses.info.ProcessesService
 
getProcess(int, boolean) - Method in interface org.jutils.jprocesses.info.ProcessesService
 
getProcess(int) - Static method in class org.jutils.jprocesses.JProcesses
Static method that returns the information of a process
Some information is retrieved: PID Name Used memory Date/time Priority [...]
getProcessList() - Static method in class org.jutils.jprocesses.JProcesses
Convenience static method that returns the list of processes that match with the provided name.
getProcessList(String) - Static method in class org.jutils.jprocesses.JProcesses
Convenience static method that returns the list of processes that match with the provided name.
getService() - Static method in class org.jutils.jprocesses.info.ProcessesFactory
 
getStartTime() - Method in class org.jutils.jprocesses.model.ProcessInfo
 
getTime() - Method in class org.jutils.jprocesses.model.ProcessInfo
 
getUser() - Method in class org.jutils.jprocesses.model.ProcessInfo
 
getVirtualMemory() - Method in class org.jutils.jprocesses.model.ProcessInfo
 

H

hashCode() - Method in class org.jutils.jprocesses.model.ProcessInfo
 
HIGH - Static variable in class org.jutils.jprocesses.model.WindowsPriority
 

I

IDLE - Static variable in class org.jutils.jprocesses.model.WindowsPriority
 
isLinux() - Static method in class org.jutils.jprocesses.util.OSDetector
 
isMac() - Static method in class org.jutils.jprocesses.util.OSDetector
 
isSolaris() - Static method in class org.jutils.jprocesses.util.OSDetector
 
isSuccess() - Method in class org.jutils.jprocesses.model.JProcessesResponse
 
isUnix() - Static method in class org.jutils.jprocesses.util.OSDetector
 
isWindows() - Static method in class org.jutils.jprocesses.util.OSDetector
 

J

JProcesses - Class in org.jutils.jprocesses
Class that gives access to Processes details.
JProcessesResponse - Class in org.jutils.jprocesses.model
Encapsulates the response of a JProcesses operation
JProcessesResponse() - Constructor for class org.jutils.jprocesses.model.JProcessesResponse
 

K

killProcess(int) - Method in interface org.jutils.jprocesses.info.ProcessesService
 
killProcess(int) - Static method in class org.jutils.jprocesses.JProcesses
Static method that kills a process abruptly (forced mode)
For further details see ProcessInfo
killProcessGracefully(int) - Method in interface org.jutils.jprocesses.info.ProcessesService
 
killProcessGracefully(int) - Static method in class org.jutils.jprocesses.JProcesses
Static method that kills a process, letting it the necessary time to finish
If the process does not finish with this method, try with the stronger killProcess() For further details see ProcessInfo

L

listProcesses() - Method in class org.jutils.jprocesses.JProcesses
Return the list of processes running in the system.
listProcesses(String) - Method in class org.jutils.jprocesses.JProcesses
Return the list of processes that match with the provided name.

N

NORMAL - Static variable in class org.jutils.jprocesses.model.WindowsPriority
 

O

org.jutils.jprocesses - package org.jutils.jprocesses
 
org.jutils.jprocesses.info - package org.jutils.jprocesses.info
 
org.jutils.jprocesses.model - package org.jutils.jprocesses.model
 
org.jutils.jprocesses.util - package org.jutils.jprocesses.util
 
OSDetector - Class in org.jutils.jprocesses.util
Detects used OS

P

parseUnixLongTimeToFullDate(String) - Static method in class org.jutils.jprocesses.util.ProcessesUtils
Parse Unix long date format(ex: Fri Jun 10 04:35:36 2016) to format MM/dd/yyyy HH:mm:ss
parseWindowsDateTimeToFullDate(String) - Static method in class org.jutils.jprocesses.util.ProcessesUtils
Parse Window DateTime format to time format (MM/dd/yyyy hh:mm:ss)
parseWindowsDateTimeToSimpleTime(String) - Static method in class org.jutils.jprocesses.util.ProcessesUtils
Parse Window DateTime format to time format (hh:mm:ss).
ProcessesFactory - Class in org.jutils.jprocesses.info
Factory class to get the right information for the OS
ProcessesService - Interface in org.jutils.jprocesses.info
Interface for service retrieving processes information
ProcessesUtils - Class in org.jutils.jprocesses.util
Utility methods
ProcessInfo - Class in org.jutils.jprocesses.model
Model that encapsulates process information
ProcessInfo() - Constructor for class org.jutils.jprocesses.model.ProcessInfo
 
ProcessInfo(String, String, String, String, String, String, String, String, String, String) - Constructor for class org.jutils.jprocesses.model.ProcessInfo
 

R

REAL_TIME - Static variable in class org.jutils.jprocesses.model.WindowsPriority
 

S

setCommand(String) - Method in class org.jutils.jprocesses.model.ProcessInfo
 
setCpuUsage(String) - Method in class org.jutils.jprocesses.model.ProcessInfo
 
setCustomDateFormat(String) - Static method in class org.jutils.jprocesses.util.ProcessesUtils
Custom date format to be used when parsing date string in "ps" output
NOTE: We assume 5 space separated fields for date, where we pass the last 4 to the parser, e.g.
setCustomLocale(Locale) - Static method in class org.jutils.jprocesses.util.ProcessesUtils
Sets a custom locale if the defaults won't parse your ps output
setExtraData(Map<String, String>) - Method in class org.jutils.jprocesses.model.ProcessInfo
 
setMessage(String) - Method in class org.jutils.jprocesses.model.JProcessesResponse
 
setName(String) - Method in class org.jutils.jprocesses.model.ProcessInfo
 
setPhysicalMemory(String) - Method in class org.jutils.jprocesses.model.ProcessInfo
 
setPid(String) - Method in class org.jutils.jprocesses.model.ProcessInfo
 
setPriority(String) - Method in class org.jutils.jprocesses.model.ProcessInfo
 
setStartTime(String) - Method in class org.jutils.jprocesses.model.ProcessInfo
 
setSuccess(boolean) - Method in class org.jutils.jprocesses.model.JProcessesResponse
 
setTime(String) - Method in class org.jutils.jprocesses.model.ProcessInfo
 
setUser(String) - Method in class org.jutils.jprocesses.model.ProcessInfo
 
setVirtualMemory(String) - Method in class org.jutils.jprocesses.model.ProcessInfo
 

T

toString() - Method in class org.jutils.jprocesses.model.ProcessInfo
 

W

WindowsPriority - Class in org.jutils.jprocesses.model
Helper constants class to set different priority levels in Windows
A B C E F G H I J K L N O P R S T W 
Skip navigation links

Copyright © 2017. All rights reserved.