Capture packets with tcpdump in background
Hi all,
I intend to capture packets from a couple of specific devices on the network, but I don't want to leave the SSH console open.
I have launched the processes with nohup, but they are not kept when I log out. I want to capture packets for a day, because there is little traffic, but I want to be able to analyze them and I would be grateful if someone can tell me how to leave the process running after closing the ssh session.
Thank you very much.
-
there are so many ways ... https://stackoverflow.com/questions/954302/how-to-make-a-programme-continue-to-run-after-log-out-from-ssh
We use tmux
Please sign in to leave a comment.
Comments
2 comments