ps -eO pcpu,pmem,vsz,rsz --sort -rsz,-vsz
pid: prtstat pid
ps -eo pid,state|awk '$2=="Z" {print $1}' | xargs -L1 kill -9
lsof -Pnl -i
tcpdump -s 1500 -A -vvv
netstat -Pnl --inet IPv6: netstat -Pnl --inet6
ip route show cache
ip route flush cache
showmount -e remotehost
netcat -zv remotehost port
ssh -D 8080 remotehost
ssh -NTf remotehost
ssh -w 0:0 -NTf machineb ip address add 192.168.99.2 peer 192.168.99.1 dev tun0 ip link set up dev tun0on machine B:
ip address add 192.168.99.1 peer 192.168.99.2 dev tun0 ip link set up dev tun0You may also want to masquerade traffic with iptables.
namei filename
namei -mx filename
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.