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
RUBY-SWITCH(1) RUBY-SWITCH(1)
NAME
ruby-switch - switch between different Ruby interpreters
USAGE
ruby-switch --list
ruby-switch --check
ruby-switch --set RUBYVERSION
ruby-switch --auto
DESCRIPTION
ruby-switch can be used to easily switch to different Ruby interpreters as the default system-wide interpreter for your Debian system.
When run with --list, all supported Ruby interpreters are listed.
When --check is passed, ruby-switch will check which Ruby interpreter is currently being used. If the settings are inconsistent -- e.g.
`ruby` is Ruby 1.8 and `gem` is using Ruby 1.9.1, ruby-switch will issue a big warning.
When --set RUBYINTERPRETER is used ruby-switch will switch your system to the corresponding Ruby interpreter. This includes, for example,
the default implementations for the following programs: ruby, gem, irb, erb, testrb, rdoc, ri.
ruby-switch --set auto will make your system use the default Ruby interpreter currently suggested by Debian.
OPTIONS
-h, --help
Displays the help and exits.
A NOTE ON RUBY 1.9.x
Ruby uses two parallel versioning schemes: the `Ruby library compatibility version' (1.9.1 at the time of writing this), which is similar
to a library SONAME, and the `Ruby version' (1.9.3 is about to be released at the time of writing).
Ruby packages in Debian are named using the Ruby library compatibility version, which is sometimes confusing for users who do not follow
Ruby development closely.
ruby-switch also uses the Ruby library compatibility version, so specifying `ruby1.9.1' might give you Ruby with version 1.9.2, or with
version 1.9.3, depending on the current Ruby version of the `ruby1.9.1' package.
COPYRIGHT AND AUTHORS
Copyright (c) 2011, Antonio Terceiro <terceiro@debian.org>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
2011-11-20 RUBY-SWITCH(1)