303
LAST_CPU Number of the CPU on which the most recent thread scheduling occurs.
PRI Priority level of a thread.
State
State of a thread:
• R—Running.
• S—Sleeping.
• T—Traced or stopped.
• D—Uninterruptible sleep.
• Z—Zombie.
HH:MM:SS Running time of a thread since last restart.
MAX Longest time that a single thread scheduling occupies the CPU, in milliseconds.
CPU CPU usage of a thread.
Name
Name of a thread. If square brackets ([ ]) exist in a thread name, the thread is a
kernel thread.
process core
Use process core to enable or disable a process to generate core files for exceptions and set the
maximum number of core files.
Syntax
process core { maxcore value | off } { job job-id | name process-name } [ slot slot-number [ cpu
cpu-number ] ]
Views
User view
Default
A process generates a core file for the first exception and does not generate any core files for
subsequent exceptions.
Predefined user roles
network-admin
Parameters
off: Disables core file generation.
maxcore value: Enables core file generation and sets the maximum number of core files, in the
range of 1 to 10.
name process-name: Specifies a process by its name, a case-insensitive string of 1 to 15
characters.
job job-id: Specifies a process by its job ID, in the range of 1 to 2147483647. The job ID does not
change after the process restarts.
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member
device, this command displays information for the master device.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
The command applies to all instances of a process.
The command enables the system to generate a core file each time the specified process crashes
until the maximum number of core files is reached. A core file records the exception information.