search for: num_files

Displaying 20 results from an estimated 27 matches for "num_files".

Did you mean: num_file
2006 Sep 21
0
layer7 http
hello, I try to use layer7 filter to classify packets. I have a proble with http match. This protocol seems to work well with l7-filter (http://l7-filter.sourceforge.net/protocols) but for me nothing is filtering in http class. Someone can help me ? Here is my script : #!/bin/bash IPT_BIN=/sbin/iptables TC_BIN=/sbin/tc INTER_OUT=ppp0 LINK_RATE_UP=1000Kbit RATE_ACK=200Kbit RATE_DEFAULT=100Kbit
2007 Feb 07
3
Redirect --stats to STDERR.
.../@@ -227,39 +227,39 @@/ / {/ / if (do_stats) {/ / rprintf(FCLIENT, "\n");/ /- rprintf(FINFO,"Number of files: %d\n", stats.num_files);/ /- rprintf(FINFO,"Number of files transferred: %d\n",/ /+ rprintf(FERROR,"Number of files: %d\n", stats.num_files);/ /+ rprintf(FERROR...
2004 Jan 13
3
Progress reporting: N more to check
...long diff = msdiff(&start_time, now); double rate = diff ? (double) (ofs-start_ofs) * 1000.0 / diff / 1024.0 : 0; @@ -72,10 +74,16 @@ static void rprint_progress(OFF_T ofs, O remain_m = (int) (remain / 60.0) % 60; remain_h = (int) (remain / 3600.0); + if (is_last) { + int todo = stats.num_files - stats.num_untransferred_files + - stats.num_transferred_files; + snprintf(eol, sizeof eol, " (#%d; %d more to check)\n", + stats.num_transferred_files, todo); + } else + strcpy(eol, "\r"); rprintf(FINFO, "%12.0f %3d%% %7.2f%s %4d:%02d:%02d%s", (double) o...
2008 Oct 22
1
[PATCH] Make progress output show "done" instead of "to-chk".
...-- a/progress.c +++ b/progress.c @@ -72,9 +72,9 @@ static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now, if (is_last) { int len = snprintf(eol, sizeof eol, - " (xfr#%d, to-chk=%d/%d)\n", + " (xfr#%d, done=%d/%d)\n", stats.xferred_files, - stats.num_files - current_file_index - 1, + current_file_index, stats.num_files); if (INFO_GTE(PROGRESS, 2)) { static int last_len = 0; -- 1.6.0.2.593.g91df
2016 Aug 20
0
[PATCH 2/3] qemu: Implement virtio-pstore device
Add virtio pstore device to allow kernel log files saved on the host. It will save the log files on the directory given by pstore device option. $ qemu-system-x86_64 -device virtio-pstore,directory=dir-xx ... (guest) # echo c > /proc/sysrq-trigger $ ls dir-xx dmesg-1.enc.z dmesg-2.enc.z The log files are usually compressed using zlib. Users can see the log messages directly on the
2016 Nov 10
0
[PATCH 2/3] qemu: Implement virtio-pstore device
On Fri, Sep 16, 2016 at 07:05:47PM +0900, Namhyung Kim wrote: > On Tue, Sep 13, 2016 at 06:57:10PM +0300, Michael S. Tsirkin wrote: > > On Sat, Aug 20, 2016 at 05:07:43PM +0900, Namhyung Kim wrote: > > > Add virtio pstore device to allow kernel log files saved on the host. > > > It will save the log files on the directory given by pstore device > > > option.
2011 Aug 05
2
Which is more efficient?
...i ] <- t.test ( temp[ , j ], temp[ , k ], var.equal=TRUE) ------------- I have three loops, i, j, k. One to test the all of <i> files in a directory. One to tease out column <j> and compare it by means of t-test to column <k> in each of the files. --------------- for ( i in 1:num_files ) { temp <- read.table ( files_to_test [ i ], header=TRUE, sep="\t") num_cols <- ncol ( temp ) ## Define Columns To Compare ## for ( j in 2 : num_cols ) { for ( k in 3 : num_cols ) { ## t-test ## colA <- temp [ , j ] colB <- temp...
2004 Aug 10
2
out of memory in receive_file_entry rsync-2.6.2
...uer" # evil hack to get around rsync's 3mil file limit # Accepts two arguments as the srcpath and dstpath. Will not work # if srcpath is local. srchost=`echo $1 | awk -F: '{ print $1 }'` srcdir=`echo $1 | awk -F: '{ print $2 }'` num_files=`ssh root@$srchost "find $srcdir | wc -l"` if [ $((num_files)) -gt 2000000 ] then echo "WARNING! file count greater than 2mil, recursing into subdirs." for file in `ssh root@$srchost "ls $srcdir"` do...
2018 Jan 24
4
geo-replication command rsync returned with 3
....any idea ? best regards Dietmar gfs 3.12.5 geo-rep log on master : [2018-01-24 15:50:35.347959] I [master(/brick1/mvol1):1385:crawl] _GMaster: slave's time stime=(1516808792, 0) [2018-01-24 15:50:35.604094] I [master(/brick1/mvol1):1863:syncjob] Syncer: Sync Time Taken duration=0.0294??? num_files=1??? job=2??? return_code=3 [2018-01-24 15:50:35.605490] E [resource(/brick1/mvol1):210:errlog] Popen: command returned error??? cmd=rsync -aR0 --inplace --files-from=- --super --stats --numeric-ids --no-implied-dirs --existing --xattrs --acls --ignore-missing-args . -e ssh -oPasswordAuthentica...
2017 Sep 29
1
Gluster geo replication volume is faulty
...aulty N/A N/A Here is the output of the geo replication log file [root at gfs1 ~]# tail -n 100 $(gluster volume geo-replication gfsvol geo-rep-user at gfs4::gfsvol_rep config log-file) [2017-09-29 15:53:29.785386] I [master(/gfs/brick2/gv0):1860:syncjob] Syncer: Sync Time Taken duration=0.0357 num_files=1 job=3 return_code=12 [2017-09-29 15:53:29.785615] E [resource(/gfs/brick2/gv0):208:errlog] Popen: command returned error cmd=rsync -aR0 --inplace --files-from=- --super --stats --numeric-ids --no-implied-dirs --existing --xattrs --acls . -e ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=...
2018 Jan 25
0
geo-replication command rsync returned with 3
...t; > gfs 3.12.5 geo-rep log on master : > > [2018-01-24 15:50:35.347959] I [master(/brick1/mvol1):1385:crawl] > _GMaster: slave's time stime=(1516808792, 0) > [2018-01-24 15:50:35.604094] I [master(/brick1/mvol1):1863:syncjob] > Syncer: Sync Time Taken duration=0.0294 num_files=1 job=2 > return_code=3 > [2018-01-24 15:50:35.605490] E [resource(/brick1/mvol1):210:errlog] > Popen: command returned error cmd=rsync -aR0 --inplace --files-from=- > --super --stats --numeric-ids --no-implied-dirs --existing --xattrs --acls > --ignore-missing-args . -e ssh -o...
2004 Sep 03
1
more filelist --stats
...opyright (C) by Andrew Tridgell 1996, 2000 Copyright (C) Paul Mackerras 1996 Copyright (C) 2001, 2002 by Martin Pool <mbp@samba.org> @@ -520,6 +521,8 @@ int64 literal_data; int64 matched_data; int flist_size; + time_t flist_buildtime; + time_t flist_xfertime; int num_files; int num_transferred_files; int current_file_index;
2007 Aug 01
0
[PATCH] prevent negative "time left" values with --progress when file grows
...tman Index: progress.c =================================================================== RCS file: /cvsroot/rsync/progress.c,v retrieving revision 1.23 diff -u -r1.23 progress.c --- progress.c 10 Jul 2007 13:55:49 -0000 1.23 +++ progress.c 1 Aug 2007 12:43:33 -0000 @@ -104,9 +104,16 @@ stats.num_files); } else strlcpy(eol, "\r", sizeof eol); - rprintf(FCLIENT, "%12s %3d%% %7.2f%s %4d:%02d:%02d%s", - human_num(ofs), pct, rate, units, - remain_h, remain_m, remain_s, eol); + if (remain < 0) + /* file size increased on sending side during xfer */ + /* so prevent negat...
2016 Aug 20
7
[RFC/PATCHSET 0/3] virtio: Implement virtio pstore device (v3)
Hello, This is another iteration of the virtio-pstore work. In this patchset I addressed most of feedbacks from previous version and drooped the support for PSTORE_TYPE_CONSOLE for simplicity. It'll be added once the basic implementation * changes in v3) - use QIOChannel API (Stefan, Daniel) - add bound check for malcious guests (Daniel) - drop support PSTORE_TYPE_CONSOLE for now
2016 Aug 20
7
[RFC/PATCHSET 0/3] virtio: Implement virtio pstore device (v3)
Hello, This is another iteration of the virtio-pstore work. In this patchset I addressed most of feedbacks from previous version and drooped the support for PSTORE_TYPE_CONSOLE for simplicity. It'll be added once the basic implementation * changes in v3) - use QIOChannel API (Stefan, Daniel) - add bound check for malcious guests (Daniel) - drop support PSTORE_TYPE_CONSOLE for now
2018 Jan 25
2
geo-replication command rsync returned with 3
...p log on master : > > [2018-01-24 15:50:35.347959] I [master(/brick1/mvol1):1385:crawl] > _GMaster: slave's time??? stime=(1516808792, 0) > [2018-01-24 15:50:35.604094] I > [master(/brick1/mvol1):1863:syncjob] Syncer: Sync Time Taken??? > duration=0.0294??? num_files=1 job=2??? return_code=3 > [2018-01-24 15:50:35.605490] E > [resource(/brick1/mvol1):210:errlog] Popen: command returned > error??? cmd=rsync -aR0 --inplace --files-from=- --super --stats > --numeric-ids --no-implied-dirs --existing --xattrs --acls > --ignore-miss...
2018 Jan 29
0
geo-replication command rsync returned with 3
...t; >> [2018-01-24 15:50:35.347959] I [master(/brick1/mvol1):1385:crawl] >> _GMaster: slave's time??? stime=(1516808792, 0) >> [2018-01-24 15:50:35.604094] I >> [master(/brick1/mvol1):1863:syncjob] Syncer: Sync Time Taken??? >> duration=0.0294??? num_files=1 job=2??? return_code=3 >> [2018-01-24 15:50:35.605490] E >> [resource(/brick1/mvol1):210:errlog] Popen: command returned >> error??? cmd=rsync -aR0 --inplace --files-from=- --super --stats >> --numeric-ids --no-implied-dirs --existing --xattrs --acls >&g...
2016 Aug 24
2
[PATCH 2/3] qemu: Implement virtio-pstore device
> diff --git a/hw/virtio/virtio-pstore.c b/hw/virtio/virtio-pstore.c > new file mode 100644 > index 0000000..b8fb4be > --- /dev/null > +++ b/hw/virtio/virtio-pstore.c > @@ -0,0 +1,699 @@ > +/* > + * Virtio Pstore Device > + * > + * Copyright (C) 2016 LG Electronics > + * > + * Authors: > + * Namhyung Kim <namhyung at gmail.com> > + * > + * This
2016 Aug 24
2
[PATCH 2/3] qemu: Implement virtio-pstore device
> diff --git a/hw/virtio/virtio-pstore.c b/hw/virtio/virtio-pstore.c > new file mode 100644 > index 0000000..b8fb4be > --- /dev/null > +++ b/hw/virtio/virtio-pstore.c > @@ -0,0 +1,699 @@ > +/* > + * Virtio Pstore Device > + * > + * Copyright (C) 2016 LG Electronics > + * > + * Authors: > + * Namhyung Kim <namhyung at gmail.com> > + * > + * This
2013 May 20
1
[PATCH] xfstests: btrfs 308: regression test for btrfs send
I''m not sure how the numbering is supposed to work now that we''ve split everything out so I''m just going with the next number in the directory. This is a regression test for btrfs send, we had a problem where we''d try to send a file that had been deleted in the source snapshot. This is just to make sure we don''t have the same problem in the future.