Sponsored Content
Full Discussion: Status of remote servers
Top Forums Shell Programming and Scripting Status of remote servers Post 302396404 by deepaksahni0109 on Thursday 18th of February 2010 10:03:38 AM
Old 02-18-2010
use
Code:
ps -ef |grep

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Connecting to remote servers

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

Verifying remote command status

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

Getting the exit status of a remote command

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

Need advices on scripting for remote servers

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

Copy a file on remote servers

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

Connect HMC to remote servers

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

Find the remote server status.

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

How to check the ethernet status for vlan and lhea adapter in client servers?

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

Check/get the exit status of a remote command executed on remote host through script

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

Different connection status between 2 servers

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
ConsoleMessage(8)					    BSD System Manager's Manual 					 ConsoleMessage(8)

NAME
ConsoleMessage -- Send a message to SystemStarter SYNOPSIS
ConsoleMessage [-v] message ConsoleMessage [-v] -S ConsoleMessage [-v] -F ConsoleMessage [-v] -s service ConsoleMessage [-v] -f service ConsoleMessage [-v] -q setting ConsoleMessage [-v] -b path ConsoleMessage [-v] -u DESCRIPTION
The ConsoleMessage utility may be used by startup item scripts to send messages to SystemStarter (see SystemStarter(8)). The default behavior is to send the specified message to SystemStarter to be displayed on the console. SystemStarter will attempt to local- ize the string using the current startup item's localization dictionaries. ConsoleMessage may also be used to give feedback to SystemStarter indicating which services provided by the startup item have succeeded or failed. OPTIONS
-v verbose mode (prints errors to stdout) -S mark all services provided by this item as successful -F mark all services provided by this item as failed -s mark the service as successful -f mark the service as failed -q query SystemStarter for the value of the configuration variable setting (result will be printed to stdout). -b Tell SystemStarter to load the display bundle at the specified path -u Tell SystemStarter to unload the current display bundle NOTES
When a service name is not specified, ConsoleMessage assumes its parent process identification (see getppid(2)) is that of a startup item script, and uses that token to find the correct list of services provided by the current item. If the process calling ConsoleMessage is not a startup item script, it is necessary to explicitly provide service names. SEE ALSO
SystemStarter(8) http://www.opensource.apple.com/projects/documentation/howto/html/SystemStarter_HOWTO.html HISTORY
The ConsoleMessage utility appeared in Darwin 6.0 Darwin April 12, 2002 Darwin
All times are GMT -4. The time now is 01:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy