|
| cool Statistics |
| | coolcommands: | 1313 | | Categories: | 82 | | Total queries: | 523831 | | Members: | 4281 | |
|
|
|
 |
|
|
Search coolcommands.com
 |
Submitted by:
lvo   |
coolcommand
fw - how to display the status of target hosts in Checkpoint Firewall-1 |
Description
To display the status of target hosts in Checkpoint Firewall-1, use the fw stat command.
The default format displays the following information for each host: host name, Rule Base (or FireWall Module) file name, date and time loaded, and the interface and direction loaded.
# fw stat [-all | -conf confile] [-long] [-short] [-inactive] targets
where:
-short : use short format; for each direction and interface, displays host name, direction, interface, Rule Base file name and loading date.
-long : use long format; in addition to short format, displays number of packets in each of the following categories: total, rejected, dropped, accepted, and logged.
-inactive : display status of inactive interfaces too (using the selected format). An inactive interface is an interface that had no packet flow since the last time the Rule Base was loaded on that interface.
Examples:
# fw stat
# fw stat -s -a
# fw stat -l gateway1 |
Example
fw stat |
Return to search results
 |  |  |  |
Random coolcommands
coolcommand: dircount.sh - script to count number of files in all subdirectories of a given directory
Example: dircount.sh /usr/local
[show me the details] |
coolcommand: tcpdump - sniff network traffic
Example: tcpdump -i en0 host 172.20.5.102 and not host 172.26.25.36
[show me the details] |
coolcommand: how to find the file where all the filesystem descriptions are in IBM AIX
Example: /etc/filesystems
[show me the details] |
coolcommand: how to remount the root filesystem to make it writable in Sun Solaris
Example: mount -F ufs -o rw,remount /
[show me the details] |
|
|
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts
|  |  |  |  |
|
|
|
|
 |
|
|
|
Top 5 Submitters
|
|---|
| lvo | 1138 |
| audet | 37 |
| kah00na | 32 |
| Mariom | 24 |
| lebjf000 | 13 |
Top 5 Searches
|
| Category Solaris | 42690 |
| Category AIX | 38082 |
| Category General UNIX | 34254 |
| solaris | 20802 |
| aix | 19388 |
|
|
|
|