Sponsored Content
Full Discussion: monitor remote file output
Top Forums Shell Programming and Scripting monitor remote file output Post 302242987 by jim mcnamara on Friday 3rd of October 2008 10:20:42 AM
Old 10-03-2008
How can you connect to the remote server - ssh or telnet? or only ftp/sftp?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Printing output to the monitor

Hi!, In my shell scripts, I always create a logfile by adding the following line in the beginning: exec >file.log 2>&1 This in turn directs all the output to this logfile till the script executes. But now, I have to write some output to the monitor for the users. So, i am doing it... (2 Replies)
Discussion started by: jyotipg
2 Replies

2. Shell Programming and Scripting

launch & monitor process on remote host

Hi, I am working on HPUX11 systems. I intend to achieve following: Need to write a shell script that will launch a program on remote UNIX machine. It will be gr8 if in addition, the remote process can be monitored using some feedback. I donno how to use rsh / ssh for this. (specifying... (1 Reply)
Discussion started by: mrx
1 Replies

3. Shell Programming and Scripting

Remote server file output redirection

Hi, I want ssh to the remote server and then execute ls and redirect the output to the file in remote server itself like ssh root@$server `ls /var/log/users.txt > root@$server:/home/users.txt` Can you please let me know the correct syntax for it. Thanks in advance (2 Replies)
Discussion started by: mohitmoudgil
2 Replies

4. UNIX for Advanced & Expert Users

Redirecting output to remote monitor over TCP/IP.

We have AIX4.1 (yeah I know - we're upgrading to 5 soon) and have been running almost entirely on ASynch direct connects. We're now converting to TCP/IP thin client terminals and PC's. One of processes was a Turn Around Time screen job that would constantly update various information from 6... (4 Replies)
Discussion started by: gamesman02
4 Replies

5. Shell Programming and Scripting

Remote command output to file comma delimited

All, I am trying to run a command that will get the serial number, model, and hostname of a server and then output the 3 fields comma delimited. Then a new line to separate the 3 fields for each host. So, I run a for loop that reads in the list of hosts in a file and then runs these sudo... (0 Replies)
Discussion started by: markdjones82
0 Replies

6. Infrastructure Monitoring

Using SNMP to monitor remote processes and disk space

snmpget -v 1 -c COMMUNITYSTR hostname OID what OIDs would I use to get information on all the processes and disk space information that are on a particular host. where can i find out information on all of this? thanks (3 Replies)
Discussion started by: SkySmart
3 Replies

7. Shell Programming and Scripting

Use script to monitor command output question? (like Linux watch)

Hi I want to write a script, help me to monitor command output. This script like Linux "watch" command. Below is my script: # cat watch.sh #!/bin/bash while true do clear echo "command: $*" ( $* ) sleep 2 done Then I run this script below (2 Replies)
Discussion started by: nnnnnnine
2 Replies

8. Shell Programming and Scripting

How to Append the output of a script running in remote server to a file in local server?

Hi guys, So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
Discussion started by: srkmish
5 Replies

9. Shell Programming and Scripting

How to store remote variable from remote cat file ??

I am trying to cat on a file located on remote server and assign it to remote variable. I have both local and remote variables. Running below script from local. test.sh J_NAME=XXX2 J_IP=XXX ssh $J_IP "ps auxw |grep java | grep -v grep |grep $J_NAME | awk '{print ... (2 Replies)
Discussion started by: oraclermanpt
2 Replies

10. Shell Programming and Scripting

awk remote multiple hosts print remote hostname and output

Hi all, i'm trying to gether multiple pattern on remote hosts, and trying to print hostname and the pattern, ssh remoteserver1 -C 'hostname 2>&1;cat /var/log/server1.log | awk -F ";" '"'"'{ print " "$2" "$5}'"'"'| sort | uniq -c | sort -g -r ' The output is the following, remoteserver1 ... (8 Replies)
Discussion started by: charli1
8 Replies
asadmin-create-instance(1AS)											      asadmin-create-instance(1AS)

y"; "User Commands"

NAME
asadmin-create-instance, create-instance - creates an application server instance with the specified instance name SYNOPSIS
create-instance [--user admin_user] [-password admin_password] [--host localhost] [--port 4848] [--sysuser sys_user] [--domain domain_name] [--local=false] [--passwordfile filename] [--secure|-s]--instanceport instanceportinstance_name You can create a new instance on a local or remote machine. If on the remote machine an administration server is already running for the specified hostname, then the system defaults to the local hostname. To create the instance locally, not requiring the administration server to be up and running, specify the --local option. The named instance must not exist within that domain. OPTIONS
--user administrative user associated for the instance. --password administrative password corresponding to the administrative user. --host host name of the machine hosting the administrative instance. --port administrative port number associated with the administrative host. --sysuser owner of the domain directory. --domain name of the domain. --local determines if the command should delegate the request to administrative instance or run locally. --passwordfile file containing passwords appropriate for the command (e.g., administrative instance). --secure if true, uses SSL/TLS to communicate with the administrative instance. --instanceport port where the instance listens for requests. OPERANDS
instance_name name of the instance to be created. Example 1: Using create-instance in local mode asadmin> create-instance --domain domain1 --instanceport 8967 --sysuser adminuser server4 Created Instance server4 successfully Where: the server4 instance is created under the domain1 domain. Example 2: Using create-instance in remote mode asadmin> create-instance --sysuser adminuser --user admin --password adminadmin --host localhost --port 4848 --instanceport 8967 server4 Created Instance server4 successfully Where: the server4 instance is created on the remote server for the associated user, password, host, and port. EXIT STATUS
0 command executed successfully 1 error in executing the command INTERFACE EQUIVALENT
Application Server instances page asadmin-delete-instance(1AS), asadmin-start-instance(1AS), asadmin-stop-instance(1AS), asadmin-restart-instance(1AS) J2EE 1.4 SDK/refmiscinfo> March 2004 asadmin-create-instance(1AS)
All times are GMT -4. The time now is 02:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy