The problem is that i am in search of a command which could corelate the option 1,2,3 with the script 1,2,3 like as soon as i put option1 it should pick correct script and log on to the destination server with the correct script.
Last edited by Scrutinizer; 05-09-2014 at 07:33 AM..
Reason: code tags
first off, i am new to unix so please bear with me. i was reading somewhere that if your i-nodes get critical that it can slow your network down. what are i-nodes and when do they become a critical number? this is what mine states:
/ (/dev/root ): 777058 blocks 569290 i-nodes... (4 Replies)
Does anyone know something about this? I have no idea what it means and how to do it. but if anyone can give me and explanation and also point me to a website, i'd really appreciate it (5 Replies)
Hi folks,
I'm a bit of a novice at this but here goes. I want to read in nodes from an XML file, and map the path to each.
eg the file is structured
<node><nodename>.</nodename>
<node><nodename>topnode</nodename>
<node><nodename>subnode1</nodename></node>
... (1 Reply)
Dear all,
I am bit confused lately, I have a xmlfile here:
file: book.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<bookstore>
<book category="COOKING">
<title lang="en">Everyday Italian</title>
<author>Giada De Laurentiis</author>
<year>2005</year>
... (2 Replies)
hello Gurus,
My current set up is 3 to 1 Cluster (SUN Cluster 3.2) running oracle database. Task is to reboot the servers. My query is about the procedure to do the same.
My understanding is suspend the databases to avoid switchover. Then execute the command scshutdown to down the cluster... (4 Replies)
Hello All,
Anybody knows how can I run script on the AIX HACMP offline node, without logon a offline node?
I would like to run a script on the online node and at same time or after the online node on the offline node.
Any IDEA? :confused: (3 Replies)
I am new to cluster commands. But I have tried utilizing: -pe, but I do not know my parallel computing environment. We are running SGE, is there a simpler command to request more nodes?
also: qsub -N auto -M name@email.com -m abe auto.sh
does not email me at all.
Help would be appreciated (0 Replies)
Hi all. I have two nodes taken different places. They are connected together on a network. So, i have a service, it works on one of nodes and when the node is unavailable the service should will be launched on other node.
Solution: rhel cluster, keepalive, hearbeat...may be Carp
but what if... (2 Replies)
Hello to all,
I'd like to tabulate the content of the XML file below, I've been trying with AWK putting the Top node (<KIND>) as RS and so far I'm able to print the first and second field of each record, but I don't know how to continue with the following nodes that have more inner nodes.
The... (4 Replies)
Discussion started by: Ophiuchus
4 Replies
LEARN ABOUT NETBSD
clear
TPUT(1) BSD General Commands Manual TPUT(1)NAME
tput, clear -- terminal capability interface
SYNOPSIS
tput [-T term] attribute [attribute-args] ...
DESCRIPTION
tput makes terminal-dependent information available to users or shell applications. The options are as follows:
-T The terminal name as specified in the terminfo(5) database, for example, ``vt100'' or ``xterm''. If not specified, tput retrieves
the ``TERM'' variable from the environment.
tput outputs a string if the attribute is of type string; a number if it is of type integer. Otherwise, tput exits 0 if the terminal has the
capability and 1 if it does not, without further action.
If the attribute is of type string, and takes arguments (e.g. cursor movement, the terminfo ``cup'' sequence) the arguments are taken from
the command line immediately following the attribute.
The following special attributes are available:
clear Clear the screen (the terminfo(5) ``cl'' sequence).
init Initialize the terminal (the terminfo(5) ``is2'' sequence).
longname Print the descriptive name of the user's terminal type.
reset Reset the terminal (the terminfo(5) ``rs1, rs2, rs3'' and ``rf'' sequence).
EXIT STATUS
The exit status of tput is based on the last attribute specified. If the attribute is of type string or of type integer, tput exits 0 if the
attribute is defined for this terminal type and 1 if it is not. If the attribute is of type boolean, tput exits 0 if the terminal has this
attribute, and 1 if it does not. tput exits 2 if any error occurred.
EXAMPLES
tput cl cm 5 10 clear the screen and goto line 5 column 10
tput cm 6 11 DC 6 goto line 6 column 11 and delete 6 characters
SEE ALSO termcap(3), termcap(5)HISTORY
The tput command appears in 4.4BSD.
BUGS
tput can't really distinguish between different types of attributes.
Not all terminfo entries contain the reset sequence, so using the init sequence may be more useful.
BSD September 29, 2009 BSD