09-22-2014
Hi dashing201
Yes this (&) should work.
Also, you could embrace it in brackets (perl process_report.pl $repID) .
This behaves the same (in this situation, there's a diffrence between the two i cannot explain), as long you dont want to fetch variables, but from the read, i'd guess you're writing the reports of that specific id...
Hope this helps
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have script say some_script.ksh that takes an argument
I need to run some_script.ksh in background parallely at the sametime with different arguments.
Once all the background jobs complete, i need to run this script again in parallel with another 5 set of arguments.
Would really... (1 Reply)
Discussion started by: hyennah
1 Replies
2. UNIX for Advanced & Expert Users
Is there a utility that can be used in a shell script that would run a .sql file for 30 or 31 days in a month at the same time parallely. Please Advice.
Thanks
SD12. (2 Replies)
Discussion started by: sd12
2 Replies
3. Shell Programming and Scripting
Hi all,
I have a script which triggers batch admin manager and gets the top 10 jobs and their status info. the output of this script is the list of all these jobs. I want to run this in infinite loop which will show top 100 jobs' status.
the script is as follows
#!/bin/sh
exec &> capture1.txt... (1 Reply)
Discussion started by: digitalrg
1 Replies
4. Shell Programming and Scripting
Hi all,
I have a requirement in which a script invokes a Java program.
Lets say script ABC invokes a java program with cfg file a parameter.
This script takes 10 minutes to execute .
Like this ineed to run the program 10 times meaning 100 minutes if i do it sequentially.
If i open... (2 Replies)
Discussion started by: rahman_riyaz
2 Replies
5. Shell Programming and Scripting
I have one shell script which is being accessed by many jobs at same time.
I want to make the script such that , other job should wait for the script if script is being used by some other job. Is there any way to implement it in script level ?
Gops (1 Reply)
Discussion started by: Gopal_Engg
1 Replies
6. Shell Programming and Scripting
Hey,
I am new to UNIX scripting . I have script (ex: start_script) that starts a job in 10 different servers one server after another.Now I want to modify the script so that the script starts the job in all servers parallely (at a time in all servers).and I need the choice of selecting the... (3 Replies)
Discussion started by: mpspsm
3 Replies
7. Shell Programming and Scripting
( sleep 3
echo ${LOGIN}
sleep 2
echo ${PSWD}
sleep 2
while read line
do
echo "$line"
PID=$?
sleep 2
kill -9 $PID
done < temp
sleep 5
echo "exit" ) | telnet ${HOST}
while is executing only command and exits. (5 Replies)
Discussion started by: sooda
5 Replies
8. Shell Programming and Scripting
I have the below code which runs on multiple databases , but this runs one-after-one. I will need this to run in parallel so that i could save a lot of time. Please help!!! Thanks in advance
for Db in `cat /var/opt/oracle/oratab |egrep -v "ASM" |grep -v \# |cut -d\: -f1`
do
{
export... (5 Replies)
Discussion started by: jjoy
5 Replies
9. Shell Programming and Scripting
Hello gurus,
I produce a number of .loc files in parallel depending on number of .csv in the folder
for file in *csv
do
./process.sh $file > $file.loc &
done
then I want to compile all the output from the previous step into a single masterlocfile and then perform the rest of the steps... (2 Replies)
Discussion started by: senhia83
2 Replies
10. Linux
Hi All,
I am running a parallel processing on aggregating a file. I am splitting the process into 7 separate parallel process and processing the same input file and the process will do the same for each 7 run. The issue I am having is for some reason the 1st parallel processes complete first... (7 Replies)
Discussion started by: arunkumar_mca
7 Replies
LEARN ABOUT DEBIAN
upsd.users
UPSD.USERS(5) NUT Manual UPSD.USERS(5)
NAME
upsd.users - Administrative user definitions for NUT upsd
DESCRIPTION
Administrative commands such as setting variables and the instant commands are powerful, and access to them needs to be restricted. This
file defines who may access them, and what is available.
Each user gets its own section. The fields in that section set the parameters associated with that user's privileges. The section begins
with the name of the user in brackets, and continues until the next user name in brackets or EOF. These users are independent of
/etc/passwd.
Here are some examples to get you started:
[admin]
password = mypass
actions = set
actions = fsd
instcmds = all
[pfy]
password = duh
instcmds = test.panel.start
instcmds = test.panel.stop
[monmaster]
password = blah
upsmon master
[monslave]
password = abcd
upsmon slave
FIELDS
password
Set the password for this user.
actions
Allow the user to do certain things with upsd. To specify multiple actions, use multiple instances of the actions field. Valid actions
are:
SET
change the value of certain variables in the UPS
FSD
set the forced shutdown flag in the UPS. This is equivalent to an "on battery + low battery" situation for the purposes of
monitoring.
The list of actions is expected to grow in the future.
instcmds
Let a user initiate specific instant commands. Use "ALL" to grant all commands automatically. To specify multiple commands, use
multiple instances of the instcmds field. For the full list of what your UPS supports, use "upscmd -l".
The cmdvartab file supplied with the distribution contains a list of most of the known command names.
upsmon
Add the necessary actions for a upsmon process to work. This is either set to "master" or "slave".
Do not attempt to assign actions to upsmon by hand, as you may miss something important. This method of designating a "upsmon user" was
created so internal capabilities could be changed later on without breaking existing installations.
SEE ALSO
upsd(8), upsd.conf(5)
INTERNET RESOURCES
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
Network UPS Tools 05/25/2012 UPSD.USERS(5)