See the list of interfaces on which tcpdump can listen:
tcpdump -D
Listen on interface eth0:
tcpdump -i eth0
Listen on any available interface (cannot be done in promiscuous mode. Requires Linux kernel 2.2 or greater):
tcpdump -i any
Be verbose while capturing packets:
tcpdump -v
Be more verbose while capturing packets:
tcpdump -vv
Be very verbose while capturing packets:
tcpdump -vvv
Be verbose and print the data of each packet in both hex and ASCII, excluding the link level Read more...
Solaris
Solaris knowledge
to increase a volume and the filesystem with Veritas, we need to know first what is the max size we can increase to
# vxassist -g oradg maxsize
Maximum volume size: 214847488 (104906Mb)
Also the volume
# vxassist -g oradg maxgrow dpp
Volume dpp can be extended by 214847488 to: 361648128 (176586Mb)
with below commands we assure which filesystem it has.
# fstyp /dev/vx/dsk/oradgbindg/dpp
vxfs
# fstyp /dev/vx/dsk/oradg/dpp
ufs
Above parameter will be use with Read more...
LLT marks a high-pri link of a peer node as "troubled", if it does not receive any packet on that link for this timer interval. Once a link is marked as "troubled", LLT will not send any data on that link till the link is up.
In some circumstances, when the private networks links are very slow or nodes in the cluster are very busy, increase the value.
Increase the value for planned replacement of faulty network cable /faulty switch.
To increase the value of peertrouble run:
# lltconfig Read more...
if checking status of a device, it shows some paths in asb:iopf dead, that is cause due to an error in the SAN network, that affect the path shwoing this status.
root@solaris :/root # powermt display dev=emcpower2a
Pseudo name=emcpower2a
Symmetrix ID=000445501078
Logical device ID=3714
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### Read more...
This example will show an ASCII progress bar with information about speed of the I/O. When dd will finish it will keep showing the results.
# dd if=/dev/urandom | pv | dd of=/dev/null
below example will use a nice dialog with the message between quotes
# (pv -n /dev/uramdom | dd of=/dev/null bs=128M) 2>&1 | dialog --gauge "Running dd command (cloning), please wait..." 10 70 0