This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ sudo lsof -p 825 | tail | |
dockerd 825 root 12u REG 252,0 432522 56103087 /var/lib/docker/graph/b18d0a2076a121ed25bee8188661264efb4703910ab84c67b1b1ebe12144c15b/.migration-tardata | |
dockerd 825 root 13r REG 252,0 695 54133782 /var/lib/docker/aufs/diff/d8851364eca83f2295ccd6e057541f9a3a3b89ffb6f83710339db35c84679c73/usr/share/perl/5.14.2/unicore/lib/Bc/R.pl | |
dockerd 825 root 14r REG 252,0 2230 56234092 /var/lib/docker/aufs/diff/b18d0a2076a121ed25bee8188661264efb4703910ab84c67b1b1ebe12144c15b/usr/share/man/man8/ip-address.8.gz | |
dockerd 825 root 15r REG 252,0 2222 55314199 /var/lib/docker/aufs/diff/f8e17990ec724fdffcdb350ca60509edc76beb3d877d4d38cbb16e2acaddf491/usr/include/rdma/ib_user_sa.h | |
dockerd 825 root 16r REG 252,0 74541 59771445 /var/lib/docker/aufs/diff/2bd180a8c434513f02859665f95a5e412dd9467540abd3d0fb99931b464b3fd7/usr/lib/python2.7/pickletools.py | |
dockerd 825 root 17r DIR 252,0 4096 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ iostat -x | |
Linux 3.13.0-93-generic (ubuntu) Thursday, August 25, 2016 _x86_64_ (4 CPU) | |
avg-cpu: %user %nice %system %iowait %steal %idle | |
1.88 0.00 0.48 76.50 0.00 21.14 | |
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util | |
sda 20.30 26.46 128.67 4.47 3439.67 140.19 53.78 9.99 75.03 68.82 253.87 6.47 86.10 | |
dm-0 0.00 0.00 148.70 30.36 3437.92 140.18 39.97 16.03 89.49 71.80 176.17 4.81 86.07 | |
dm-1 0.00 0.00 0.13 0.00 0.51 0.00 8.00 0.01 55.88 55.88 0.00 42.59 0.54 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo conntrack -L |head | |
conntrack v1.4.1 (conntrack-tools): 213 flow entries have been shown. | |
tcp 6 404458 ESTABLISHED src=172.18.0.8 dst=172.18.0.5 sport=46900 dport=50051 src=172.18.0.5 dst=172.18.0.8 sport=50051 dport=46900 [ASSURED] mark=0 use=1 | |
udp 17 179 src=172.18.0.6 dst=115.54.184.202 sport=9909 dport=9909 src=115.54.184.202 dst=192.168.1.15 sport=9909 dport=9909 [ASSURED] mark=0 use=1 | |
udp 17 179 src=172.18.0.6 dst=61.52.121.141 sport=9909 dport=9909 src=61.52.121.141 dst=192.168.1.15 sport=9909 dport=9909 [ASSURED] mark=0 use=1 | |
udp 17 167 src=172.18.0.6 dst=27.42.189.212 sport=9909 dport=9909 src=27.42.189.212 dst=192.168.1.15 sport=9909 dport=9909 [ASSURED] mark=0 use=1 | |
udp 17 120 src=172.18.0.6 dst=221.218.229.187 sport=9909 dport=13573 src=221.218.229.187 dst=192.168.1.15 sport=13573 dport=9909 [ASSURED] mark=0 use=1 | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Total DISK READ : 214.84 K/s | Total DISK WRITE : 337.08 K/s | |
Actual DISK READ: 214.84 K/s | Actual DISK WRITE: 848.27 K/s | |
PID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND | |
152 be/3 root 0.00 B/s 0.00 B/s 0.00 % 94.28 % [jbd2/sda1-8] | |
10138 be/4 root 214.84 K/s 0.00 B/s 0.00 % 1.57 % bf_server -rep=/bfp2p/cache -tcp=:9998 | |
10359 be/4 root 0.00 B/s 337.08 K/s 0.00 % 0.12 % python3 /bfp2p/bin/rpc_server.py -nsqd_addr nsqd:4150 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls *.log -t | head -n 1 | xargs tail -f |grep xxxx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <event2/bufferevent_ssl.h> | |
#include <event2/bufferevent.h> | |
#include <event2/buffer.h> | |
#include <event2/event.h> | |
#include <event2/dns.h> | |
#include <openssl/ssl.h> | |
#include <iostream> | |
using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <event2/bufferevent.h> | |
#include <event2/buffer.h> | |
#include <event2/event.h> | |
#include <event2/dns.h> | |
#include <arpa/inet.h> | |
#include <iostream> | |
using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --extraintf rc --rc-host 0.0.0.0:999 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo ngrep -i "google" -d any -q | |
interface: any | |
match: google | |
U 192.168.100.3:50107 -> 192.168.100.1:53 | |
.............www.google.com..... |