Re: [BackupPC-users] Log files
2013-03-12 04:36:57
I just subscribed to the list so I missed Carl's image generator you are
talking
about. Is there a link somewhere ?
btw my perl foo is also pretty bad and this is a transcription of an awk
implementation
I had before, that's why it's full of C constructs.
Tobias
-----Message d'origine-----
De : Carl Wilhelm Soderstrom [mailto:chrome AT real-time DOT com]
Envoyé : lundi 11 mars 2013 22:26
À : General list for user discussion, questions and support
Objet : Re: [BackupPC-users] Log files
On 03/09 12:56 , Tobias Oed wrote:
> Hello,
> I'm trying to figure out some performance issues with a backuppc
> install. In order to see what was going on I wrote a little script to convert
> the logs to ascii art. The output looks like this:
>
> 2013-02-27 18:00:02 -> 2013-02-27 23:00:02 (2013-02-27 22:50:07)
> peche 2: |FFFFFFFFFFFFFFl
> |
> eddie 3: | FFFFFFFFFFFFFFl
> |
> ellie 2: | FFFl
> |
> crashrsync 3: | IIIIIIIIIIIIIIIIIIIIIIIIIl
> |
> sid 2: | IIIIIIIIIIIIIIIIIIIIIL
> |
<snip>
Thanks for posting this. It's not quite as fancy as the image-graph generator
that Carl Cravens posted recently; but it is simpler to operate which is good.
My perl-fu is nonexistent, tho I can understand enough about it to realize I
needed to run some commands like:
cd /var/lib/backuppc/log
/usr/share/backuppc/bin/BackupPC_zcat LOG.1.z >> /var/tmp/bpc-log.txt
/usr/share/backuppc/bin/BackupPC_zcat LOG.0.z >> /var/tmp/bpc-log.txt
/usr/share/backuppc/bin/BackupPC_zcat LOG >> /var/tmp/bpc-log.txt chmod +x
~user/gant.pl ~user/gant.pl -c 80 -d 40 < /var/tmp/bpc-log.txt
I'm not quite clear on what the 'duration' means (tho I'm guessing it's the
number of hours to take data from). Also, why didn't I get nicely lined up
output like you did?
# ~user/gant.pl -c 80 -d 40 < /var/tmp/bpc-log.txt
2013-03-09 17:00:32 -> 2013-03-11 10:00:32 (2013-03-11 16:04:12)
localhost 4: |Il Il |
zimbra.example 4: | il il |
ftp-2.example 4: | il il |
gatekeeper.example 4: | il il |
samba-1.example-os 4: | il il |
avg10.example 4: | il il |
toppan.example 4: | il il |
nagios.example 4: | il il |
microvu.example 4: | Il Il |
Also, what do the 'i,I,l,L,F' characters mean?
--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to tackle
endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|