10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Sorry for stupid question, but why this script gives that output?
$ awk 'BEGIN { well=56789; print 1234$well }'
1234
I expected 123456789 (9 Replies)
Discussion started by: silyin
9 Replies
2. Red Hat
Cheers!
In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not?
To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies
3. Shell Programming and Scripting
Here I am again~~
I am studying the storing function and dot command. But I found I couldn't load a stored function from a file. This is my command-line and script:
$ ls -lsa
Total 5
0 drwxr-xr-x+ 1 Administrator None 0 May 9 14:44 .
0 drwxr-xr-x+ 1 Administrator None 0 May 9 10:38 ..
4... (4 Replies)
Discussion started by: franksunnn
4 Replies
4. Shell Programming and Scripting
I am having trouble making this statement work. I am passing in a number value for the number of days to keep archive logs for and wanted to make sure that it is a number. I have a script that will return 1 for is a number and 0 for is not a number. I also want to make sure that the number is not... (2 Replies)
Discussion started by: gandolf989
2 Replies
5. Programming
Hello. I'm a complete newbie to C programming. I have a C program that wasn't written by me where I need to write some wrappers around it to automate and make it easier for a client to use. The problem is that the program accepts standard input to control the program... I'm hoping to find a simple... (6 Replies)
Discussion started by: Xeed
6 Replies
6. UNIX for Dummies Questions & Answers
I'm new to unix commands and am wondering how you could create a page with html tags in it. echo "<b>Test</b>" > test.html doesn't work because of the tags. How would I do this. (4 Replies)
Discussion started by: roger19
4 Replies
7. UNIX for Dummies Questions & Answers
Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies
8. UNIX for Dummies Questions & Answers
Can anyone tell me if there is a way to remove the encryption from Data CDs by UNIX? Or does anyone know of a program that can remove the encryption?
I would much appreciate it!
Thanks,
-Peaves (2 Replies)
Discussion started by: Peaves
2 Replies
9. UNIX for Dummies Questions & Answers
I am taking an intro to unix class and I can not figure out how to do part of the question. I am writing script to be exictued by a program in the tutoral.
Question:
Write every line containing the word ``delete'' produced by ``man mail'' into a file called ``delete''. Hint: What does using... (1 Reply)
Discussion started by: weathergirl
1 Replies
10. UNIX for Dummies Questions & Answers
I've been a Linux user for quite some time, started out with Red Hat and Mandrake, and just recently moved to Slackware linux.... my question is this:
Is there a big difference between Linux and Unix? If so, what?
I was just looking at Sun's Solaris 8 thats free for download on Intel... (5 Replies)
Discussion started by: Cuthbert
5 Replies
TWS(4) BSD Kernel Interfaces Manual TWS(4)
NAME
tws -- 3ware 9750 SATA+SAS 6Gb/s RAID controller card driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device scbus
device tws
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
tws_load="YES"
DESCRIPTION
The tws driver provides support for LSI's 3ware 9750 SATA+SAS 6Gb/s RAID controller cards.
These controllers feature the LSISAS2108 6Gb/s SAS RAID-on-Chip (ROC) and are available in 4- and 8-port configurations, supports RAID levels
0, 1, 5, 6, 10, 50 and single disk, with 96 SATA and/or SAS hard drives and SSDs.
For further hardware information, see http://www.lsi.com/.
HARDWARE
The tws driver supports the following SATA/SAS RAID controller:
o LSI's 3ware SAS 9750 series
LOADER TUNABLES
Tunables can be set at the loader(8) prompt before booting the kernel or stored in loader.conf(5).
hw.tws.cam_depth The maximum queued CAM SIM requests for one controller. The default value is 256.
hw.tws.enable_msi This tunable enables MSI support on the controller if set to a non-zero value. The default value is 0.
hw.tws.queue_depth The maximum queued requests for one controller.
hw.tws.use_32bit_sgls Limit the driver to use only 32-bit SG elements regardless whether the operating system is running in 64-bit mode.
The default value is 0.
FILES
/dev/da? array/logical disk interface
/dev/tws? management interface
DIAGNOSTICS
Whenever the driver encounters a command failure, it prints out an error code in the format: "ERROR: (<error source>: <error code>):", fol-
lowed by a text description of the error. There are other error messages and warnings that the driver prints out, depending on the kinds of
errors that it encounters. If the driver is compiled with TWS_DEBUG defined, it prints out a whole bunch of debug messages.
SEE ALSO
da(4), scsi(4)
AUTHORS
The tws driver was written by Manjunath Ranganathaiah for LSI and this manual page was written by Xin LI <delphij@FreeBSD.org> for iXsystems,
Inc.
BSD
October 4, 2011 BSD