when a session is closed, use the packet manager to create a pseudo packet,
set the session to be closed as packet Exdata, and schedule it to the packet forwarding stage.
when the pseudo packet free, the session will be free.
11 lines
223 B
Bash
11 lines
223 B
Bash
#!/bin/bash
|
|
|
|
if [ $# -ne 1 ]; then
|
|
echo "Usage: $0 <f4_json_file>"
|
|
exit 1
|
|
fi
|
|
|
|
f4_json_file=$1
|
|
# python3 -m pip install prettytable jinja2
|
|
/opt/MESA/bin/fieldstat_exporter.py local -j $f4_json_file -l --clear-screen
|