I have a script which is running a remote command on hundreds of boxes, it takes around 5 minutes to return an output from this command and because i am running this all from a central box, it goes off to each box in my for loop sequentially meaning that my script will wait for output before moving to the next machine
so as an example i will use the command `sleep 30`. I tried putting an ambersand into the script to no avail...the output on my central server still sits and waits for each box to sleep for 30 seconds rather than sending the command off to a box, letting that box deal with it and moving onto the next box with no delay
Hi,
I would like to run a process in my gentoo machine from a consolte (putty) in
Windows and would like that this process keep on going when I close the console in Windows (i.e closing this session).
The process should take a long time and I do not want to leave the Windows machine running... (3 Replies)
if i have a script in my system which i need to run on remote system using ssh, how shall i do it?
One easy way to to first scp it to remote machine and then run it on remote machine using ssh.
Is there any one step way to do it. Preferably one in which i should give password only once (3 Replies)
Hi All,
This was an interview question
" There is a clean-up shell-script in one UNIX machine and it is connected to 100 other UNIX machines.
Howe can we run the script on all the 100 machines without ftping/copying the script to target machines ?
I was unable to answer, please answer if... (5 Replies)
Hi ,
How to check whether web server is running from remote machine
How to check whether web server is running on web server itself
Can any one help me soon (1 Reply)
I have a script called startWebLogic.sh which I was running in the background but the problem is which I used the command :- ps -elf | grep "startWebLogic.sh" | grep -v grep to find the process id but I was unable to find the process id for this script and when I checked from the front end the... (3 Replies)
I am trying to run the follow command. I am running this from a korn shell script.
rsh foobar ps -fu dram | grep sshd: | grep -v grep | awk '{print $2}' | xargs -I xx kill xx
I get the PID back excluding the xargs part but after adding on the xargs part it fails to locate the PID and is... (2 Replies)
Hi,
I have an shell script program in a remote linux machine which will do some specific monitoring functionality. Also, have some C executables in that machine.
From a windows machine, I want to run the shell script program (If possible using java).
I tried with SSH for this. but, in... (1 Reply)
I'm in a situation where I am executing a shell script(Bash) on another machine remotely using ssh, and for various reasons sometimes need to quit it and restart it. The shell script being run does many different things, so its hard to know what process to kill on the remote machine, and even if I... (2 Replies)
Hi,
I'm using expect to ssh into remote machine (i know its not the best practice), and run script "script.sh".
This "script.sh" checks whether an other process (some another script) is running and if not, it runs it as some other user.
#!/bin/bash
/usr/bin/expect << EOD
set... (5 Replies)
Hi,
I wrote a KSH script and running it on HP-UX machine
I am running one script in background.
My script is at location
$HOME/myScript/test/background_sh
When I view my script in background with psu commend
> psu | grep background_sh
I see following output
UID PID PPID C ... (1 Reply)
Discussion started by: vaibhav
1 Replies
LEARN ABOUT DEBIAN
bbackupd-config
BBACKUPD-CONFIG(8) Box Backup BBACKUPD-CONFIG(8)NAME
bbackupd-config - Box Backup client daemon configuration file generator
SYNOPSIS
bbackupd-config config-dir backup-mode account-num server-hostname working-dir backup-dir [backup-dir ...]
DESCRIPTION
The bbackupd-config script creates configuration files and client certificates. It takes at least six parameters:
config-dir
Configuration directory. Usually /etc/box.
backup-mode
Either lazy or snapshot.
account-num
The client account number. This is set by the bbstored administrator.
server-hostname
The hostname or IP address of the bbstored server.
working-dir
A directory to keep temporary state files. This is usually something like /var/bbackupd. This can be changed in bbackupd.conf later on
if required.
backup-dir
A space-separated list of directories to be backed up. Note that this does not traverse mount points.
FILES
/etc/box/bbackupd.conf
/etc/box/bbackupd/NotifySysAdmin.sh
SEE ALSO bbackupd.conf(5), bbackupd(8), bbackupctl(8)AUTHORS
Ben Summers
Per Thomsen
James O'Gorman
Box Backup 0.11 10/28/2011 BBACKUPD-CONFIG(8)