Created
April 2, 2015 22:33
-
-
Save JensRantil/f0bb27c3f08076e9ce61 to your computer and use it in GitHub Desktop.
Process hierarchy and open files when copying files locally with rsync.
This file contains 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
vagrant@precise64:~$ rsync file1 file2 & | |
[1] 1220 | |
vagrant@precise64:~$ ps fax | |
... | |
1101 pts/1 Ss 0:00 \_ -bash | |
1220 pts/1 R 0:00 \_ rsync file1 file2 | |
1221 pts/1 S 0:00 | \_ rsync file1 file2 | |
1222 pts/1 R 0:00 | \_ rsync file1 file2 | |
1223 pts/1 R+ 0:00 \_ ps fax | |
... | |
vagrant@precise64:~$ rsync file1 file2 & | |
[1] 1230 | |
vagrant@precise64:~$ lsof|grep rsync | |
rsync 1230 vagrant cwd DIR 252,0 4096 2884992 /home/vagrant | |
rsync 1230 vagrant rtd DIR 252,0 4096 2 / | |
rsync 1230 vagrant txt REG 252,0 409416 3419408 /usr/bin/rsync | |
rsync 1230 vagrant mem REG 252,0 10272 3410795 /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so | |
rsync 1230 vagrant mem REG 252,0 3164592 3413573 /usr/lib/locale/locale-archive | |
rsync 1230 vagrant mem REG 252,0 18552 2752515 /lib/x86_64-linux-gnu/libattr.so.1.1.0 | |
rsync 1230 vagrant mem REG 252,0 1802936 2752530 /lib/x86_64-linux-gnu/libc-2.15.so | |
rsync 1230 vagrant mem REG 252,0 48072 2752755 /lib/x86_64-linux-gnu/libpopt.so.0.0.0 | |
rsync 1230 vagrant mem REG 252,0 31096 2752532 /lib/x86_64-linux-gnu/libacl.so.1.1.0 | |
rsync 1230 vagrant mem REG 252,0 149280 2752534 /lib/x86_64-linux-gnu/ld-2.15.so | |
rsync 1230 vagrant mem REG 252,0 26258 3410703 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache | |
rsync 1230 vagrant 0u CHR 136,1 0t0 4 /dev/pts/1 | |
rsync 1230 vagrant 1u CHR 136,1 0t0 4 /dev/pts/1 | |
rsync 1230 vagrant 2u CHR 136,1 0t0 4 /dev/pts/1 | |
rsync 1230 vagrant 3r REG 252,0 104857600 2885003 /home/vagrant/file1 | |
rsync 1230 vagrant 4u unix 0x0000000000000000 0t0 10018 socket | |
rsync 1230 vagrant 5u unix 0x0000000000000000 0t0 10019 socket | |
rsync 1231 vagrant cwd DIR 252,0 4096 2884992 /home/vagrant | |
rsync 1231 vagrant rtd DIR 252,0 4096 2 / | |
rsync 1231 vagrant txt REG 252,0 409416 3419408 /usr/bin/rsync | |
rsync 1231 vagrant mem REG 252,0 3164592 3413573 /usr/lib/locale/locale-archive | |
rsync 1231 vagrant mem REG 252,0 18552 2752515 /lib/x86_64-linux-gnu/libattr.so.1.1.0 | |
rsync 1231 vagrant mem REG 252,0 1802936 2752530 /lib/x86_64-linux-gnu/libc-2.15.so | |
rsync 1231 vagrant mem REG 252,0 48072 2752755 /lib/x86_64-linux-gnu/libpopt.so.0.0.0 | |
rsync 1231 vagrant mem REG 252,0 31096 2752532 /lib/x86_64-linux-gnu/libacl.so.1.1.0 | |
rsync 1231 vagrant mem REG 252,0 149280 2752534 /lib/x86_64-linux-gnu/ld-2.15.so | |
rsync 1231 vagrant 1u unix 0x0000000000000000 0t0 10020 socket | |
rsync 1231 vagrant 2u CHR 136,1 0t0 4 /dev/pts/1 | |
rsync 1231 vagrant 3u unix 0x0000000000000000 0t0 10459 socket | |
rsync 1232 vagrant cwd DIR 252,0 4096 2884992 /home/vagrant | |
rsync 1232 vagrant rtd DIR 252,0 4096 2 / | |
rsync 1232 vagrant txt REG 252,0 409416 3419408 /usr/bin/rsync | |
rsync 1232 vagrant mem REG 252,0 3164592 3413573 /usr/lib/locale/locale-archive | |
rsync 1232 vagrant mem REG 252,0 18552 2752515 /lib/x86_64-linux-gnu/libattr.so.1.1.0 | |
rsync 1232 vagrant mem REG 252,0 1802936 2752530 /lib/x86_64-linux-gnu/libc-2.15.so | |
rsync 1232 vagrant mem REG 252,0 48072 2752755 /lib/x86_64-linux-gnu/libpopt.so.0.0.0 | |
rsync 1232 vagrant mem REG 252,0 31096 2752532 /lib/x86_64-linux-gnu/libacl.so.1.1.0 | |
rsync 1232 vagrant mem REG 252,0 149280 2752534 /lib/x86_64-linux-gnu/ld-2.15.so | |
rsync 1232 vagrant 0u unix 0x0000000000000000 0t0 10017 socket | |
rsync 1232 vagrant 1r REG 252,0 104857600 2885006 /home/vagrant/file2 | |
rsync 1232 vagrant 2u CHR 136,1 0t0 4 /dev/pts/1 | |
rsync 1232 vagrant 3u REG 252,0 101711872 2885007 /home/vagrant/.file2.9vidu3 | |
rsync 1232 vagrant 4u unix 0x0000000000000000 0t0 10460 socket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment