Sponsored Content
Top Forums Shell Programming and Scripting Dumping database results and doing checksums Post 302922089 by Samuel12 on Wednesday 22nd of October 2014 09:16:29 AM
Old 10-22-2014
Dumping database results and doing checksums

hey I am dumping two database results into two text files and doing checksums on them.

Anyone know how to do this.

I originally was doing line by line comparison and diff but I need something faster for larger gb size files. anyone got tips?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dumping files to tape

Can anyone please help.... how can I dump just a single file to tape using the ufsrestore command!!! I'm a newbie to unix and It's driving me mad.. Thanks in advance. (2 Replies)
Discussion started by: Jonathan
2 Replies

2. UNIX for Advanced & Expert Users

Dumping multiple Folders

How would i go about dumping my /home/ directory and my /root directory i currently have..... dump -f /root/backup.dp /home/ /root/ ...but dump only seems to see only my first source directory and not the second (/root in this case) anyone know a way around this..or if it is even... (1 Reply)
Discussion started by: Freakytah
1 Replies

3. BSD

Checksums in Microsoft FTP Server

hi, I wanted to know from anyone out there a way to perform a checksum command on a Microsoft FTP Server for a file and compare this with the checksum of the file that was transferred from a Unix machine. Thanks, Erick (0 Replies)
Discussion started by: ewhindle
0 Replies

4. BSD

Checksums in Microsoft FTP Server

hi, I wanted to know from anyone out there a way to perform a checksum command on a Microsoft FTP Server for a file and compare this with the checksum of the file that was transferred from a Unix machine. Thanks, Erick (1 Reply)
Discussion started by: ewhindle
1 Replies

5. UNIX for Dummies Questions & Answers

Dumping network packets

Hi, My Solaris Workstation has got 4 NICS, out of which one of them(bge3) is unplugged from the rest of the external network & connected to other interface(bge1). The isolated NIC serves as a simulated Ethernet Interface for my application under development. Now, I'd like to capture RAW... (1 Reply)
Discussion started by: smanu
1 Replies

6. Red Hat

Core Dumping?

How to now if the server is core dumping into the same filesystem? (4 Replies)
Discussion started by: 300zxmuro
4 Replies

7. Shell Programming and Scripting

Can ctag and cscope support recording search results and displaying the history results ?

Hello , When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display the preview search result? (0 Replies)
Discussion started by: 915086731
0 Replies

8. Programming

Serial file transfer protocol / checksums

Hello ppl, I'm working on a windows program simulating an existing Unix program, the program is a firmware downloader, it sends a binary firmware file through the serial port (rs232) to a Set-Top Box running under unix system too, as i'm a poor unix user and not a unix programmer i choosed the... (10 Replies)
Discussion started by: nidal
10 Replies

9. UNIX for Dummies Questions & Answers

How to store "scp" results in a database table?

Hi, When I use scp to copy a file from other location, I get the output like filename, time taken etc on console. I want to store that into a database table (in oracle). Could someone give me some pointers on how to achieve this? Regards, Sachin Vaidya (1 Reply)
Discussion started by: notthatsachin
1 Replies
db_dump(8)						      System Manager's Manual							db_dump(8)

NAME
db_dump, db_dump185 - Reads and writes the security databases (Enhanced Security) SYNOPSIS
/usr/tcb/bin/db_dump [-dN] [-f output] db_file /usr/tcb/bin/db_dump [-p] [-f output] [-h home] db_file /usr/tcb/bin/db_dump185 [-p] [-f output] db_file FLAGS
Dump the specified database in a format helpful for debugging the Berkeley DB library routines. The output format of the -d option is not standard and may change without notice between releases of the Berkeley DB library. Write to the specified file instead of to the standard output Specify a home directory for the database. The correct directory for enhanced security is /var/tcb/files. Do not acquire shared region locks while searching the database. This option is intended only for debugging and should not be used under any other circumstances. If characters in either the key or data items are printing characters (as defined by isprint, use printing characters in file to represent them. This option permits users to use standard text editors and tools to modify the contents of databases. DESCRIPTION
A customized version of the Berkeley Database (Berkeley DB) is embedded in the operating system to provide high-performance database sup- port for critical security files. The DB includes full transactional support and database recovery, using write-ahead logging and check- pointing to record changes. The db_dump utility reads the security database file db_file and writes it to the standard output using a portable flat-text format under- stood by the db_load utility. The db_dump and db_dump185 utilities are included in Tru64 UNIX for use by installation and update utilities, and are not recommended for use by system administration. The edauth utility provides a supported means of copying records from the security databases. Earlier versions of Tru64 UNIX used Version 1.85 of the Berkeley DB for enhanced security databases. So the db_dump185 utility, which is similar to the db_dump utility except that it reads databases in the format used by Berkeley DB Versions 1.85 and 1.86, is included with Tru64 UNIX. Dumping and reloading hash databases that use user-defined hash functions will result in new databases that use the default hash function. While using the default hash function may not be optimal for the new database, it will continue to work correctly. Dumping and reloading btree databases that use a user-defined prefix or comparison functions results in new databases that use the default prefix and comparison functions. In this case, it is quite likely that the database will be damaged beyond repair permitting neither record storage or retrieval. The only available workaround for either case is to modify the sources for the db_load utility to load the database using the correct hash, prefix and comparison functions. RETURN VALUES
The db_dump utility exits 0 on success, and >0 if an error occurs. The db_dump185 utility exits 0 on success, and >0 if an error occurs. ENVIRONMENT VARIABLES
If the -h option is not specified and the environment variable DB_HOME is set, it is used as the path of the database home. The home directory for security is /var/tcb/files. FILES
/var/tcb/files/auth.db /var/tcb/files/dblogs/* RELATED INFORMATION
Commands: edauth(8), db_load(8) delim off db_dump(8)
All times are GMT -4. The time now is 06:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy