Sponsored Content
Top Forums Shell Programming and Scripting Facing issues with tar and gzip ! Post 302668533 by Corona688 on Monday 9th of July 2012 10:51:57 AM
Old 07-09-2012
Why are you surprised? You are archiving all the same logs over and over. Naturally your archives get bigger over time, the later files hold all the old files plus newer ones.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

can i tar and gzip in one liner ?

hello can i combine this 2 commands in one liner command? (1 Reply)
Discussion started by: umen
1 Replies

2. UNIX for Dummies Questions & Answers

TAR and GZIP help

Hi, There are 700 .pdf files in a certain directory on the server and I need to TAR them first and then compress them using GZIP to free up the space. The combined size of the .pdf files is 3gb. However, there is only 1gb of free space on the server. So as you can see when I try to TAR these... (3 Replies)
Discussion started by: VandeMatram
3 Replies

3. UNIX for Advanced & Expert Users

tar/gzip/gz...which one to use?

P0251WLADC.svm_wl1 > /svm_wl1/billing/data/server/archive/ALLEVT $ du -k FEB2006 22050224 FEB2006 As you can see,i have a folder called "FEB2006" which is around 22 GB. i guess zip or compress wont work...( i don know how do we compress a folder) i wished to use ""tar" ( i suppose... (5 Replies)
Discussion started by: abhijeetkul
5 Replies

4. UNIX for Dummies Questions & Answers

tar and gzip

Hi, I would like to have a combined gzip and tar that will compress and create multiple output tar.gz files. I want to have multiple files output because i cannot create an archive because there is no more space on my harddisk. I cannot transfer it locally because of slow connection. I want to... (3 Replies)
Discussion started by: tungaw2004
3 Replies

5. UNIX for Advanced & Expert Users

tar and gzip extraction issues

Not sure if this is really in the right forum but here goes.... Looking for a way to extract individual compressed files from a compressed tarball WITHOUT tar -zxvf and then recompressing. Basically we need to be able to chunk out an individual compressed file while it still remains... (6 Replies)
Discussion started by: athos
6 Replies

6. UNIX for Dummies Questions & Answers

Facing issues while running a cronjob !

Hi, I am trying to run a cronjob. But while doing so I am getting the following error message :- can't open yourfile in /var/spool/cron/crontabs directory. No such file or directory How can I resolve this issue ? Please help. Thanks Please view this code tag video for... (14 Replies)
Discussion started by: acidburn_007
14 Replies

7. Shell Programming and Scripting

Facing issues with cronjobs

Hello Everyone, We have a cronjob scheduled to pick up files from one system and transfer to another system. the underlying code is a shell script. These cronjobs were working correctly until sometime. 2 days back they did not pick up the scripts but created empty logs. However when we tried... (6 Replies)
Discussion started by: Rads
6 Replies

8. Post Here to Contact Site Administrators and Moderators

Regarding facing issues while accessing UNIX.com site

Hello Moderators/Admins, This is regarding an issue which I am facing from last 7 to 8 days. Issue is while trying to access this forum(simple hitting http://unix.com) I am able to login but many times my request gets timed out or 404 error or if I am able to login it will be excessive slow even... (0 Replies)
Discussion started by: RavinderSingh13
0 Replies

9. Shell Programming and Scripting

Facing issues with rsync

Hello Gurus, I am running rsync command to copy certain Directories and files into that directories to remote server. While ruuning the command all teh files has been copied but I am facing error. The below command I am executing to copy Directories and files to remote server: rsync -avrz ssh... (3 Replies)
Discussion started by: pokhraj_d
3 Replies

10. Shell Programming and Scripting

Facing issues with shell script changes

My current requirement is to replace xxyxx string with value of date date1 variable holds a date and the current script writes html tags to a file as follows echo date1 nawk 'BEGIN{ FS="," print "<HTML>""<HEAD>""<p>Hi All,<br><br>There are no cases closed on the xxyxx" print ... (2 Replies)
Discussion started by: Rajesh A S
2 Replies
PMAFM(1)						      General Commands Manual							  PMAFM(1)

NAME
pmafm - Performance Co-Pilot archive folio manager SYNOPSIS
pmafm folioname [command [arg ...]] DESCRIPTION
A collection of one or more Performance Co-Pilot (PCP) archive logs may be combined with a control file to produce a PCP archive folio. Archive folios are created using either mkaf(1) or the interactive ``record mode'' services of PCP clients like pmchart(1). pmafm provides a number of services that may be used to process folios. In particular, it provides support for execution of PCP tools using one or more of the component archive logs within an archive folio. The target folio is identified by the folio control file folioname. The syntax for a folio control file is described in mkaf(1). If present, the command and arguments following folioname are interpreted and executed as a single command, otherwise commands are read from standard input. The following commands are supported. archives Subsequent commands apply to all archives in the folio. archives N[,...] Archives within a folio are numbered 1, 2, etc. Subsequent commands are restricted to apply only to the designated archives. archives name[,...] Archives within a folio have unique names. Subsequent commands are restricted to apply only to the designated archives. check Validate the presence and format of each file in the folio and the component archives. help A brief reminder of the command syntax. ? is a synonym for help. hosts Subsequent commands apply to all archives in the folio. hosts hostname[,...] Subsequent commands are restricted to apply only to those archives that match the designated hostnames. list [verbose] Display the contents of the folio. By default the control header and the ordinal number, hostname and archive base name for each archive in the folio. The verbose option causes pmafm to dump the label record from each archive using pmdumplog -l. The first named archive in the folio is assumed to be associated with the default host for any tool that tries to replay multiple archives from the folio. quit Exit pmafm. remove Echo on standard output the sh(1) commands required to remove all of the physical files associated with this archive folio. repeat tool [arg ...] Execute the known PCP tool once per selected archive. For example, the command repeat pmval -t60 kernel.all.load would run pmval(1) once per archive, with an appropriate -a argument. replay Some archive folios are created by tools (e.g. pmchart(1)) that provide sufficient information to allow all of the information in all of the archives of a folio to be replayed. [run] tool [arg ...] Execute the known PCP tool on the selected archives. Some PCP tools are able to process multiple concurrent archives, and in this case the tool is run once with the list of all selected archives passed via a -a argument. Otherwise, this command is synonymous with repeat. selections Display those archives that would be selected for processing with a repeat, replay or run command. The restrictions via any hosts and archives commands are conjuncted. These restrictions serve to limit the specific archives processed in the subsequent repeat, replay, run and selections commands. By default, all archives are selected. Keywords in commands may be abbreviated provided no ambiguity is introduced, e.g. help, hel and he are synonymous, but h is ambiguous. FILES
$PCP_SYSCONF_DIR/pmafm/* control files that define the behavior of each PCP tool known to pmafm. This information may be customized or extended, see $PCP_SYSCONF_DIR/pmafm/pcp for documentation of the syntax and semantics of these files. $HOME/.pcp/pmafm/* User customization of the control files. All files in this directory are treated in the same manner as control files in the $PCP_SYSCONF_DIR/pmafm directory. PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura- tion file, as described in pcp.conf(5). SEE ALSO
mkaf(1), pmchart(1), pmview(1), PMAPI(3), pmRecordSetup(3), pcp.conf(5) and pcp.env(5). DIAGNOSTICS
Many, but all are intended to be easily understood. Performance Co-Pilot PCP PMAFM(1)
All times are GMT -4. The time now is 08:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy