-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Segregate host, cpu, mem info in process state
- Loading branch information
1 parent
ea75f9d
commit 156fdfc
Showing
3 changed files
with
46 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
syntax = "proto3"; | ||
|
||
package daemon; | ||
|
||
message Host { | ||
string ID = 1; | ||
string Hostname = 2; | ||
string OS = 3; | ||
string Platform = 4; | ||
string KernelVersion = 5; | ||
string KernelArch = 6; | ||
string VirtualizationSystem = 7; | ||
string VirtualizationRole = 8; | ||
|
||
CPU CPU = 9; | ||
Memory Memory = 10; | ||
} | ||
|
||
message CPU { | ||
int32 Count = 1; | ||
int32 CPU = 2; | ||
string VendorID = 3; | ||
string Family = 4; | ||
string PhysicalID = 5; | ||
} | ||
|
||
message Memory { | ||
uint64 Total = 1; | ||
uint64 Available = 2; | ||
uint64 Used = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters