Sponsored Content
Top Forums Shell Programming and Scripting Want to make a script that checks connection protocol Post 302214079 by Annihilannic on Friday 11th of July 2008 11:45:36 PM
Old 07-12-2008
Yep, that's a better idea.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to make case insensitive checks????

Hi, I have tried to make the conditions similar to the below one's, perhaps, I am not sure if there are any more way's to do that???? if ) ]] echo "Whatever" fi (5 Replies)
Discussion started by: hitmansilentass
5 Replies

2. Shell Programming and Scripting

Script that checks for previous instances running

Hello, I'm trying to write a script that checks for previous instances of the same script which may still be running (this script is scheduled to run every 30 minutes). I want to somehow use the pid from each instance to make sure the previous one isn't running before continuing with my... (5 Replies)
Discussion started by: bd_joy
5 Replies

3. Shell Programming and Scripting

Make sure connection

We have two servers , one is mount to another server , I am worry if the server is unstable , the connection ( mount ) will be broken , or when the server is rebooted , the connection will also be broken , can advise how can I make sure the mount is establish , can advise if I want to do the below... (1 Reply)
Discussion started by: ust
1 Replies

4. Shell Programming and Scripting

Need help to make connection to various hosts

Guys If someone could help me? Basically I want to connect from my central server and run the script to remote servers (in our environment we do not need a username/password to connect); like below ssh <server_name_1> /ora/rman/scripts/bk2.sh 2>/dev/null >> /tmp/an.log ssh <server_name_2>... (3 Replies)
Discussion started by: anjum.suri
3 Replies

5. AIX

How many connection can a user make?

Where do i check how many connection a same user name can make to a UNIX/AIX system. for examples root login from local physical machine root login from LAN via telnet at the same time root login from internet via telnet also at the same time.. where do i check and how do i change this ? ... (3 Replies)
Discussion started by: dplinux
3 Replies

6. Shell Programming and Scripting

[Bash] MD5 Checks with Script.

Hi. I'm triyng to make a Bash Script that checks (recursively) the MD5 from all the files in a certain directory and compare them against some other check that should be already done and saved in a file. I've reached to the point where i have the MD5 from the file and the MD5 that the script... (1 Reply)
Discussion started by: BiFo
1 Replies

7. Shell Programming and Scripting

Script to performs checks

Hi , I need a script which performs below activity I have one file named "testfile" in 9 different directories with same name. I want to perform below action with each testfile of each directory. if ; then mv listfiles listfiles_`date +%b%y` else echo No Such files fi ... (4 Replies)
Discussion started by: sv0081493
4 Replies

8. Shell Programming and Scripting

Script to do the following checks

Hi , I need a script for processing below scenario. I have to check daily by doing ftp IP to check it is logging or not. So i want this activity to be automated such that if login succesful i will get "FTP LOGIN SUCCESS" in a log file and if fails i want the error message in the same log... (1 Reply)
Discussion started by: sv0081493
1 Replies

9. Shell Programming and Scripting

Script function which checks if itself is already running

Hi All, I have a cron job set up which is set to run every 10 seconds. What I need to do is have the script do a check to see if it is already running such that if it is running it wont fire up additional instances and processes according to its normal process. For example if I have a script... (4 Replies)
Discussion started by: landossa
4 Replies
VIRT-VIEWER(1)						User Contributed Perl Documentation					    VIRT-VIEWER(1)

NAME
virt-viewer - display the graphical console for a virtual machine SYNOPSIS
virt-viewer [OPTIONS] DOMAIN-NAME|ID|UUID DESCRIPTION
virt-viewer is a minimal tool for displaying the graphical console of a virtual machine. The console is accessed using the VNC or SPICE protocol. The guest can be referred to based on its name, ID, or UUID. If the guest is not already running, then the viewer can be told to wait until is starts before attempting to connect to the console The viewer can connect to remote hosts to lookup the console information and then also connect to the remote console using the same network transport. OPTIONS
The following options are accepted when running "virt-viewer": -h, --help Display command line help summary -V, --version Display program version number -v, --verbose Display information about the connection -c URI, --connect=URI Specify the hypervisor connection URI -w, --wait Wait for the domain to start up before attempting to connect to the console -r, --reconnect Automatically reconnect to the domain if it shuts down and restarts -z PCT, --zoom=PCT Zoom level of the display window in percentage. Range 10-200. -d, --direct Do not attempt to tunnel the console over SSH, even if the main connection URI used SSH. -a, --attach Use libvirt to directly attach to a local display, instead of making a TCP/UNIX socket connection. This avoids the need to authentication with the remote display, if authentication with libvirt is already allowed. This option does not work with remote displays. -f, --full-screen Start with the window maximised to fullscreen --debug Print debugging information EXAMPLES
To connect to the guest called 'demo' running under Xen virt-viewer demo To connect to the guest with ID 7 running under QEMU virt-viewer --connect qemu:///system 7 To wait for the guest with UUID 66ab33c0-6919-a3f7-e659-16c82d248521 to startup and then connect, also reconnecting upon restart of VM virt-viewer --reconnect --wait 66ab33c0-6919-a3f7-e659-16c82d248521 To connect to a remote console using TLS virt-viewer --connect xen://example.org/ demo To connect to a remote host using SSH, lookup the guest config and then make a direct non-tunnelled connection of the console virt-viewer --direct --connect xen+ssh://root@example.org/ demo AUTHOR
Written by Daniel P. Berrange, based on the GTK-VNC example program gvncviewer. BUGS
Report bugs to the mailing list "http://www.redhat.com/mailman/listinfo/virt-tools-list" COPYRIGHT
Copyright (C) 2007-2008 Red Hat, Inc., and various contributors. This is free software. You may redistribute copies of it under the terms of the GNU General Public License "http://www.gnu.org/licenses/gpl.html". There is NO WARRANTY, to the extent permitted by law. SEE ALSO
virsh(1), "virt-manager(1)", the project website "http://virt-manager.org" perl v5.14.2 2012-05-28 VIRT-VIEWER(1)
All times are GMT -4. The time now is 05:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy