Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ql-set-cmd-timeout(8) [debian man page]

ql-set-cmd-timeout(8)					       System Administration					     ql-set-cmd-timeout(8)

NAME
ql-set-cmd-timeout - set the timeout on the devices connected to the QLogic FC HBA. SYNOPSIS
ql-set-cmd-timeout [OPTIONS] DESCRIPTION
QLogic Linux Set Device Timeout Utility This utility allows you to set the timeout on the devices connected to the QLogic FC HBA. This timeout value applies to the commands sent to the device. This can help when target devices take longer to execute a command, for example under heavy I/O. Setting a longer timeout reduces the chance of the Linux SCSI mid-layer driver aborting the tasks after a timeout. [DEFAULT] Display timeout of devices connected to all HOSTs [HOST] Display timeout of devices connected to HOST [HOST] [TARGET] Display timeout of devices connected to a TARGET on HOST [HOST] [TARGET] [TIMEOUT] To set timeout on devices connected to a TARGET on HOST -h, --help, ? Prints this help message -i, --interactive Use this option to use the menu driven program SEE ALSO
ql-dynamic-tgt-lun-disc(8), ql-lun-state-online(8), ql-hba-snapshot(8) Matthias Schmitz <;matthias@sigxcpu.org> August 2008 ql-set-cmd-timeout(8)

Check Out this Related Man Page

ql-hba-snapshot(8)					       System Administration						ql-hba-snapshot(8)

NAME
ql-hba-snapshot - display specific information of the QLogic HBA. SYNOPSIS
ql-hba-snapshot <Host number> [OPTIONS] DESCRIPTION
FC HBA Snapshot Utility This utility displays the details of the QLogic HBA attached to the system. It uses one of the two file systems for scanning: proc or sysfs. <Host number> | <-a/--all> [optional] Provide the <HOST NUMBER> to display the detailed information of the HBA. With no option specified, general information of all hosts will be displayed. Ex. # /usr/sbin/ql-hba-snapshot <Host Number> # /usr/sbin/ql-hba-snapshot --procfs <Host Number> (For procfs) -h, --help Prints the help message. Ex. # /usr/sbin/ql-hba-snapshot --help -hl, --hostlist This option displays the list of QLogic hosts (HBAs) connected to this system. The <HOST NUMBER> can be obtained by using following command Ex. # /usr/sbin/ql-hba-snapshot --hostlist -p, --parameters This option displays the command line parameters that can be passed to the QLogic HBA driver. Ex. # /usr/sbin/ql-hba-snapshot --parameters <Host Number> -s, --statistics This option displays the statistical information for specified host. Stastics option is only supported in "sysfs" based scan. Ex. # /usr/sbin/ql-hba-snapshot --statistics <Host number/--all> -proc, --procfs This options forces the the utility to scans information based on "procfs", instead of default sysfs. Ex. # /usr/sbin/ql-hba-snap- shot --procfs [Other valid option] -v, --verbose This enables verbose display. The detailed information of LUNs will be displayed in addition to standard one. This option is only supported in sysfs. Ex. # /usr/sbin/ql-hba-snapshot --verbose <Host number/-a> SEE ALSO
ql-dynamic-tgt-lun-disc(8), ql-lun-state-online(8), ql-set-cmd-timeout(8) Matthias Schmitz <;matthias@sigxcpu.org> July 2009 ql-hba-snapshot(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

starting processes with timeout?

Does anyone know it it is possible to start a program with a timeout, so that it is automatically killed if the timeout expires? If yes, how? (6 Replies)
Discussion started by: soheil.samii
6 Replies

2. AIX

p550 connected to a HMC

Morning, I've installed a new p550 into a rack and connected it up to the HMC but the HMC cannot find it, I don't understand why it's not? Has anyone else had this problem before? Thanks Kees (4 Replies)
Discussion started by: KeesH
4 Replies

3. UNIX for Advanced & Expert Users

Minutes a program runs.

I have a ksh script that executes a program with a predetermined timeout in minutes. If the program takes longer then the timeout then it still completes with a return code of 0. :confused: I would like to determine how long the program ran. Then if it takes longer than the timeout I would... (7 Replies)
Discussion started by: 2dumb
7 Replies

4. Shell Programming and Scripting

Confusion about IFS Variable

================================================= #!/bin/sh HOST=eux091 if && grep -q $HOST /etc/maestab then IFS=: grep -v -e "^#" -e "^$" /etc/maestab | grep $HOST | \ read HOST MAESTRO_BIN FLAG MAESTRO_USER echo $MAESTRO_BIN MAESTRO_HOME=`dirname $MAESTRO_BIN`... (7 Replies)
Discussion started by: Awadhesh
7 Replies

5. Shell Programming and Scripting

Need Help... to extract the substring

> tnsping $TWO_TASK | grep HOST Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.10.212)(PORT = 1540)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = OMTST15))) I want to extract like this HOST = 10.12.10.212 PORT = 1540 SERVICE_NAME = OMTST15 I... (4 Replies)
Discussion started by: dashok.83
4 Replies

6. Solaris

Qlogic HBA card in E450 with errors

I have installed a qlogic HBA card in an E450 Solaris 9 with all the SUNW packages and the latest EPROM version. Configuration reboot was done. An orange light flashes to the right of where the card plugs into the fiber cable after booting, and the following error apprears at the start of the boot... (9 Replies)
Discussion started by: floydm
9 Replies

7. Shell Programming and Scripting

Can we timeout cd command

Hi All, I want to know whether we can timeout the cd command in unix. If we can how is it implemented? Suppose cd command hangs can we timeout the command. Please help (9 Replies)
Discussion started by: dipashre
9 Replies

8. Shell Programming and Scripting

Not able to come out from remote server using here document

Please help me out with one highlighted in RED #!/bin/bash STAGING_HOSTS="san man hand" for HOST in $STAGING_HOSTS do ssh $HOST <<EOT echo "CVServer is being stopped on $HOST " pkill CVServer sleep 20 echo "!!! Checking if CVServer is DOWN on $HOST !!!" ... (6 Replies)
Discussion started by: sdosanjh
6 Replies

9. Solaris

Solaris 10 - QLogic 4060C iSCSI adapter - multipathed (MPxIO)

System: Sun M3000 and M4000 OS: Solaris 10 (fully up to date with latest patches) iSCSI HBA: 2x QLE4060C (QLogic) In each system are 2 QLE4060C iSCSI adapters. I manage to set up both HBA's to connect to the LUNs on the SAN However I don't manage to enable multi-pathing. Made the... (4 Replies)
Discussion started by: sb008
4 Replies

10. AIX

How critical is this info,from syslog?

Hello Gurus I have a linux box which is trying to connect to HOST-1 via ssh.Recently i have been submitted following entries from 'syslog' from this HOST-1. As you can see,there are 3 failed login attempts logged for my user 'eatcid' coming from my linux box to this HOST-1 which is AIX.The... (4 Replies)
Discussion started by: ak835
4 Replies

11. Shell Programming and Scripting

Timeout in shellscripting

#!/bin/sh for ip in $(cat /root/Desktop/ftp.txt) do HOST=$ip USER='bob' PASS='bob' ftp -n $HOST <<EOF user bob bob EOF echo "$ip" done the Above code i want to use check and verify login works on multiple ftp servers on my network. However the ftp servers are dynamic in setup... (5 Replies)
Discussion started by: Noledge
5 Replies

12. Solaris

Command see all devices connected to Sun server

Hi All, How to view all devices connected to Sun E2900. I wan to view all components attached to it. Please help Regards, NSkumar (3 Replies)
Discussion started by: nskumar
3 Replies

13. Shell Programming and Scripting

Replace per line with first line

hi expert, i have log like this AA-HOST-0 5 28 4 28 6 30 3 26 7 36 8 36 1 46 2 34 BB-HOST-4 6 0 4 0 1 0 5 0 3 0 7 0 (3 Replies)
Discussion started by: justbow
3 Replies

14. UNIX for Beginners Questions & Answers

Best performance UNIX just for HOST Virtualization?

Hi everybody, Which Unix base OS have best performance for HOST virtualization? I tested SmartOS but it needs another OS to connect remotely! Thanks in advance. (11 Replies)
Discussion started by: mbzadegan
11 Replies

15. UNIX for Beginners Questions & Answers

sed find replace after HOST string

Hi Everyone, I have a xml file, where i need to find this HOST=dbhost.domain.com and then replace only dbhost.domain.com with db.one.in so finally it should like this HOST=db.one.in i tried this but its not working. sed -i "s/^HOST=*com$/HOST=db.one.in/g" repository.xml ^... (4 Replies)
Discussion started by: shajay12
4 Replies