github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/administration/node_process_properties.go (about)

     1  /* Copyright © 2017 VMware, Inc. All Rights Reserved.
     2     SPDX-License-Identifier: BSD-2-Clause
     3  
     4     Generated by: https://github.com/swagger-api/swagger-codegen.git */
     5  
     6  package administration
     7  
     8  import (
     9  	"github.com/vmware/go-vmware-nsxt/common"
    10  )
    11  
    12  type NodeProcessProperties struct {
    13  
    14  	// The server will populate this field when returing the resource. Ignored on PUT and POST.
    15  	Links []common.ResourceLink `json:"_links,omitempty"`
    16  
    17  	Schema string `json:"_schema,omitempty"`
    18  
    19  	Self *common.SelfResourceLink `json:"_self,omitempty"`
    20  
    21  	// CPU time (user and system) consumed by process in milliseconds
    22  	CpuTime int64 `json:"cpu_time,omitempty"`
    23  
    24  	// Resident set size of process in bytes
    25  	MemResident int64 `json:"mem_resident,omitempty"`
    26  
    27  	// Virtual memory used by process in bytes
    28  	MemUsed int64 `json:"mem_used,omitempty"`
    29  
    30  	// Process id
    31  	Pid int64 `json:"pid,omitempty"`
    32  
    33  	// Parent process id
    34  	Ppid int64 `json:"ppid,omitempty"`
    35  
    36  	// Process name
    37  	ProcessName string `json:"process_name,omitempty"`
    38  
    39  	// Process start time expressed in milliseconds since epoch
    40  	StartTime int64 `json:"start_time,omitempty"`
    41  
    42  	// Milliseconds since process started
    43  	Uptime int64 `json:"uptime,omitempty"`
    44  }