mirror of
https://github.com/breeze303/nss-packages.git
synced 2025-12-16 16:57:29 +00:00
qca-nss-drv: show cpu_load_ubi in output
This commit is contained in:
parent
088f830466
commit
911ca7392c
@ -14,7 +14,6 @@
|
||||
#
|
||||
|
||||
current=$(sysctl -q -n dev.nss.stats.non_zero_stats)
|
||||
|
||||
sysctl -q dev.nss.stats.non_zero_stats=1
|
||||
|
||||
awk '
|
||||
@ -34,4 +33,10 @@ function color(c, s) {
|
||||
color(0, $0)
|
||||
}' $(grep -lrE "= [1-9]+" /sys/kernel/debug/qca-nss-drv/stats)
|
||||
|
||||
echo ""
|
||||
echo "________________________________________________________________________________"
|
||||
echo ""
|
||||
cat /sys/kernel/debug/qca-nss-drv/stats/cpu_load_ubi
|
||||
echo "________________________________________________________________________________"
|
||||
|
||||
sysctl -q dev.nss.stats.non_zero_stats="$current"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user