Monday 13 January 2014

SOLARIS NETWORK MONITORING

1)To Look at the response of hosts on the network
#ping HOSTNAME
#ping -s HOSTNAME
2)to Test the reliability of your packet sizes. This command can tell you whether the network is delaying packets or dropping packets.
#spray -c 100 -d 20 -l 2048 HOSTNAME
sending 100 packets of length 2048 to pluto ...
no packets dropped by pluto
279 packets/sec, 573043 bytes/sec

3)Capture packets from the network and trace the calls from each client to each server.
#snoop
4)How to Check the Network Status
Displays the state of the TCP/IP interfaces
# netstat -i
Name  Mtu  Net/Dest    Address      Ipkts  Ierrs Opkts  Oerrs Collis Queue
lo0   8232 software    localhost     1280   0     1280     0       0    0
eri0   1500 loopback    venus      1628480   0   347070    16   39354    0
Displays the IP routing table
-bash-4.1# netstat -r
Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              10.66.10.1           UG        1          0 ipmp0
arpanet              solaris2             U         7     516834 ipmp0
localhost            localhost            UH        2         96 lo0
Routing Table: IPv6
  Destination/Mask            Gateway                   Flags Ref   Use    If
--------------------------- --------------------------- ----- --- ------- -----
localhost                   localhost                   UH      2   47446 lo0
H : the route is to a host
U : the route is up
G : the route is through a gateway
D : the route was dynamically created by using a redirect

5)NFS STATS
client statistics
#nfsstatc -c
server statistics
#nfsstat -s
network statistics for earch file system
#netstat -m
bash-4.1# dlstat
           LINK    IPKTS   RBYTES    OPKTS   OBYTES
           net1  609.66K   50.33M   36.48K    4.69M
           net0  656.18K   54.37M   17.27K  725.51K
           net2        0        0        0        0
           net3  616.67K   50.83M   29.13K    2.09M
  testzone/net3  616.67K   50.83M   29.13K    2.09M

bash-4.1# dlstat show-link
           LINK    IPKTS   RBYTES    OPKTS   OBYTES
           net1  609.70K   50.34M   36.50K    4.69M
           net0  656.25K   54.38M   17.27K  725.51K
           net2        0        0        0        0
           net3  616.71K   50.84M   29.13K    2.09M
  testzone/net3  616.71K   50.84M   29.13K    2.09M

No comments:

Post a Comment