Sponsored Content
Top Forums Shell Programming and Scripting automatically answer a question raised by a command Post 302193675 by pbsrinivas on Saturday 10th of May 2008 01:45:47 PM
Old 05-10-2008
automatically answer a question raised by a command

i have installed vmware on a text base linux node

now i have to vmware-configure.pl to do the initial configuration

now 1st step it askes for agreeing for a " License Agreement"

for that i have to say "q" and "yes" to Accept it

i want to run a script with does these 3 steps without user intervention

1) vmware-configure.pl
2) type "q" to exit the License Agreement
3) type "yes" to Accept it and
4) Ctrl C to come out of it

can we do these with out any user intervention ??
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

A question that need an answer Plz

I'm with FreeBSD 4.6.2, and i would like to know how to install this ports : ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/net/kmerlin There's no .tgz so i can't do the pkg_add command. Can you please help me??? Thank You. :) Erythro73 (6 Replies)
Discussion started by: Erythro73
6 Replies

2. Programming

When is SIGCHLD is raised.

Hi, I have 2 processes X and Y. Y is exec() from X. In Y i have an exit handler, which is called when i return from main. With in exit handler i delete and object which in turn calls the destructor of the object, which terminates all the threads of Y. I believe that SIGCHLD is raised by Y as... (4 Replies)
Discussion started by: supersumanth
4 Replies

3. Shell Programming and Scripting

Stupid question but please answer

How do i save a script in unix. do i just type something like #!/bin/sh # This is a comment! echo Hello World #This is also a comment Then just go to save as and save it or what? just kinda confused me as i was reading different things and playing around (6 Replies)
Discussion started by: Corrail
6 Replies

4. UNIX for Dummies Questions & Answers

Please, i need an answer to this question!!

Hello!! I need some help about a question... It was asked in exams 3 years ago in Greece and nobody is certain abou the answer. Others say that the right answer is b and others say c. I found this forum and i saw that you know a lot of things about UNIX so i hope that some of you will help me.... (1 Reply)
Discussion started by: evoula_vou
1 Replies

5. Shell Programming and Scripting

Populating array raised an error

Hi, The following test case populate an array named: array3. Since array1 and array2 are equal in length and values array3 will remain empty. #!/usr/bin/ksh test() { set -A array1 "A" set -A array2 "A" NUM_1=`echo ${#array1}` print "num elenemt in NUM_1 is ${NUM_1}" i=1 for ELE2 in... (1 Reply)
Discussion started by: yoavbe
1 Replies

6. Solaris

Solaris JumpStarting?... Simple Yes/No Question... Unless the answer's 'No'

I'm reading through this guide, BigAdmin Feature Article: Using Solaris JumpStart With the Solaris 10 OS for x86/x64 Platforms, and I was wondering if there was more to the bash scripts than just the example given (see above link) like for begin1 and begin2 and finish1 and finish2. I don't know... (3 Replies)
Discussion started by: Bradj47
3 Replies

7. UNIX for Dummies Questions & Answers

Clarification on '1 days ago' in date command [Found answer, posted within]

I know the topic of getting yesterday's date has been covered ad nauseum, but I just want to be clear on something. I recently started using the command date --date='1 days ago' '+%m/%d/%y' to get yesterday's date and it's been working great. I just want to be certain that it is going to... (1 Reply)
Discussion started by: DeCoTwc
1 Replies

8. UNIX for Dummies Questions & Answers

TAR question (probably a very simple answer)

Hi All, I have a (probably) very simple tar question on a Solaris box that I'm a little embarrassed to ask. After repeatedly checking man tar and searching for solutions online (I'm not sure of the correct "keywords" to look for) The question is: If I were to use the command:tar cf... (4 Replies)
Discussion started by: chatguy
4 Replies
PMDAVMWARE(1)						       Performance Co-Pilot						     PMDAVMWARE(1)

NAME
pmdavmware - VMware performance metrics domain agent (PMDA) DESCRIPTION
pmdavmware is a Performance Metrics Domain Agent (PMDA) which exports metric values from a (possibly remote) VMware virtualisation host. This implementation uses the VMare Perl API (refer to the online docs at http://www.vmware.com/support/developer/viperltoolkit). VIPerl is a prerequisite for this PMDA, it needs to be installed and configured before attempting to use this agent. It is highly recommended that you test your VIPerl installation using the demo programs that are shipped with VIPerl, before attempting to use this PMDA. INSTALLATION
In order to access performance data using the VIPerl API, it is necessary to be able to login to the metrics source. Hence, a valid VMware server name, user name and pass word are needed by the PMDA. These can be passed in on the command line (via the pmcd.conf file) or via a vmware.conf file in the PMDA directory. # cd $PCP_PMDAS_DIR/vmware # [ edit vmware.conf ] This file should contain three lines, such as: $server = 'vm.server.net'; $username = 'XXXX'; $password = 'YYYY'; Once this is setup, you can access the names and values for the vmware performance metrics by doing the following as root: # cd $PCP_PMDAS_DIR/vmware # ./Install If you want to undo the installation, do the following as root: # cd $PCP_PMDAS_DIR/vmware # ./Remove pmdavmware is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed. FILES
$PCP_PMDAS_DIR/vmware/vmware.conf configuration file for the pmdavmware agent $PCP_PMDAS_DIR/vmware/Install installation script for the pmdavmware agent $PCP_PMDAS_DIR/vmware/Remove undo installation script for the pmdavmware agent $PCP_LOG_DIR/pmcd/vmware.log default log file for error messages from pmdavmware SEE ALSO
pmcd(1). 3.8.10 Performance Co-Pilot PMDAVMWARE(1)
All times are GMT -4. The time now is 01:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy