-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ProcessStat
public ProcessStat()
-
Method Detail
-
getvsize
public long getvsize()
- Specified by:
getvsize in interface ProcessStatMXBean
- Returns:
- the number of bytes used by the process (= PAGE_SIZE * mm->total_vm).
-
getrss
public long getrss()
- Specified by:
getrss in interface ProcessStatMXBean
- Returns:
- the number of pages the process has in real memory (= MM_FILEPAGES + MM_ANONPAGES + MM_SHMEMPAGES).
-
getmin_flt
public long getmin_flt()
- Specified by:
getmin_flt in interface ProcessStatMXBean
- Returns:
- the number of minor faults caused by the process
-
getmaj_flt
public long getmaj_flt()
- Specified by:
getmaj_flt in interface ProcessStatMXBean
- Returns:
- the number of major faults caused by the process
-
getutime
public long getutime()
- Specified by:
getutime in interface ProcessStatMXBean
- Returns:
- CPU time spent in user code, measured in clock ticks
-
getstime
public long getstime()
- Specified by:
getstime in interface ProcessStatMXBean
- Returns:
- CPU time spent in kernel code, measured in clock ticks
-
getgtime
public long getgtime()
- Specified by:
getgtime in interface ProcessStatMXBean
- Returns:
- CPU time spent in a guest operating system, measured in clock ticks
Copyright © 2020. All rights reserved.