processes
Syntax
processes {
all-processes {
no-livecore-dump-on-crash;
}
process-name {
(enable | disable);
failover (alternate-media | other-routing-engine);
no-livecore-dump-on-crash;
timeout seconds;
traceoptions {
file <filename> <files files> <match expression> <no-world-readable | world-readable> <size bytes>;
flag flag;
level (all | error | info | notice | verbose | warning);
no-remote-trace;
}
}
}
Hierarchy Level
[edit system]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Configure which Junos OS processes are running on the router or switch.
Never disable any of the software processes unless instructed to do so by a customer support engineer.
Default
All processes are enabled by default.
Options
| all-processes option | (Junos OS Evolved only) Apply a configured setting to all processes that support that setting. |
| (enable | disable) |
(Optional) Enable or disable a specified process. |
| failover (alternate-media | other-routing-engine) |
(Optional) For routers or switches with redundant Routing Engines only, switch to backup media if a process fails repeatedly. If a process fails four times within 30 seconds, the router or switch reboots from the alternate media or the other Routing Engine. |
| no-livecore-dump-on-crash |
(Junos OS Evolved only) For related processes, do not collect a live core for the given process when its related process generates a core file. Starting in Junos OS Evolved Release 24.4R1, the system, by default, generates a live core for a process when its related process stops responding and generates a core file. You can configure this statement for an individual process, or you can
configure it under the
|
| process-name |
One of the valid process names. You can obtain a complete list of process names by using the CLI command completion feature. After specifying a process name, command completion also indicates any additional options for that process. |
| timeout seconds |
(Optional) How often the system checks the watchdog timer, in seconds. If the watchdog timer has not been checked in the specified number of seconds, the system reloads. If you set the time value too low, it is possible for the system to reboot immediately after it loads.
|
| traceoptions | Configure tracing options for the given process. |
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
no-livecore-dump-on-crash option added in Junos OS Evolved Release
24.4R1.