Sponsored Content
Full Discussion: (Req)Shell script req
Top Forums Shell Programming and Scripting (Req)Shell script req Post 302216239 by joeyg on Friday 18th of July 2008 10:39:25 AM
Old 07-18-2008
Question More info needed on your environment...

As zaxxon asked previously.
Where is data stored?
How do you want (or can) move data elsewhere?

You can
> cp /ora/8i/data/*.db /backup/ora/8i/data

or you can do some kind of find command
> find blah-blah -exec some-special-commands

Without specifics, it can be hard for anyone here to understand what you need. This is especialy so for those of us without an Oracle system and thus the knowledge of how that data is stored.

So, the more details, the better.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Req:Advanced kernel bible

Hi I am looking out for a book which will help admins to fine tune kernel & know in & out of it.. (Linux or Solaris.) Can anyone suggest me a gud book. thanks gokul. (3 Replies)
Discussion started by: gokulagiridaran
3 Replies

2. Solaris

Suggestions Req

Hi all, I have worked on HP UNIX and now i have moved to SunSolaris which i never used to work. I am more on programming side like shell and perl scripting. So i want to know from you experts that i need to take care or changes which i code in sun solaris in compared to HP unix. Suggestions... (1 Reply)
Discussion started by: ravi.sadani19
1 Replies

3. IP Networking

ARP Req Pkt

Does ARP Request packet Contains MAC Address of dest during broadcast? I found It So... When i captured ARP Req Pkts on ethereal... Rgds -Meti (1 Reply)
Discussion started by: ashokmeti
1 Replies

4. UNIX for Dummies Questions & Answers

Req the mail send from unix script

Hi , I want to send mail in my script when i am not a super user. Can some one help me on that .. Regards, Balamani (1 Reply)
Discussion started by: Balamani
1 Replies

5. Linux

Help req for...shell script to catch "db2 connect" errors ...

Hello friends, Assume that, I am trying to execute a "db2 connect" command from Linux shell prompt via a shell script called "sample" sample db2 connect to bas39 $sample If the database is not present its should display a custom error message by catching the error message given by db2.... (1 Reply)
Discussion started by: frozensmilz
1 Replies

6. Shell Programming and Scripting

[REQ] Automatic script kill process

HI, I'm using CentOS 5.1 x86_64, CPanel .. a lot of my users used too much resource, i want to write a script to kill all of them. Eg: LFD always notify me: Time: Sun Apr 27 07:40:08 2008 Account: xxxx (my user) Resource: Virtual Memory Size Exceeded: 110 > 100 (MB)... (3 Replies)
Discussion started by: onisoc
3 Replies

7. Shell Programming and Scripting

Urgent help req with grep + sed

HI all, i have a line in a file it cantains one;two_1_10;two_2_10;two_3_10;three~ now i need to get the output as one;two_1_abc_10;two_2_abc_10;two_3_abc_10;three~ ( 1 should be replaced with 1_abc for two__10 , and one more thing the number of occurances of two_value_10 will be... (1 Reply)
Discussion started by: 2001.arun
1 Replies

8. Shell Programming and Scripting

Req help on writing shell script

My script needs user input within time period of 1 min or may be with within 30 sec. Flow diagram: if (user provides input within 1 min) then script runs on the basis of user input else script runs on the basis of default input(hard coded in the script) .Any help in this script is... (1 Reply)
Discussion started by: pvr_satya
1 Replies

9. Solaris

Help req for Patching on Solaris 10 Zones

Hi Experts, Can advise on this: Global zone running on solaris 10, & the local zones on top running on solaris 9, but we need to patch the solaris 9 local zones & also the solaris 10 global zone. Which should be patched first to avoid any crash in case, first local zones... (1 Reply)
Discussion started by: fizan
1 Replies

10. Shell Programming and Scripting

Splitting file - custom req.

Hello everybody, I have a file to split in a bit different way. My file looks like this: My_file.dat 123333333|01|38|440X|P 384747382|32|31|440X|P 320384743|32|54|420Y|I 843739349|12|43|420Y|I I need to split it into: MYFILE_440X_P.dat 123333333|01|38 384747382|32|31 ... (3 Replies)
Discussion started by: bijou
3 Replies
SAM_DATA_RESTORE(3)				    Corosync Cluster Engine Programmer's Manual 			       SAM_DATA_RESTORE(3)

NAME
sam_data_restore - Restore previously saved user data SYNOPSIS
#include <corosync/sam.h> cs_error_t sam_data_restore (void *data, size_t size); DESCRIPTION
The sam_data_restore function is used to restore data, previously saved by calling sam_data_store(3). Such data survives between instances. The data parameter is pointer to memory initialized by caller. Stored data are copied there. This also means, that caller is responsible for freeing memory. The size parameter is length of data. This one must be at least same length as previously stored data otherwise error is returned. Parame- ter can be larger but only stored data size bytes are changed. Use sam_data_getsize(3) to find out length of stored data. RETURN VALUE
This call return CS_OK value if successful, otherwise and error is returned. ERRORS
CS_ERR_BAD_HANDLE component was not initialized by calling sam_initialize(3) or it was finalized. CS_ERR_INVALID_PARAM data parameter is NULL or size is less then currently stored data length SEE ALSO
sam_data_getsize(3), sam_data_store(3) CS_ERR_TRY_AGAIN Resource temporarily unavailable CS_ERR_INVALID_PARAM Invalid argument CS_ERR_ACCESS Permission denied CS_ERR_LIBRARY The connection failed CS_ERR_INTERRUPT System call inturrupted by a signal CS_ERR_NOT_SUPPORTED The requested protocol/functuality not supported CS_ERR_MESSAGE_ERROR Incorrect auth message received CS_ERR_NO_MEMORY Not enough memory to completed the requested task corosync Man Page 04/15/2010 SAM_DATA_RESTORE(3)
All times are GMT -4. The time now is 10:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy