Operating System - Linux
1753891 Members
7632 Online
108809 Solutions
New Discussion юеВ

Re: How to display current settings of Driver Modules (i.e. qla2xxx)

 
SOLVED
Go to solution
Alzhy
Honored Contributor

How to display current settings of Driver Modules (i.e. qla2xxx)

If modinfo qla23xxx shows tha various tunables/tweakables - how do I display what the current tunables are set to?

I know it is set in /etc/modprobe.conf but it is possible to also dynamically set right?

So I need to find out the current values.

TIA.
Hakuna Matata.
3 REPLIES 3
Gerardo Arceri
Trusted Contributor
Solution

Re: How to display current settings of Driver Modules (i.e. qla2xxx)

This is for RHEL5 or 4 using the drivers supplied by HP (hp-ql2xxx):
cat /proc/scsi/qla2xxx/* will show all the parameters in effect

For RHEL5 using the drivers supplied by RH:

Check the files inside
/sys/module/qla2xxx/parameters

Most of them CANNOT be dynamically set.

Hope it was helpful, if so don't forget about the points ;-)
Tim Nelson
Honored Contributor

Re: How to display current settings of Driver Modules (i.e. qla2xxx)

systool -m qla2xxx -v

extrapolates the same info from these files in a formatted manner.

Gerardo Arceri
Trusted Contributor

Re: How to display current settings of Driver Modules (i.e. qla2xxx)

Good find Tim!
Didn't know about the systool utility, if this thread was mine i'd give you 10 points!