Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ibcheckportstate(8) [debian man page]

IBCHECKPORTSTATE(8)						OpenIB Diagnostics					       IBCHECKPORTSTATE(8)

NAME
ibcheckportstate - validate IB port for LinkUp and not Active state SYNOPSIS
ibcheckportstate [-h] [-v] [-N | -nocolor] [-G] [-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] <lid|guid> <port> DESCRIPTION
Check connectivity and check the specified port for proper port state (Active) and port physical state (LinkUp). Port address is a lid unless -G option is used to specify a GUID address. OPTIONS
-G use GUID address argument. In most cases, it is the Port GUID. Example: "0x08f1040023" -v increase the verbosity level -N | -nocolor use mono rather than color mode -C <ca_name> use the specified ca_name. -P <ca_port> use the specified ca_port. -t <timeout_ms> override the default timeout for the solicited mads. EXAMPLE
ibcheckportstate 2 3 # check lid 2 port 3 SEE ALSO
smpquery(8), ibaddr(8) AUTHOR
Hal Rosenstock <halr@voltaire.com> OpenIB May 21, 2007 IBCHECKPORTSTATE(8)

Check Out this Related Man Page

IBCHECKPORT(8)							OpenIB Diagnostics						    IBCHECKPORT(8)

NAME
ibcheckport - validate IB port and report errors SYNOPSIS
ibcheckport [-h] [-v] [-N | -nocolor] [-G] [-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] <lid|guid> <port> DESCRIPTION
Check connectivity and do some simple sanity checks for the specified port. Port address is a lid unless -G option is used to specify a GUID address. OPTIONS
-G use GUID address argument. In most cases, it is the Port GUID. Example: "0x08f1040023" -v increase the verbosity level -N | -nocolor use mono rather than color mode -C <ca_name> use the specified ca_name. -P <ca_port> use the specified ca_port. -t <timeout_ms> override the default timeout for the solicited mads. EXAMPLE
ibcheckport 2 3 # check lid 2 port 3 SEE ALSO
smpquery(8), ibaddr(8) AUTHOR
Hal Rosenstock <halr@voltaire.com> OpenIB May 21, 2007 IBCHECKPORT(8)
Man Page

15 More Discussions You Might Find Interesting

1. Linux

Port

Hi, how can I know if a port is already closed by fire wall ? And by which instruction to close or open this port ? Many thanks before. (1 Reply)
Discussion started by: big123456
1 Replies

2. UNIX for Advanced & Expert Users

Port Redundancy

Dears, I have server has two port's(Enet0,Enet1) what I want as follows: Make the two port's has same IP address where, if the port Enet0 became down automaticly Enet1 become up :confused: . Amen (4 Replies)
Discussion started by: amen00
4 Replies

3. UNIX for Dummies Questions & Answers

IP Port for Printing

What port is used by Solaris for network printing? I need to open a port in my firewall. Thanks. (1 Reply)
Discussion started by: cwisema
1 Replies

4. AIX

port

How I can Open the Port 4444 on my AIX machine (2 Replies)
Discussion started by: habuzahra
2 Replies

5. SCO

Telnetd Port Options

Ok, here i am in 2008 trying to figure out how to edit the port of Telnetd in sco openserver 4.2. I googled my butt off and cant seem to find any info. Does anyone have some specific howto's or good documentation on this? (2 Replies)
Discussion started by: j0ntar
2 Replies

6. UNIX for Dummies Questions & Answers

Port finder in unix

Hi, I need to know whether a port is being used by some application. What is the command for the same?? Regards, Chaitrali. (1 Reply)
Discussion started by: Chaitrali
1 Replies

7. Shell Programming and Scripting

Port num incrementing

Hello Guyz These days Iam doing pretty good scripting work that is all because of you fellas.Thank you so much. As it goes ,here comes my next problem.Iam trying to implement automatic port number incrementing. For ex: demo() { echo "Enter for default port: read port ... (5 Replies)
Discussion started by: coolkid
5 Replies

8. UNIX for Dummies Questions & Answers

How do you check whether a port currently being used?

Hi, Please help me out, how to check whether a port currently being used or not. is there any command which give the result? Thanks Rajesh (6 Replies)
Discussion started by: rajesh08
6 Replies

9. Shell Programming and Scripting

How to check if a Port is accepting connections.

Hi, I need to create a script which checks the availability of a particular service on a particular Port on HP-Unix. Is there any command in unix wherein we can check if any port is accepting the connections now. Thanks, Vihang. (5 Replies)
Discussion started by: vikings.svnit
5 Replies

10. Shell Programming and Scripting

Replacing Port number Using Sed

Hi Im trying to replace http port value.However for some reason its not working.Can you guys take a look and hit me with suggestions please.Your help is much appreciated. echo "Enter Value" read ans sed -i "s/http-port = 80 /http-port = $ans/g" demo Note:demo is the filename ... (6 Replies)
Discussion started by: coolkid
6 Replies

11. UNIX for Dummies Questions & Answers

what is SUID,GUID and Sticky bit?

Dear all, what is SUID,GUID and Sticky bit permission? can anyone gave me explanation with example? thanks in advance.. (2 Replies)
Discussion started by: masthan25
2 Replies

12. AIX

Releasing a Port

Hey Guys, I need a help, After I upgraded my server to AIX 6.1.4 the port 80 is occupied by a Java process bash-3.00# netstat -Aan | grep "*.80" f1000700007d7bb0 tcp 0 0 *.80 *.* LISTEN bash-3.00# rmsock f1000700007d7bb0 tcp usage: rmsock Addr... (2 Replies)
Discussion started by: kkeng808
2 Replies

13. Shell Programming and Scripting

Perl- check the port used

hi everybody; my code is cheking if a port is an actif or not with the cmd netstat -ln,I want first to enter the number of the port which I want to check it but I think that the value of $con in the second "if" is always "0" so the code give me always that the port is not used!!! ... (5 Replies)
Discussion started by: bassma
5 Replies

14. UNIX for Dummies Questions & Answers

Can't figure out why this repeats

#!/bin/sh while IFS=: read address port; do : ${port:=443} address=$address port=$port cd $f_location number=`grep "$address" thing.txt -A 1 | grep "addresses=" | cut -d'"' -f2` echo "$address,$port,$number,$answer" >>... (9 Replies)
Discussion started by: shade917
9 Replies

15. Shell Programming and Scripting

Check connectivity with multiple hosts - BASH script available here

Hi everyone! Some time ago, I had to check connectivity with a big list of hosts, using different formats (protocol://server:port/path/, server:port, ....). I developed a script that checks the connectivity using different commands (ping, telnet, nc, curl). It worked for me so I'm sharing it... (9 Replies)
Discussion started by: Fr3dY
9 Replies