Displaying 1 result from an estimated 1 matches for "172128maxresident".
2013 Jul 19
0
if i want to delete a million files, can rsync be more faster than rm?
...d$ ./test.sh &>test.log
walkerxk at tp:~/test.d$ grep . d[12].log
d1.log:1.89user 28.20system 13:40.39elapsed 3%CPU (0avgtext+0avgdata
77632maxresident)k
d1.log:759808inputs+104outputs (0major+24631minor)pagefaults 0swaps
d2.log:3.68user 36.77system 17:54.18elapsed 3%CPU (0avgtext+0avgdata
172128maxresident)k
d2.log:630416inputs+48outputs (4major+11255minor)pagefaults 0swaps
walkerxk at tp:~/test.d$ cat test.log
ls: cannot access d1: No such file or directory
0
0
walkerxk at tp:~/test.d$ cat test.sh
#!/bin/bash
set -e
cd ~/test.d
mkdir -p d1 d2 empty
for dir in d1 d2
do
cd $dir
if [[...