Sponsored Content
Operating Systems AIX How to get data from SNAP file? Post 302987537 by gull04 on Monday 12th of December 2016 08:54:10 AM
Old 12-12-2016
Hi,

The TZ variable is usually set in the /etc/environment file, I would imagine that this is held in the first part of the file however;

When you look at the snap file what do you see when you run;

Code:
pax < filename

The snap utility can be run with a number of switches, one of these invokes split if this has been done you should see a number of files like below.

Code:
filename.aaa
filename.aab
filename.aac
filename.aad

In order to read these it may be necessary to use cat to concatenate the files and the pipe the output to pax.

Code:
cat filename.aaa filename.aab filename.aac filename.aad | pax

Regards

Gull04

Last edited by gull04; 12-12-2016 at 09:57 AM.. Reason: Additional Information
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

dump .snap question

When using dump, a .snap directory is created in the partition being dumped. I have searched for the reason this directory is created but haven't found any information on its purpose. I have monitored the .snap directory during a dump and I have never seen any files appear in during the dump so... (3 Replies)
Discussion started by: thumper
3 Replies

2. AIX

script which take a snap shot of Topas

can any one give me a script which take a snap shot of Topas at a fix interval of 15min and save it in a perticular file!!!!!!!! (6 Replies)
Discussion started by: abhishek27
6 Replies

3. UNIX for Dummies Questions & Answers

snap file for other system?

Hi all For AIX we can snap -gc gather the info how abt other systems is solaris and linux? thanks in advance jiajin (0 Replies)
Discussion started by: lijiajin
0 Replies

4. Red Hat

SNAP EDR issue.

Hi, Does anybody use Enterprise Data Replicator for Network Attached Storage replication. If you do, Do you get the following message in replication logs. "Replication Source file agent No heart beats from the remote target agent on snap01 for 300 seconds: Assuming connection failure" ... (1 Reply)
Discussion started by: uxadmin007
1 Replies

5. AIX

Unable to execute snap command

Hi Friends, I am not able to execute snap -a command in AIX 6 system. Could you please let me know how to make work this command and Path to be set. Thanks in Advance Siva. (4 Replies)
Discussion started by: sivakumarl
4 Replies

6. UNIX for Dummies Questions & Answers

Mapping a data in a file and delete line in source file if data does not exist.

Hi Guys, Please help me with my problem here: I have a source file: 1212 23232 343434 ASAS1 4 3212 23232 343434 ASAS2 4 3234 23232 343434 QWQW1 4 1134 23232 343434 QWQW2 4 3212 23232 343434 QWQW3 4 and a mapping... (4 Replies)
Discussion started by: kokoro
4 Replies

7. Shell Programming and Scripting

Extract header data from one file and combine it with data from another file

Hi, Great minds, I have some files, in fact header files, of CTD profiler, I tried a lot C programming, could not get output as I was expected, because my programming skills are very poor, finally, joined unix forum with the hope that, I may get what I want, from you people, Here I have attached... (17 Replies)
Discussion started by: nex_asp
17 Replies

8. Ubuntu

Ubuntu snap deduplication

Hi, I think the ubuntu snap is great idea. However the fact that it may contain duplications has two disadvantages. 1) eating more space in the storage. 2) eating more space in the internal memory (RAM), it will load the same library more than once to the memory. Now the solution for this is... (0 Replies)
Discussion started by: programAngel
0 Replies
ZGREP(1)                                                      General Commands Manual                                                     ZGREP(1)

NAME
zgrep - search possibly compressed files for a regular expression SYNOPSIS
zgrep [ grep_options ] [ -e ] pattern filename... DESCRIPTION
Zgrep invokes grep on compressed or gzipped files. These grep options will cause zgrep to terminate with an error code: (-[drRzZ]|--di*|--exc*|--inc*|--rec*|--nu*). All other options specified are passed directly to grep. If no file is specified, then the standard input is decompressed if necessary and fed to grep. Otherwise the given files are uncompressed if necessary and fed to grep. If the GREP environment variable is set, zgrep uses it as the grep program to be invoked. EXIT CODE
2 - An option that is not supported was specified. AUTHOR
Charles Levert (charles@comm.polymtl.ca) SEE ALSO
grep(1), gzexe(1), gzip(1), zdiff(1), zforce(1), zmore(1), znew(1) ZGREP(1)
All times are GMT -4. The time now is 09:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy