02-18-2010
Status of remote servers
hi,
Say me the command to check the status of server. whether its up or down
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please advise,
The previous thread asked about the automated transfer of files between two servers. The question is - is there any way of encrypting the password within the script or is it a matter of setting the permissions settings on the script so that it can only be executed and possibly... (1 Reply)
Discussion started by: rdbooth
1 Replies
2. HP-UX
hello Friends,
I wanted to verify status of remote command executed on remote machine in hpux.
remsh <hostname> -l root cd /sampldir
i wanted to check weather the command executed on remote machine correctly or not by $?.
Can you tell me how to execute multiple command on remote machine.
... (0 Replies)
Discussion started by: ravikiran
0 Replies
3. Shell Programming and Scripting
Hi to everyone.
How can I get the exit status from a remote command executed with rexec? :eek:
machine A has RedHat Linux 9 and the remote machine B has SCO UNIX.
Code:
rexec -l user -p password host sh /u/files/scripts/seq_cal.sh 2006 08
I want the exit status returned by... (1 Reply)
Discussion started by: zoonalex
1 Replies
4. Shell Programming and Scripting
Hi guys, I need some advice and recommendations for a work project I am doing. Let me state that security is not a concern as this is a closed network and the data is not sensitive.
Here's what I would like to do and how I was planning to accomplish it: I have an application on my remote... (1 Reply)
Discussion started by: blueicedrop2000
1 Replies
5. Shell Programming and Scripting
Hey Unix Gurus,
I'm having trouble in copying a file on 5 different servers, first how can you do it locally (i.e without the need to ssh to the server you want to copy the file) and if you need to ssh how do u run a command within that server. Please see my code below(it doesn't work somehow).... (10 Replies)
Discussion started by: sexyTrojan
10 Replies
6. AIX
I'm trying to connect a few servers in different remote locations to my HMC. I added static IPs to the Service Processor through ASM, and did all the necessary network configurations, then connected those servers to our switch. Now my questions are:
- in our site, do I need to connect these... (4 Replies)
Discussion started by: Dardeer
4 Replies
7. Shell Programming and Scripting
Hi All,
I would like to connect from "Instance A" to "Instance B" with the help of sftp.
Where as Instance B is having clustered servers ( 2 servers pointing same instance ).
Now, my question is before connecting to "Instance B" from "Instance A" how do know whether server is running or not.... (3 Replies)
Discussion started by: Girish19
3 Replies
8. AIX
Hi Techies,
I have a doubt.
ent0 Available Logical Host Ethernet Port (lp-hea)
ent1 Available Logical Host Ethernet Port (lp-hea)
ent2 Available Logical Host Ethernet Port (lp-hea)
ent3 Available Logical Host Ethernet Port (lp-hea)
ent4 Available... (4 Replies)
Discussion started by: jayadeava
4 Replies
9. Shell Programming and Scripting
Geeks,
Could you please help me out in my script and identify the missing piece. I need to check/get the exit status of a remote command executed on remote host through script and send out an email when process/processes is/are not running on any/all server(s).
Here's the complete... (5 Replies)
Discussion started by: lovesaikrishna
5 Replies
10. Red Hat
Hello All,
Actually, We have a problem in our server (RHEL 7.1), 1st server is used for payment apps like switch card payment (passthru only), and 2nd server is used for Database transaction.
When high transaction there is different connection between Apps Server and DB server, Apps Server... (0 Replies)
Discussion started by: I Made Dwi
0 Replies
svc(8) System Manager's Manual svc(8)
NAME
svc - controls services monitored by supervise(8).
SYNOPSIS
svc [ -udopchaitkx ] services
DESCRIPTION
services consists of any number of arguments, each argument naming a directory used by supervise(8).
svc applies all the options to each service in turn.
OPTIONS
-u Up. If the service is not running, start it. If the service stops, restart it.
-d Down. If the service is running, send it a TERM signal and then a CONT signal. After it stops, do not restart it.
-o Once. If the service is not running, start it. Do not restart it if it stops.
-p Pause. Send the service a STOP signal.
-c Continue. Send the service a CONT signal.
-h Hangup. Send the service a HUP signal.
-a Alarm. Send the service an ALRM signal.
-i Interrupt. Send the service an INT signal.
-t Terminate. Send the service a TERM signal.
-k Kill. Send the service a KILL signal.
-x Exit. supervise(8) will exit as soon as the service is down. If you use this option on a stable system, you're doing something
wrong; supervise(8) is designed to run forever.
SEE ALSO
supervise(8), svok(8), svstat(8), svscanboot(8), svscan(8), readproctitle(8), fghack(8), pgrphack(8), multilog(8), tai64n(8), tai64nlo-
cal(8), setuidgid(8), envuidgid(8), envdir(8), softlimit(8), setlock(8)
http://cr.yp.to/daemontools.html
svc(8)