10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I would like to increase the size of my buffer in my xterm window. My shell is bash and my home directory is auto mounted. I'm on Solaris 10, RHEL 5 and SLES 11 servers. Do you know where I can do this? (4 Replies)
Discussion started by: bitlord
4 Replies
2. Programming
Hi,
Can I find size of the file from size of the buffer written?
nbECRITS = fwrite(strstr(data->buffer, ";") + 1, sizeof(char), (data->buffsize) - LEN_NOM_FIC, fic_sortie);
Thank You :) (1 Reply)
Discussion started by: ezee
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am using the below command to get the output in a file called "Logs.txt"
tail -f filename | egrep -i "cpu | hung " >> Logs.txt The problem is the Logs.txt file gets updated only after the buffer is 8Kb, but i want to update the file immediately and not wait for the buffer to get 8kb.
Is... (8 Replies)
Discussion started by: @bhi
8 Replies
4. UNIX for Dummies Questions & Answers
I have a c program and I want to know what command to use to display the current buffer size of the file using Terminal in Unix? (0 Replies)
Discussion started by: Izzy123
0 Replies
5. Programming
Dear friends,
How do I find the TCP send and receive buffer size? (1 Reply)
Discussion started by: nagalenoj
1 Replies
6. Red Hat
hi everyone,
can any one help change the buffer cache size in redhat and suse?? this error i got when i installed oracle 10g and it went well and when i try to mount the database using startup cmd it says too many buffer cache parameters (error code : ora-1034)
thnq in advance (0 Replies)
Discussion started by: gsr_kashyap
0 Replies
7. AIX
Hi:-
One of our users is getting an error: "There is no process to read data written to a pipe.”
I am trying to find out what the pipe buffer size is currently set to. How do I go about this?
Thanks, (0 Replies)
Discussion started by: janet
0 Replies
8. UNIX for Advanced & Expert Users
Hello!
How I can increase (or decrease) the predefined pipe buffer size?
Thanks! (1 Reply)
Discussion started by: Jus
1 Replies
9. UNIX for Dummies Questions & Answers
Hello,
Can someone please tell me which command to use to determine the size of a file? When I log in to my shell account, I do this
$>% ls -als
total 632
8 -rw-r--r-- 1 user01 devgrp1 1558 Jul 30 23:25 .kshrc
What is "1158"? Bytes? Kilobytes?
I apologize if my... (8 Replies)
Discussion started by: alan
8 Replies
10. Programming
Hi...
I am trying to read a binary data that have different types of messages of different lengths. I am using fread() but this functions needs the size and count to read the buffer from the file. I think this may cause that the buffer overlaps other messages.
Is there an alternative to read... (1 Reply)
Discussion started by: jlrodz
1 Replies
fence_mcdata(8) System Manager's Manual fence_mcdata(8)
NAME
fence_mcdata - I/O Fencing agent for McData FC switches
SYNOPSIS
fence_mcdata [OPTION]...
DESCRIPTION
fence_mcdata is an I/O Fencing agent which can be used with McData FC switches. It logs into a McData 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_mcdata accepts options on the command line as well as from stdin. fenced sends parameters through stdin when it execs the agent.
fence_mcdata 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 McData FC switch. When the fenced machine is ready
to be brought back into the GFS cluster (after reboot) the port on the McData FC switch needs to be enabled. This can be done by running
fence_mcdata 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
Username 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_mcdata.
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_mcdata(8)