Interface MonitorDProto.ProcessInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MonitorDProto.ProcessInfo
,MonitorDProto.ProcessInfo.Builder
- Enclosing class:
- MonitorDProto
public static interface MonitorDProto.ProcessInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetArgument
(int index) Command Arguments.com.google.protobuf.ByteString
getArgumentBytes
(int index) Command Arguments.int
Command Arguments.Command Arguments.Command name.com.google.protobuf.ByteString
Command name.long
Number of resident set (non-swapped) pages.long
Number of pages of shared memory.long
Total number of pages of virtual memory.int
getNice()
Standard unix nice level of process.long
getPid()
Process ID.long
getPpid()
Parent process ID.int
Kernel scheduling priority.long
Start time of the process [s since epoch UTC].int
getState()
The state, as defined by the GLIBTOP_PROCESS_* macros.float
getStime()
Kernel-mode CPU time [s].getUser()
User name.com.google.protobuf.ByteString
User name.float
getUtime()
User-mode CPU time [s].Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPid
long getPid()Process ID.
uint64 pid = 1;
- Returns:
- The pid.
-
getUser
String getUser()User name.
string user = 2;
- Returns:
- The user.
-
getUserBytes
com.google.protobuf.ByteString getUserBytes()User name.
string user = 2;
- Returns:
- The bytes for user.
-
getPriority
int getPriority()Kernel scheduling priority.
int32 priority = 3;
- Returns:
- The priority.
-
getNice
int getNice()Standard unix nice level of process.
int32 nice = 4;
- Returns:
- The nice.
-
getState
int getState()The state, as defined by the GLIBTOP_PROCESS_* macros.
int32 state = 5;
- Returns:
- The state.
-
getCommand
String getCommand()Command name.
string command = 6;
- Returns:
- The command.
-
getCommandBytes
com.google.protobuf.ByteString getCommandBytes()Command name.
string command = 6;
- Returns:
- The bytes for command.
-
getArgumentList
Command Arguments.
repeated string argument = 7;
- Returns:
- A list containing the argument.
-
getArgumentCount
int getArgumentCount()Command Arguments.
repeated string argument = 7;
- Returns:
- The count of argument.
-
getArgument
Command Arguments.
repeated string argument = 7;
- Parameters:
index
- The index of the element to return.- Returns:
- The argument at the given index.
-
getArgumentBytes
com.google.protobuf.ByteString getArgumentBytes(int index) Command Arguments.
repeated string argument = 7;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the argument at the given index.
-
getPpid
long getPpid()Parent process ID.
uint64 ppid = 8;
- Returns:
- The ppid.
-
getMemVirt
long getMemVirt()Total number of pages of virtual memory.
uint64 mem_virt = 9;
- Returns:
- The memVirt.
-
getMemRes
long getMemRes()Number of resident set (non-swapped) pages.
uint64 mem_res = 10;
- Returns:
- The memRes.
-
getStartTime
long getStartTime()Start time of the process [s since epoch UTC].
uint64 start_time = 12;
- Returns:
- The startTime.
-
getUtime
float getUtime()User-mode CPU time [s].
float utime = 13;
- Returns:
- The utime.
-
getStime
float getStime()Kernel-mode CPU time [s].
float stime = 14;
- Returns:
- The stime.
-