Sponsored Content
Top Forums Shell Programming and Scripting Automation, Copy, File Status Check --> Script(s) Post 302695797 by karthi_mrkg on Monday 3rd of September 2012 10:36:10 PM
Old 09-03-2012
any more inputs?

---------- Post updated at 10:36 AM ---------- Previous update was at 10:19 AM ----------

is it possible to create instance for a single script? My requirment is i need to run the same script for different countries. say for example, I have a input parameter called "CountryCode". If i pass, INDIA, The script needs to create an instance and should run. Parallely if i pass 'UK', the same script should create an instance for UK and should run. is it possible to create multiple instance for a shell script?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to check exit status in awk script

Hi, I have a main program which have below lines - awk -f test.awk inputFileName - I wonder how to check status return from awk script. content of awk script: test.awk --- if ( pass validation ) { exit 1 } else { (1 Reply)
Discussion started by: epall
1 Replies

2. Shell Programming and Scripting

Script to check status of a PID

i'm just learning scripting, and have been banging my head against this I want to check if my WAS6 java process is running and if so..echo me a messages. If not then echo me a different messages the problem i have is I dont know how to represent a NULL return value. If i grep for a was6... (14 Replies)
Discussion started by: zeekblack
14 Replies

3. Shell Programming and Scripting

How to track exit status of ftp automation

ftp automation code is ftp -v -n -i $host_name << EOF user $u_name $u_pass bi mput $tar_file bye EOF How to check whether the file is successfully transfered or not. Suppose the user name or password is provided wrongly then the code should track the error and ask the end user to enter... (2 Replies)
Discussion started by: Dip
2 Replies

4. Shell Programming and Scripting

shell script to take input from a text file and perform check on each servers and copy files

HI all, I want to script where all the server names will be in a text file like server1 server2 server3 . and the script should take servernames from a text file and perform copy of files if the files are not present on those servers.after which it should take next servername till the end of... (0 Replies)
Discussion started by: joseph.dmello
0 Replies

5. Shell Programming and Scripting

Help....script check status if see something then send email

autorep -m bogus Machine Name Max Load Current Load Factor O/S Status ___________ ________ ___________ ______ ________ ______ bogus --- --- 1.00 Sys Agent Online Status ______ Online Offline Missing Unqualified The "Status" always "Online". I like create a script execute run... (6 Replies)
Discussion started by: dotran
6 Replies

6. Shell Programming and Scripting

How to check the status of script for every 5 min?

Hi, Can any1 provide the code for my req: I am loading few set of files into database through one unix script. I ll try to describe the process: load_cdr-->main script Source Feeds are A & B. File in A-akm.dat File in B-bkm.dat Now my script runs through cron jobs everyday...and for both... (6 Replies)
Discussion started by: gnnsprapa
6 Replies

7. Linux

Check up the status of a Script (running or not)

Hello, i allready search on google und here in the local Forum, but can't found something. I need a query in php, that check whether a process (script) is running or not. Like this: php query: /usr/bin/Script01 >> if runnig, then: "Script01 is Online", if not "Script01 is Offline" I... (2 Replies)
Discussion started by: ProTechEx
2 Replies

8. Shell Programming and Scripting

Shell script which will check the target file and folder exists and copy it

Hi All, I am a beginner in this and trying to write a shell script in linux which will : 1. Ask for a file name and check if its exists. 2. If file exists only then it will ask for the new target folder, after entering target folder name it will check if it exists. 3. If target folder... (3 Replies)
Discussion started by: ashish_neekhra
3 Replies

9. Shell Programming and Scripting

Script to check process status

Hi Team, I am using redhat 6.4 version server.We have a script which is used to check the process and sends email if the process is not running.If it is running it will continue and do some other operation. I didnot understand below option -z in the if condition.I have tried to... (5 Replies)
Discussion started by: muraliinfy04
5 Replies

10. UNIX for Beginners Questions & Answers

Automation script for email alert when a job get complete with status successful.

Guyz, Please let me know about script which is to be sending an automatic email to particular mail id's when a monotoring job get complete with status successful. (1 Reply)
Discussion started by: Rehan Ahmad
1 Replies
vpartition(5)							File Formats Manual						     vpartition(5)

NAME
vpartition - display information about the Virtual Partition Command Line Interface DESCRIPTION
This manpage gives a listing and brief description of the commands that are used to manage virtual partitions. | Command | Description --------------+---------------------------------------------------------- vecheck | Check for virtual partition environment. | vparadmin | Modify virtual partition flexible administrative | capability related attributes. | vparboot | Boot (start) a virtual partition. | vparcreate | Create a new virtual partition. | vpardump | Manage monitor dump files. | vparefiutil | Update EFI device paths of bootable disks in the | | vparenv | Set vPars or nPars mode, ILM or CLM granularity in | system firmware, or display current values of these | settings. Itanium-based platforms only. | vparextract | Extract memory images from a running virtual partition | system. | vparmodify | Modify an existing virtual partition. | vparreloc | Relocate the load address of a vmunix file, determine | if a vmunix file is relocatable, or promote the scope of | symbols in a relocatable vmunix file. | PA-RISC platforms only. | vparremove | Remove (delete) an existing virtual partition. | vparreset | Send a hard reset (TOC) to a virtual partition. | vparresources | Description of virtual partition resources and | their requirements. | vparstatus | Display virtual partition and available resources | information. | vparutil | Get and set SCSI parameters for disk devices from | a virtual partition. PA-RISC platforms only. AUTHOR
was developed by the Hewlett-Packard Company. SEE ALSO
vparadmin(1M), vparboot(1M), vparconfig(1M), vparcreate(1M), vpardump(1M), vparefiutil(1M), vparenv(1M), vparextract(1M), vparmodify(1M), vparreloc(1M), vparremove(1M), vparreset(1M), vparstatus(1M), vparutil(1M), vparresources(5), vpmon(5). vpartition(5)
All times are GMT -4. The time now is 06:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy