nohup socat TCP-LISTEN:3306,fork TCP:172.31.65.183:3306 &
Thursday, November 21, 2019
Trace the Linux process
o Start a tcpdump on the affected systems:
-#tcpdump -s 0 -n host <ipaddress> > -w /tmp/$(hostname)-$(date +"%Y-%m-%d-%H-%M-%S").pcap &
o Gather an strace of a command that easily reproduces this issue, such as a 'cd' or ls of the directory in question:
-#strace -fvttTyyx -s 1024 -o /tmp/$(hostname)-strace.out <insert command here to reproduce the issue>
o Once the strace returns an error, stop the tcpdump:
-#killall tcpdump
-#tcpdump -s 0 -n host <ipaddress> > -w /tmp/$(hostname)-$(date +"%Y-%m-%d-%H-%M-%S").pcap &
o Gather an strace of a command that easily reproduces this issue, such as a 'cd' or ls of the directory in question:
-#strace -fvttTyyx -s 1024 -o /tmp/$(hostname)-strace.out <insert command here to reproduce the issue>
o Once the strace returns an error, stop the tcpdump:
-#killall tcpdump
Subscribe to:
Comments (Atom)
Create rpm and deb using fpm
Create rpm and deb using fpm fpm -s dir -t rpm -n unbound-exporter -v 1.0 --prefix /usr/bin unbound_exporter fpm -s dir -t rpm -n unbound...
-
#Following steps will cover how to run ansible playbook with sudo passwd saved 1) Install Ansible (...
-
Splunk admin ------------ indexer search head forwarder deployment server licence master cluster master Indexer - Indexing par...
-
SED Guide -------------- ###FEATURES COMMON TO BE BOTH AWK & SED #### 1. Both are scripting languages 2. Both work primarily w...