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
MPS(4) BSD Kernel Interfaces Manual MPS(4)
NAME
mps -- LSI Fusion-MPT 2 Serial Attached SCSI driver
SYNOPSIS
To compile this driver into your kernel, place the following lines in your kernel configuration file:
device scbus
device mps
Or, to load the driver as a module at boot, place the following line in loader.conf(5):
mps_load="YES"
DESCRIPTION
The mps driver provides support for LSI Logic Fusion-MPT 2 SAS controllers and WarpDrive solid state storage cards.
HARDWARE
The mps driver supports the following hardware:
o LSI Logic SAS2004 (4 Port SAS)
o LSI Logic SAS2008 (8 Port SAS)
o LSI Logic SAS2108 (8 Port SAS)
o LSI Logic SAS2116 (16 Port SAS)
o LSI Logic SAS2208 (8 Port SAS)
o LSI Logic SAS2308 (8 Port SAS)
o LSI Logic SSS6200 Solid State Storage
o Intel Integrated RAID Module RMS25JB040
o Intel Integrated RAID Module RMS25JB080
o Intel Integrated RAID Module RMS25KB040
o Intel Integrated RAID Module RMS25KB080
CONFIGURATION
To disable MSI interrupts for all mps driver instances, set the following tunable value in loader.conf(5):
hw.mps.disable_msi=1
To disable MSI interrupts for a specific mps driver instance, set the following tunable value in loader.conf(5):
dev.mps.X.disable_msi=1
where X is the adapter number.
To disable MSI-X interrupts for all mps driver instances, set the following tunable value in loader.conf(5):
hw.mps.disable_msix=1
To disable MSI-X interrupts for a specific mps driver instance, set the following tunable value in loader.conf(5):
dev.mps.X.disable_msix=1
To set the maximum number of DMA chains allocated for all adapters, set the following variable in loader.conf(5):
hw.mps.max_chains=NNNN
To set the maximum number of DMA chains allocated for a specific adapter, set the following variable in loader.conf(5):
dev.mps.X.max_chains=NNNN
This variable may also be viewed via sysctl(8) to see the maximum set for a given adapter.
The current number of free chain frames may be seen via the dev.mps.X.chain_free sysctl(8) variable.
The lowest number of free chain frames may be seen via the dev.mps.X.chain_free_lowwater sysctl(8) variable.
The current number of active I/O commands is shown in the dev.mps.X.io_cmds_active sysctl(8) variable.
The maximum number of active I/O command seen since boot is shown in the dev.mps.X.io_cmds_highwater sysctl(8) variable.
DEBUGGING
To enable debugging prints from the mps driver, set the
hw.mps.X.debug_level
variable, where X is the adapter number, either in loader.conf(5) or via sysctl(8). The following bits have the described effects:
0x01 Enable informational prints.
0x02 Enable tracing prints.
0x04 Enable prints for driver faults.
0x08 Enable prints for controller events.
SEE ALSO
cd(4), ch(4), da(4), mpt(4), pci(4), sa(4), scsi(4), targ(4), loader.conf(5), sysctl(8)
HISTORY
The mps driver first appeared in FreeBSD 9.0.
AUTHORS
The mps driver was originally written by Scott Long <scottl@FreeBSD.org>. It has been improved and tested by LSI Logic Corporation. This
man page was written by Ken Merry <ken@FreeBSD.org>.
BUGS
This driver has a couple of known shortcomings:
o No userland utility available (e.g. mptutil(8)).
o The driver probes devices sequentially. If your system has a large number of devices, the probe will take a while.
BSD
January 3, 2013 BSD