/
Cisco-IOS-XE-process-memory-oper.yang
95 lines (87 loc) · 2.22 KB
/
Cisco-IOS-XE-process-memory-oper.yang
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
module Cisco-IOS-XE-process-memory-oper {
yang-version 1;
namespace "http://cisco.com/ns/yang/Cisco-IOS-XE-process-memory-oper";
prefix process-memory-ios-xe-oper;
organization
"Cisco Systems, Inc.";
contact
"Cisco Systems, Inc.
Customer Service
Postal: 170 W Tasman Drive
San Jose, CA 95134
Tel: +1 1800 553-NETS
E-mail: cs-yang@cisco.com";
description
"This module contains a collection of YANG definitions for
monitoring memory usage of processes in a Network Element.
Copyright (c) 2016-2017 by Cisco Systems, Inc.
All rights reserved.";
revision 2017-02-07 {
description
"Initial revision";
reference "1.0.0";
}
grouping process-memory-key {
description
"Unique process identifier";
leaf pid {
type uint32;
description
"Process-ID of the process.";
}
leaf name {
type string;
description
"The name of the process.";
}
}
grouping process-memory-usage {
description
"Memory usage information for a given process";
leaf tty {
type uint16;
description
"TTY bound to by the process.";
}
leaf allocated-memory {
type uint64;
units "bytes";
description
"Total memory allocated to this process (bytes)";
}
leaf freed-memory {
type uint64;
units "bytes";
description
"Total memory freed by this process (bytes)";
}
leaf holding-memory {
type uint64;
units "bytes";
description
"Total memory currently held by this process (bytes)";
}
leaf get-buffers {
type uint32;
description
"Get Buffers of this process (bytes)";
}
leaf ret-buffers {
type uint32;
description
"Return Buffers of this process (bytes)";
}
}
container memory-usage-processes {
config false;
description
"Data nodes for System wide Process Memory Statistics.";
list memory-usage-process {
key "pid name";
description
"The list of software processes on the device.";
uses process-memory-ios-xe-oper:process-memory-key;
uses process-memory-ios-xe-oper:process-memory-usage;
}
}
}