10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi ,
A shell script being executed by multiple user in a host, but i need the output of each user who executed the script
user should have screen output as well ...and unique log file name should generated on execution of script
is there anyway to get it
below file will overwrite... (5 Replies)
Discussion started by: amar1208
5 Replies
2. UNIX for Beginners Questions & Answers
Hi All,
I am trying to out of shell script when i run it
like
sh /mypath/abc.sh
....a screen log should be generated whenever i input the values, when above the script prompt for values
Regards
Amarendra (3 Replies)
Discussion started by: amar1208
3 Replies
3. Shell Programming and Scripting
User with moderate experience:
I run a script (my addiction is KSH) that reads a file and reports certain parameters back to the user on screen and also piped to a file. The file(s) I read is/are located under different directories, and is usually called the same thing. Sometimes not. For... (3 Replies)
Discussion started by: Brusimm
3 Replies
4. Shell Programming and Scripting
Is it possible to split the screen and show, lets say a local directory listing on the left and a remote directory listing on the right with shell scripting?
I know it's usually done with curses/ncurses, but I'd really like to keep it simple as possible. I guess 'dialog' command could do it... (1 Reply)
Discussion started by: lochraven
1 Replies
5. UNIX for Dummies Questions & Answers
I want to check whether the variable read from the console is number or character , so i used echo $option|grep and checked the reuslt returned by grep cmd using $?
But since I use echo the value is getting printed in the screen , I want to supress the o/p. Can anyone suggest how this can be... (1 Reply)
Discussion started by: rolex.mp
1 Replies
6. UNIX for Advanced & Expert Users
hi,
is there anyway i can force a output of a command to the monitor.
for example
banner hello > /dev/console
it will show a hello in the console, so how do i make it to appear on the monitor screen when the console is been minmize. (6 Replies)
Discussion started by: ckng
6 Replies
7. Shell Programming and Scripting
Is there a way to turn off standard output while processing is going on? I have tried redirecting to /dev/null but that is not working because some of the commands invoke a profile. I would like to temporarily turn off the screen output until the processing is complete. Sort of like a splash... (3 Replies)
Discussion started by: bestbuyernc
3 Replies
8. Shell Programming and Scripting
I need to put the following in a script:
echo $CCPDB will give me the db name on the screen. I need to use this name to tar cvfEh <newtarname> <dbname.exp>. I am not sure how to use the output that display on the screen in a script. I tried this
echo $CCPDB > file didn't work
Gundu (1 Reply)
Discussion started by: gundu
1 Replies
9. UNIX for Dummies Questions & Answers
I need to suppress the output to the screen. I am appending to a file so do not need the output on the screen in the CLI environment.
eg.
cat $HOME/somefile >> $HOME/anotherfile
I am doing this a number of times with SQL output files so I can look at the finished file not on the screen in the... (3 Replies)
Discussion started by: jagannatha
3 Replies
10. Shell Programming and Scripting
I have a script that askes users to enter in an oracle account and password, The information is displayed on the screen as they type it. Does anyone know how I can hide this output?
:confused: (1 Reply)
Discussion started by: boat73
1 Replies
fence_brocade(8) System Manager's Manual fence_brocade(8)
NAME
fence_brocade - I/O Fencing agent for Brocade FC switches
SYNOPSIS
fence_brocade [OPTION]...
DESCRIPTION
fence_brocade is an I/O Fencing agent which can be used with Brocade FC switches. It logs into a Brocade switch via telnet and disables a
specified port. Disabling the port which a machine is connected to effectively fences that machine. Lengthy telnet connections to the
switch should be avoided while a GFS cluster is running because the connection will block any necessary fencing actions.
fence_brocade accepts options on the command line as well as from stdin. fenced sends parameters through stdin when it execs the agent.
fence_brocade can be run by itself with command line options which is useful for testing.
After a fence operation has taken place the fenced machine can no longer connect to the Brocade FC switch. When the fenced machine is
ready to be brought back into the GFS cluster (after reboot) the port on the Brocade FC switch needs to be enabled. This can be done by
running fence_brocade and specifying the enable action.
Vendor URL: http://www.brocade.com
OPTIONS
-a IPaddress
IP address of the switch.
-h Print out a help message describing available options, then exit.
-l login
Login name for the switch.
-n port
The port number to disable on the switch.
-o action
The action required. disable (default) or enable.
-p password
Password for login.
-S path
Full path to an executable to generate the password for login.
-q Quiet mode: print only error messages.
-V Print out a version message, then exit.
STDIN PARAMETERS
agent = < param >
This option is used by fence_node(8) and is ignored by fence_brocade.
ipaddr = < hostname | ip >
IP address or hostname of the switch.
login = < param >
Login name.
option = < param >
The action required. disable (default) or enable.
passwd = < param >
Password for login.
passwd_script = < param >
Full path to an executable to generate the password for login.
port = < param >
The port number to disable on the switch.
SEE ALSO
fence(8), fence_node(8)
fence_brocade(8)