08-17-2009
running commands to remote host from centralized host
Gurus/Experts
We have a centralized UNIX/Solaris server from where we can actually ssh to all other UNIX/Solaris servers...I need to write a script that reside on this centerlized server and do FileSystem monitoring (basically run df -h or -k) of other remote servers and then send an email to me something like below (just an example)......we have got plenty of these server running many databases
Server A
========
/oracle/DATABASE_A/archivelog/ 90% full
Server B
========
/oracle/DATABASE_B/archivelog/ 20% full
Could anyone please help?
10 More Discussions You Might Find Interesting
1. IP Networking
The problem I am facing now is that the QNX host could not ping the SCO host and vice versa. They are in the same domain, ie, 172.20.3.xx. As I am very new to Unix, I guess I must have missed out some important steps. Pls help... Thanx alot (2 Replies)
Discussion started by: gavon
2 Replies
2. Solaris
Hi all,
i am copying .gz files from production server to development server using
"scp" command.my requirement is after copying .gz files i want to delete old
.gz files(two days back) in development server from production server.
like this way i need to delelte .log ,.z and .dmp files... (3 Replies)
Discussion started by: krishna176
3 Replies
3. UNIX for Dummies Questions & Answers
I am trying to write a script that logs into an SMTP server and authenticates as a user or verifies that a user exists. I can do all this from the command line but I don't know how to write a script to do this for me, I login and then the script stops, I'm sure this is some basic principle. ... (3 Replies)
Discussion started by: safetytrick
3 Replies
4. UNIX for Advanced & Expert Users
My question is very strange.
I can run ls command on remote host using ssh successfully. but when i try to run /sbin/md5 command on remote host. it doesnt run and get back to me on command prompt.
md5 command is exist on remote host.
This is what i tried which ran successfully.
Query -... (1 Reply)
Discussion started by: ynilesh
1 Replies
5. Shell Programming and Scripting
I want to write a script which would run from one host say A and connect to other remote host B and then run rest of commands in that host. I tried connecting from A host to B with SSH but after connecting to host B it just getting me inside Host B command prompt. Rest of the script is not running... (6 Replies)
Discussion started by: SN2009
6 Replies
6. UNIX for Advanced & Expert Users
I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1.
When I do a who -m from A2, I see the "connected from" as "A1".
=> who -m
userid pts/2 2010-03-27 08:47 (A1)
I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
3 Replies
7. Solaris
Hi All
I am having VxVm on two Solaris hosts. host1 is using disk group dgHR. right now this server went down due to hardware fault. Not I need to import this dgHR into host2 server. Please let me know the procedure for the same. (1 Reply)
Discussion started by: amity
1 Replies
8. Shell Programming and Scripting
Hi,
i want to write script where it will login into 50 hosts and if login is successful it print message "login to host1 is
successful" if not it should print message "Not able to login to host1". once connection to the host is succesful it should fire df command to check filesystem if df is... (3 Replies)
Discussion started by: amru8810
3 Replies
9. Shell Programming and Scripting
Hi,
Given addresses of 2 remote machines, using a shell script is it possible to
get the state of running processes in "src"
stop all the processes in "src"
exit out of "src"
ssh into "dest"
resume the state of executing processes captured in step 1 in "dest"
Assumption:
"src" is... (3 Replies)
Discussion started by: Saeya Darsan
3 Replies
10. 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
LEARN ABOUT SUNOS
xfsinfo
XFSINFO(1) General Commands Manual XFSINFO(1)
NAME
xfsinfo - X font server information utility
SYNOPSIS
xfsinfo [-server servername]
DESCRIPTION
Xfsinfo is a utility for displaying information about an X font server. It is used to examine the capabilities of a server, the predefined
values for various parameters used in communicating between clients and the server, and the font catalogues and alternate servers that are
available.
OPTIONS
-server servername
This option specifies the X font server to contact. servername must be specified in one of the formats defined in the Font Server
Names section of X(7). If not specified, the server name in the FONTSERVER environment variable is used.
HISTORY
Xfsinfo was originally called fsinfo. It was renamed to avoid a clash with the fsinfo utility from the Berkeley automounter amd.
EXAMPLE
The following shows a sample produced by xfsinfo.
example% xfsinfo -server hansen:7100
name of server: hansen:7100
version number: 1
vendor string: Font Server Prototype
vendor release number: 17
maximum request size: 16384 longwords (65536 bytes)
number of catalogues: 1
all
Number of alternate servers: 2
#0 hansen:7101
#1 hansen:7102
number of extensions: 0
ENVIRONMENT
FONTSERVER
To get the default fontserver. The server name must be specified in one of the formats defined in the Font Server Names section of
X(7).
SEE ALSO
xfs(1), fslsfonts(1), X(7).
AUTHOR
Dave Lemke, Network Computing Devices, Inc
X Version 11 xfsinfo 1.0.3 XFSINFO(1)