Class 
Use 
SUMMARY: NESTED | FIELD | METHOD      DETAIL: FIELD | METHOD
FlexDoc/Javadoc 2.0
Demo Java Doc

java.base / java.lang
Interface ProcessHandle.Info
Enclosing interface:
ProcessHandle

public static interface ProcessHandle.Info
Information snapshot about the process. The attributes of a process vary by operating system and are not available in all implementations. Information about processes is limited by the operating system privileges of the process making the request. The return types are Optional<T> allowing explicit tests and actions if the value is available.
Since:
9

Method Summary
Returns an array of Strings of the arguments of the process.
Returns the executable pathname of the process.
Returns the command line of the process.
Returns the start time of the process.
Returns the total cputime accumulated of the process.
Return the user of the process.
Method Detail
command
Optional<String> command
()
Returns the executable pathname of the process.
Returns:
an Optional<String> of the executable pathname of the process

commandLine
Optional<String> commandLine
()
Returns the command line of the process.

If command() and arguments() return non-empty optionals, this is simply a convenience method which concatenates the values of the two functions separated by spaces. Otherwise it will return a best-effort, platform dependent representation of the command line.

Returns:
an Optional<String> of the command line of the process

arguments
Optional<String[]> arguments
()
Returns an array of Strings of the arguments of the process.
Returns:
an Optional<String[]> of the arguments of the process

startInstant
Optional<Instant> startInstant
()
Returns the start time of the process.
Returns:
an Optional<Instant> of the start time of the process

totalCpuDuration
Optional<Duration> totalCpuDuration
()
Returns the total cputime accumulated of the process.
Returns:
an Optional<Duration> for the accumulated total cputime

user
()
Return the user of the process.
Returns:
an Optional<String> for the user of the process

 Class 
Use 
SUMMARY: NESTED | FIELD | METHOD      DETAIL: FIELD | METHOD
FlexDoc/Javadoc 2.0
Demo Java Doc

Java API documentation generated with FlexDoc/Javadoc 2.0 using JavadocClassic 3.0 template set.
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, FlexDoc/Javadoc may be the only tool able to help you! Find out more at www.flexdoc.xyz