On Wed, Dec 20, 2017 at 03:42:56PM -0600, Steve Wise wrote: > > > > Check filters options too, to filters by numbers and display columns. > > > > > > [root@stevo1 ~]# /root/stevo/iproute2/rdma/rdma res show qp link > > cxgb4_0/- > > > display lqpn,type,state,pid lqpn 1000-1030 > > > DEV/PORT LQPN TYPE STATE PID > > > cxgb4_0/- 1027 RC RTS 0 > > > [root@stevo1 ~]# /root/stevo/iproute2/rdma/rdma res show qp link > > cxgb4_0/- > > > display lqpn,type,state,pid lqpn 1000-1033 > > > DEV/PORT LQPN TYPE STATE PID > > > cxgb4_0/- 1027 RC RTS 0 > > > cxgb4_0/- 1033 RC RTS 0 > > > [root@stevo1 ~]# > > > > > > Working! > > > > Thanks, > > It supports various combinations with "," and "-", like > > 990,1000-1030,1031-1032,1033 > > While the rdma tool easily allows poking around various resources, it would > be sort of painful to do a full state dump. Perhaps a fastpath command like > 'rdma dumpall' to just dump everything in detail? It can be an option after we add more objects, right now, I added only QP and this one object is "full state" for now. To dump all QPs in detailed format simply run "rdma res show qp -d" and add "-j" to output it in JSON format. Thanks > > >
Attachment:
signature.asc
Description: PGP signature