07-21-2009
Do you have any NFS servers in your environment? If you do just append the output of the script to the same file on an NFS share and then mail that one file to yourself.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to write a Kshell program which will start the servers(Oracle,DataIntegrator).
Can anybody help me with this?
I would appreciate your help.
Thanks in advance (0 Replies)
Discussion started by: pari111222
0 Replies
2. AIX
Hi to all
now we running mksysb to nim on aix servers.
we are planning to take mksysb from vio servers.
can we use the same script for vio servers.
thanks (10 Replies)
Discussion started by: honeym210
10 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have to run several unix commands like lsof or sed and need to execute across different servers as part of my monitoring tasks.
There are around 40 Unix Servers. It is really cumbersome to run those command on several servers.
can some help me in this regard. Is it possible to run... (6 Replies)
Discussion started by: john_prince
6 Replies
4. Shell Programming and Scripting
Hello,
I am a Unix newbie and I need a script in which I can run a command on multiple servers at work. The command is to start a storage process and I am sick of doing it manually on all servers..
Here's the command:
/opt/bss/bin/snmptable -CB -v2c -c P67LzuBm hostname hrStorageTable... (4 Replies)
Discussion started by: kinyyy
4 Replies
5. Shell Programming and Scripting
Hello Everyone,
How do we run vi/vim encrypted shell script without decryption on multiple servers. It is a simple bash script and vim -nx <filename> has been used to encrypt with desired password. Now I have few errors, the syntax is absolutely fine as I have run that script multiple times on... (0 Replies)
Discussion started by: lovesaikrishna
0 Replies
6. Shell Programming and Scripting
Hi all,
I have a task for which I need to run some commands on one server1 and then jump from the server1 (using ssh and asking user to enter login credentials manually for server2 server) to server2 and run some commands there and exit.
I know the script I need here but problem is when I... (5 Replies)
Discussion started by: pat_pramod
5 Replies
7. Shell Programming and Scripting
Hi,
I have a problem runnig from script two diferents process in background mod. Is there a limitation to do this?
For example
echo "Running process one:"
./ProcessOne &
echo "Running process two:"
./ProcessTwo &
echo "The process are runnig. Bye"
The problem is that the... (7 Replies)
Discussion started by: Xedrox
7 Replies
8. AIX
I need run a command such as ps -ef |grep xxx on a batch of servers, how to write a script to run it without password? don't need go in each server to check?
Thanks (7 Replies)
Discussion started by: rainbow_bean
7 Replies
9. Shell Programming and Scripting
I need to run a script on a bunch of remote servers. how can this be done without ssh into each individual server and run it
its under /sbin/script.sh on each server (1 Reply)
Discussion started by: tdubb123
1 Replies
10. Shell Programming and Scripting
We have 15 servers. Hostnames for these 15 servers are stored in a text files and loop through each server to connect to the remote server and run a command, but this loop process runs the command one after another. However, the requirement is to run the same command on all 15 servers at the same... (10 Replies)
Discussion started by: laknar
10 Replies
LEARN ABOUT OPENSOLARIS
dfshares_nfs
dfshares_nfs(1M) System Administration Commands dfshares_nfs(1M)
NAME
dfshares_nfs - list available NFS resources from remote systems
SYNOPSIS
dfshares [-F nfs] [-h] [server]...
DESCRIPTION
dfshares provides information about resources available to the host through NFS. The -F flag may be omitted if NFS is the first file sys-
tem type listed in the file /etc/dfs/fstypes.
The query may be restricted to the output of resources available from one or more servers.
dfshares without arguments displays all resources shared on the local system, regardless of file system type.
Specifying server displays information about the resources shared by each server. Server can be any system on the network. If no server
is specified, then server is assumed to be the local system.
The output of dfshares consists of an optional header line (suppressed with the -h flag) followed by a list of lines containing whitespace-
separated fields. For each resource, the fields are:
resource server access transport
where
resource Specifies the resource name that must be given to the mount(1M) command.
server Specifies the system that is making the resource available.
access Specifies the access permissions granted to the client systems; however, dfshares cannot determine this information for an
NFS resource and populates the field with a hyphen (-).
transport Specifies the transport provider over which the resource is shared; however, dfshares cannot determine this information for
an NFS resource and populates the field with a hyphen (-).
A field may be null. Each null field is indicated by a hyphen (-) unless the remainder of the fields on the line are also null; in which
case, the hyphen may be omitted.
OPTIONS
-F nfs Specify the NFS file system type
-h Suppress header line in output.
FILES
/etc/dfs/fstypes
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnfscu |
+-----------------------------+-----------------------------+
SEE ALSO
mount(1M), share(1M), unshare(1M), attributes(5)
SunOS 5.11 6 Nov 2000 dfshares_nfs(1M)