- Products
- Learn
- Local User Groups
- Partners
- More
Quantum Spark Management Unleashed!
Introducing Check Point Quantum Spark 2500:
Smarter Security, Faster Connectivity, and Simpler MSP Management!
Check Point Named Leader
2025 Gartner® Magic Quadrant™ for Hybrid Mesh Firewall
HTTPS Inspection
Help us to understand your needs better
CheckMates Go:
SharePoint CVEs and More!
This oneliner (see spoiler) shows you all states of all physical interfaces:
echo;echo "Interface MAC Driver Duplex Speed MTU CPU IRQ RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR";printf '%.s-' {1..169};echo;fw ctl affinity -l -v |grep Interface | awk '{system("ethtool " $2 " | grep Duplex")} {system("ethtool " $2 " | grep Speed ")} {system("ethtool -i " $2 " | grep driver ")} {system("netstat -I" $2 " | grep " $2)} {system ("ifconfig " $2 " | head -n 1")} {print $2 " " $4 " " $6 }' |xargs -n 26 | sed s/\):// | awk '{printf "%-12s %-19s %-6s %-6s %9s %5s %3s %4s %15s %10s %10s %10s %15s %10s %10s %10s \n", $7, $23 , $6, $2, $4, $8, $26, $25, $10 , $11 , $12, $13, $14, $15, $16, $17} ' |sort;echo
Output:
Or use this tool for much more information on all your gateways :
Easy View Tool - View System Info for All Gateways Simultaneously
This oneliner (see spoiler) shows you all states of all physical interfaces:
Output:
Or use this tool for much more information on all your gateways :
Easy View Tool - View System Info for All Gateways Simultaneously
Hi @Martin_Raska,
Thanks.
Here is a collection of oneliners from the forum.
One-liner collection
Maybe this will help.
Hi @Martin_Raska,
Thanks.
Here is a collection of oneliners from the forum.
One-liner collection
Maybe this will help.
;
Heiko,
it would be great if you put all one-liners into one script to have them in one place, what do you think? Great job.
Hi @Martin_Raska,
Thanks.
Here is a collection of oneliners from the forum.
One-liner collection
Maybe this will help.
Hi @Martin_Raska,
Thanks.
Here is a collection of oneliners from the forum.
One-liner collection
Maybe this will help.
;
It will show interfaces which are UP, or also interfaces which are down ?
Would be great to display all interfaces (up/down) and mention if particular interface is up or down.
Hi @JozkoMrkvicka,
I only use interface from "fw ctl affinity -l" which are used for Check Point gateways. All unused interfaces are not displayed.
Hi @JozkoMrkvicka,
I only use interface from "fw ctl affinity -l" which are used for Check Point gateways. All unused interfaces are not displayed.
;About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY