Re: [BackupPC-users] BUPC process monitor command alias help

2015-08-14 Thread Moorcroft, Mark (ARC-TS)[Analytical Mechanics Associates, INC.]
user discussion, questions and support; Moorcroft, Mark (ARC-TS)[Analytical Mechanics Associates, INC.] Subject: Re: [BackupPC-users] BUPC process monitor command alias help How about a function like this function watchbupc() { watch -n 10 "lsof -n | grep rsync | egrep ' (REG|DIR) &#

Re: [BackupPC-users] BUPC process monitor command alias help

2015-08-14 Thread pgeenhuizen
How about a function like this function watchbupc() { watch -n 10 "lsof -n | grep rsync | egrep ' (REG|DIR) ' | egrep -v '( (mem|txt|cwd|rtd) |/LOG)' | awk '{print $9}'"; } On 08/14/15 13:32, Moorcroft, Mark (ARC-TS)[Analytical Mechanics Associates, INC.] wrote: > watch –n10 "lsof -n | grep rsy

[BackupPC-users] BUPC process monitor command alias help

2015-08-14 Thread Moorcroft, Mark (ARC-TS)[Analytical Mechanics Associates, INC.]
I found a command that helps to monitor what BUPC is up to on the client side. I was wondering if anyone has some ideas on escaping it for use in the bash_alias file? #> watch -n10 "lsof -n | grep rsync | egrep ' (REG|DIR) ' | egrep -v '( (mem|txt|cwd|rtd) |/LOG)' | awk '{print $9}'" Mark M