Quantcast
Channel: Nikhil Chavan
Viewing all articles
Browse latest Browse all 4

Monitor a running process on a ubuntu server

$
0
0

The use case I had for this was when I wanted to copy over a large data from one server to another and this was going to take a couple of hours.

So I just started the rcyncas a background process on the server and used the following command to monitor the process output from time to time.

sudo strace -e open $(ps -o lwp= -LC rsync | sed 's/^/-p/')

The post Monitor a running process on a ubuntu server appeared first on Nikhil Chavan.


Viewing all articles
Browse latest Browse all 4

Trending Articles