Created on 11-27-2022 10:45 PM Edited on 11-28-2022 02:53 AM By Jean-Philippe_P
Description |
This article describes how to terminate a closed CLI session while running a ping with a large number of repeat-count.
When a terminal session is unexpectedly closed while running ping with a large number of repeat-count, it still sends ICMP requests to the configured server and there does not seem to be any way to stop sending the packets.
# execute ping-options view-settings |
Scope | FortiGate. |
Solution |
Run the command '# fnsysctl ps -ef', to find PIDs of '/bin/newcli' processes related to the ping with a large number of repeat-count.
Examples:
# fnsysctl ps -ef
# kill -9 1145
It is also possible to use only one command to kill all the process instances of a specific process.
# fnsysctl killall <process name>
For example to kill all 'newcli' kills, proceed at once:
# fnsysctl killall newcli |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.