HP 6125XLG R2306-HP 6125XLG Blade Switch Network Management and Monitoring Con - Page 107

Monitoring and maintaining processes

Page 107 highlights

Monitoring and maintaining processes HP Comware V7 is a full-featured, modular, and scalable network operating system based on the Linux kernel. Comware V7 software features run the following types of independent processes: • User process-Runs in user space. Most Comware V7 software features run user processes. Each process runs in an independent space so the failure of a process does not affect other processes. The system automatically monitors user processes. Comware V7 supports preemptive multithreading. A process can run multiple threads to support multiple activities. Whether a process supports multithreading depends on the software implementation. • Kernel thread-Runs in kernel space. A kernel thread executes kernel code. It has a higher security level than a user process. If a kernel thread fails, the system breaks down. You can monitor the running status of kernel threads. Displaying and maintaining processes Commands described in this section apply to both user processes and kernel threads. You can execute these commands in any view. The system identifies a process that consumes excessive memory or CPU resources as an anomaly source. To display and maintain processes: Task Command Display memory usage. display memory [ slot slot-number ] Display process state information. display process [ all | job job-id | name process-name ] [ slot slot-number ] Display CPU usage for all processes. display process cpu [ slot slot-number ] Monitor process running state. monitor process [ dumbtty ] [ iteration number ] [ slot slot-number ] Monitor thread running state. monitor thread [ dumbtty ] [ iteration number ] [ slot slot-number ] For detailed information about the display memory [ slot slot-number ] command, see Fundamentals Command Reference. Displaying and maintaining user processes Execute display commands in any view. Task Command Display log information for all user processes. display process log [ slot slot-number ] Display memory usage for all user processes. display process memory [ slot slot-number ] 101

  • 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
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148

101
Monitoring and maintaining processes
HP Comware V7 is a full-featured, modular, and scalable network operating system based on the Linux
kernel. Comware V7 software features run the following types of independent processes:
User process
—Runs in user space. Most Comware V7 software features run user processes. Each
process runs in an independent space so the failure of a process does not affect other processes.
The system automatically monitors user processes. Comware V7 supports preemptive
multithreading. A process can run multiple threads to support multiple activities. Whether a process
supports multithreading depends on the software implementation.
Kernel thread
—Runs in kernel space. A kernel thread executes kernel code. It has a higher security
level than a user process. If a kernel thread fails, the system breaks down. You can monitor the
running status of kernel threads.
Displaying and maintaining processes
Commands described in this section apply to both user processes and kernel threads. You can execute
these commands in any view.
The system identifies a process that consumes excessive memory or CPU resources as an anomaly source.
To display and maintain processes:
Task
Command
Display memory usage.
display memory
[
slot
slot-number
]
Display process state information.
display
process
[
all
|
job
job-id
|
name
process-name
] [
slot
slot-number
]
Display CPU usage for all
processes.
display
process
cpu
[
slot
slot-number
]
Monitor process running state.
monitor process
[
dumbtty
] [
iteration
number
] [
slot
slot-number
]
Monitor thread running state.
monitor thread
[
dumbtty
] [
iteration
number
] [
slot
slot-number
]
For detailed information about the
display memory
[
slot
slot-number
] command, see
Fundamentals
Command Reference
.
Displaying and maintaining user processes
Execute
display
commands in any view.
Task
Command
Display log information for all user
processes.
display
process
log
[
slot
slot-number
]
Display memory usage for all user
processes.
display process memory
[
slot
slot-number
]