|
Frank
I've never seen a *PRINT option for netstat - once in it, you can print
the list, but that doesn't help for batch.
So you're left with a good option - the TCP/IP APIs. One is List Network
Connections (QtocLstNetCnn) API - there are others. This one is maybe
something like NETSTAT option 3 or 6. These put the data into a user
space - easy enough to process.
Not everything is well-suited to put into a database. Actually, XML is
maybe a better way to store some things - but you will likely find some
of this just fine for putting in a file.
HTH
Vern
On 8/7/2013 7:18 AM, Frank Bo wrote:
Is there any way to netstat in batch to an outfile?Bytes
Sent from my iPhone
On Aug 7, 2013, at 2:14 AM, Evan Harris <auctionitis@xxxxxxxxx> wrote:
Find the port and IP address in Netstat and then check to see if the
notReceived/Bytes sent values change. Might need quite a bit of time to see
what's happening though.
I guess if you don't see anything going through it doesn't prove it's
watchingin use - it only proves it has not been in use while you have been
can(can't prove a negative). Conversely if you see stuff going through you
talkconclude it is probably in use.
I am assuming from my answers that you can't use any of the MQ tools to
check this and you don't have anyone you can ask. It would be best to
rusty,to the MQ Administrator to find out really.
On Wed, Aug 7, 2013 at 2:18 PM, Frank Bo <fbocch2595@xxxxxxx> wrote:
Thanks Evan I know the port but how should I monitor netstat?
Sent from my iPhone
On Aug 6, 2013, at 9:58 PM, Evan Harris <auctionitis@xxxxxxxxx> wrote:
Hi Frank
I haven't done this specifally, and my MQ admin skills are a bit
Netstat,but...
You might be able to see what you want just by hunting through
seeotherwise, try checking the definition of the queue to establish what
addresses and ports are defined then monitor those using Netstat to
actuallyif
there is any traffic over them.
Hope this helps.
On Wed, Aug 7, 2013 at 1:15 PM, <fbocch2595@xxxxxxx> wrote:
Hi Folks, is there a way I can learn and verify if an MQ Q is
mailingbeing used? How have you folks done that?
Thanks, Frank
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
listlist
listTo post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
Regards
Evan Harris
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
listTo post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
Regards
Evan Harris
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.