strace on the active
rsync process, I can see output like:
read(4, "9\0\0\7\1\10\0\1\10\0\1\10\0\1\10\0\1\10\0\1\10\0\1\10\0\1\10\0\1\10\0\1"..., 16384) = 61 write(3, "\357\265mD0e\233:\337\250\241\363\255 \307\5\213\224d\322\323\203i\2671\222m'\252\354\n\211"..., 96) = 96
I've done some googling and didn't come up with a good answer, but could anyone explain to me how to make sense of the encoding above?
I assume it's some kind of encoding where each single character is escaped, and that the read and write calls above are using file-names. So what does it all mean, and how could I convert it easily to human readable strings?
My apologies for not providing more detailed information in the initial posting! What I was doing is to run a command like:
/usr/bin/time /usr/bin/ionice -c3 /usr/bin/rsync -cavzP --fake-super --exclude=' bla bla...' --bwlimit=40000 / backup@backup:/mnt/storagedisk/workstation-backup/
ps aux | grep rsync would then show something like:
root 7875 0.0 0.0 4064 348 pts/5 S+ 20:29 0:00 /usr/bin/time /usr/bin/ionice -c3 /usr/bin/rsync -cavzP --fake-super --exclude=... --bwlimit=40000 / backup@backup:/mnt/storagedisk/workstation-backup root 7876 15.3 0.2 52656 8384 pts/5 D+ 20:29 0:02 /usr/bin/rsync -cavzP --fake-super --exclude=... --bwlimit=40000 / backup@backup:/mnt/storagedisk/workstation-backup/ root 7877 0.0 0.0 41680 3252 pts/5 S+ 20:29 0:00 ssh -l backup backup rsync --server -vlogDtprcze.iLsf --bwlimit=40000 --partial . /mnt/storagedisk/workstation-backup/
To be honest, at this point I'm not entirely sure if it was process number 2 or 3 in that list I connected to with
strace. I think it was process number 2 in that list, and I was a bit surprised I didn't see filenames in the
strace output there, but it might as well have been process 3, and then it makes sense that the read/writes are content transferred over the network.
My apologies again for not providing detailed information the first time asking, and my initial question now seems a bit far out, as I didn't understand quite what I was looking at, so either the whole question should be rephrased, or deleted entirely as it wasn't very specific. I let the mods decide. :)