coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Monday September 6, 2010


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 26 guests online

Newest Member

Starmamex

Hit Counter
4760785 Visitors

cool Statistics
coolcommands:1313
Categories:82
Total queries:523831
Members:4281





Search coolcommands.com
Search Keyword:


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



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1138
audet37
kah00na32
Mariom24
lebjf00013

Top 5 Searches

Category Solaris42690
Category AIX38082
Category General UNIX34254
solaris20802
aix19388

Terms of Use
Privacy
Contact


 
coolcommands.com © 2010. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum