Sponsored Content
Full Discussion: Understanding Benchmarks
Top Forums Shell Programming and Scripting Understanding Benchmarks Post 302569831 by metallica1973 on Tuesday 1st of November 2011 05:29:09 PM
Old 11-01-2011
thanks for the reply. I think I confused you. This is what I am talking about

Code:
includefile=$tmpdir/include
excludefile=$tmpdir/exclude
benchmark=$logdir/.backup_benchmark
if [ $level = 0 ]; then
  touch $benchmark
  $TAR czXf $excludefile - `cat $includefile`
else
  # -N arg must start with dot to be interpreted as a filename
  $TAR czNXf ./$benchmark $excludefile - `cat $includefile`

They create a .backup_benchmark before the backup is created. Why is that?
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Linux Processing Benchmarks ?

Hello everyone. Does anyone know where to I could find published benchmarks for how a Linux box performs. It would be nice if I could find a comparison to the Windows OS. Thanks, Lance (2 Replies)
Discussion started by: lcstephens
2 Replies

2. Linux Benchmarks

Instructions for Linux Benchmarks

STEP 1: Get the source here: https://www.unix.com/source/bm.zip or https://www.unix.com/source/unix_linux_bench.tar.gz STEP 2: unzip or untar and cd into the bm directory STEP 3: make (Note: there is a pre-compiled Linux binary in the distro, so Linux users don't have to make a... (0 Replies)
Discussion started by: Neo
0 Replies

3. UNIX Benchmarks

Instructions for UNIX Benchmarks

STEP 1: Get the source here: https://www.unix.com/source/bm.zip or https://www.unix.com/source/unix_linux_bench.tar.gz STEP 2: Unzip or Untar STEP 3: make STEP 4: Run STEP: 5: Please login to www.unix.com and post test results along with platform info to: Include (if you... (0 Replies)
Discussion started by: Neo
0 Replies

4. UNIX Benchmarks

unix s/w download using benchmarks

I downloaded the unix s/w given in the bench marks to my home laptop. The C: drive isn't partitioned.The instructions are given to unzip, make and run. please list the proper ways to do the commands how to unzipa nd make them. should i partition my hard drive? (3 Replies)
Discussion started by: sravus
3 Replies

5. Windows & DOS: Issues & Discussions

Intel CPU benchmarks

Hey I was wondering if anyone knows here I can get a graph of Intel Vs AMD CPU's graph. I have found one and it's great though only for the desktop CPU. I'm also looking for one that includes the Pentium M CPU's and the next CPU's after that. This is because I'm looking at getting a laptop... (1 Reply)
Discussion started by: woofie
1 Replies

6. Linux Benchmarks

Results for Linux Benchmarks

Hi, I was trying to build Linux Benchmarks with latest Intel C++ Compiler. When I used -ipo (inter-procedural optimization) option, arithmetic test (arith.c) failed on execution. The problem is Intel compiler's advanced optimization option (-ipo) optimizes much more than expected and this... (50 Replies)
Discussion started by: cpjain
50 Replies

7. UNIX Benchmarks

FreeBSD `buildkernel' and `buildworld' Benchmarks

Just for fun, I thought I'd post my output from `time make -j4 buildworld' and `time make -j4 buildkernel' and see if anyone else had any good times. The machine is an Intel Core2Duo 2.2GHz with 2048MB DDR3. -------------------------------------------------------------- >>> Kernel build... (1 Reply)
Discussion started by: glen.barber
1 Replies

8. Virtualization and Cloud Computing

VMmark virtualization benchmarks

Hi, We have to make a decision to buy 10 new servers for MS Exchange/Domain Controller running virtual tiles and for hardware we have choice of HP Proliant DL380 G6, Dell PowerEdge R710 & IBM X3650 M2, somebody sent me comparison of VMmark virtualization performance benchmark which states that... (1 Reply)
Discussion started by: tayyabq8
1 Replies
th_get_pathname(3)						  C Library Calls						th_get_pathname(3)

NAME
th_get_pathname, th_get_uid, th_get_gid, th_get_mode, th_get_crc, th_get_size, th_get_mtime, th_get_devmajor, th_get_devminor, th_get_linkname - extract individual fields of a tar header TH_ISREG, TH_ISLNK, TH_ISSYM, TH_ISCHR, TH_ISBLK, TH_ISDIR, TH_ISFIFO - determine what kind of file a tar header refers to TH_ISLONGNAME, TH_ISLONGLINK - determine whether the GNU extensions are in use SYNOPSIS
#include <libtar.h> char *th_get_linkname(TAR *t); char *th_get_pathname(TAR *t); mode_t th_get_mode(TAR *t); uid_t th_get_uid(TAR *t); gid_t th_get_gid(TAR *t); int th_get_crc(TAR *t); off_t th_get_size(TAR *t); time_t th_get_mtime(TAR *t); major_t th_get_devmajor(TAR *t); minor_t th_get_devminor(TAR *t); int TH_ISREG(TAR *t); int TH_ISLNK(TAR *t); int TH_ISSYM(TAR *t); int TH_ISCHR(TAR *t); int TH_ISBLK(TAR *t); int TH_ISDIR(TAR *t); int TH_ISFIFO(TAR *t); int TH_ISLONGNAME(TAR *t); int TH_ISLONGLINK(TAR *t); VERSION
This man page documents version 1.2 of libtar. DESCRIPTION
The th_get_*() functions extract individual fields from the current tar header associated with the TAR handle t. The TH_IS*() macros are used to evaluate what kind of file is pointed to by the current tar header associated with the TAR handle t. The TH_ISLONGNAME() and TH_ISLONGLINK() macros evaluate whether or not the GNU extensions are used by the current tar header associated with the TAR handle t. This is only relevant if the TAR_GNU option was used when tar_open() was called. SEE ALSO
tar_open(3) University of Illinois Jan 2001 th_get_pathname(3)
All times are GMT -4. The time now is 10:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy