- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Monitoring network traffic?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 04:50 PM
тАО04-23-2007 04:50 PM
Is it possible to determine what process is contributing to a server's high network utilization from a VMS node? If yes, what commands should I use and how to interpret the output of that command, meaning, which value will lead my to my top-network-using process?
Our servers are on OpenVMS v7.3-2 and TCP/IP v5.4 ECO5.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 06:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 06:48 PM
тАО04-23-2007 06:48 PM
Re: Monitoring network traffic?
network IOs are typically buffered IOs, so you could start with MONITOR PROCESSES/TOPBIO
Once you have found a process with high BUFIO, you can use SHOW PROC/ID=xxx to see the devices allocated to this process and can use SHOW DEV/FULL BGxxx or NETxxx (or OSxxx) to watch the IO operation rates. Depending on the network protocol, you could then also use more specific TCPIP or DECnet (NCP/NCL) commands to look at read/write IO counters.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 08:33 PM
тАО04-23-2007 08:33 PM
Re: Monitoring network traffic?
tcpip sh dev bgxxx: /continuous
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 08:37 PM
тАО04-23-2007 08:37 PM
Re: Monitoring network traffic?
$ pipe mc ncp sh k node cou | sea sys$pipe remote,"Response timeouts"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 08:49 PM
тАО04-23-2007 08:49 PM
Re: Monitoring network traffic?
How about VMS freeware tools then?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 09:38 PM
тАО04-23-2007 09:38 PM
Re: Monitoring network traffic?
will show the decnet traffic.
$ @sys$startup:tcpip$define_commands
will setup the netstat symbol and others
So you will be able to do
netstat -an
and other commands, but you are right, there is a need for your new monitor item !
:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 10:31 PM
тАО04-23-2007 10:31 PM
Re: Monitoring network traffic?
@xxx 5
will show the bg devices with more than 5K traffic per minute (output after 1 minute !)
With usefull info such as destination, username, image, etc.
Wim (ucx 5.3 on 7.3)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 11:48 PM
тАО04-23-2007 11:48 PM
Re: Monitoring network traffic?
A Sda extension would be a good idea for this...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 03:05 AM
тАО04-24-2007 03:05 AM
Re: Monitoring network traffic?
Was amazed with wath I found on my prod system (1 program pumping 10 MB per minute all the time).
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 07:51 AM
тАО04-24-2007 07:51 AM
Re: Monitoring network traffic?
May be I will try to write something more generic next week, as I will have some spare time :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 06:51 PM
тАО04-24-2007 06:51 PM
Re: Monitoring network traffic?
I now wrote something simular for decnet too (tested with ncl/NSP, no osi here). No NCP either.
I'll just post it here too.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 07:06 PM
тАО04-24-2007 07:06 PM
Re: Monitoring network traffic?
The output of ucx show dev/fu with output directed to file just STINKS. Full of garbage.
Should I say that I agree at 102% ?
May be it is better to do, instead of
$ tcpip sh dev bgxxx:/fu
something like
$ ana/sys
tcpip sh dev bgxxx:/fu
The output has more data, but it seems to be correctly formatted.
And we go nearer an Sda extension, as building a command file with sda> tcpip commands, and parsing the output...
:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 07:31 PM
тАО04-24-2007 07:31 PM
Re: Monitoring network traffic?
$ pipe wr sys$output "tcpip sh dev /fu" | ana/sys | sea sys$pipe "Device_socket",Bytes tr",Service,Host,Port
gives good "data".
Just add some awk ( awk :== $ sys$common:[syshlp.examples.tcpip.snmp]gawk ), Perl or Python formatting, and it should be fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 07:54 PM
тАО04-24-2007 07:54 PM
Re: Monitoring network traffic?
Some votes for this on the advocacy site ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 08:31 PM
тАО04-24-2007 08:31 PM
Re: Monitoring network traffic?
Enclosed is a procedure I have been using for some time. It records each IP or DECnet (IV +V) address that connects to the local box and records the traffic count to/from each address and some simple averages. One file collects/ caclulates and stores, the other displays the results. Best results when run over long periods.
Good Luck
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2007 04:48 AM
тАО04-25-2007 04:48 AM
Re: Monitoring network traffic?
the attachment seems to contain the output of some data collections, rather than the scripts to do the collection ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2007 05:15 AM
тАО04-25-2007 05:15 AM
Re: Monitoring network traffic?
TCPIP SHOW DEV
with
SHOW DEV BG /FULL
The BG information includes the PID and process name, which is not in the TCPIP output, and removing the /FULL qualifier makes the TCPIP output much easier to process.
===
BTW, for an example of how peculiar the TCPIP output is, try the following two commands:
$ TCPIP SHOW DEV BGxxx/FULL
$ PIPE TCPIP SHOW DEV BGxxx/FULL | TYPE SYS$PIPE
They should show much the same information; however the TYPE PIPE loses most of the input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 01:39 AM
тАО04-26-2007 01:39 AM
Re: Monitoring network traffic?
My applogies - I picked up the wrong file! This one contains the procedures and one aditional one that will monitor phase V only.
Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2007 08:20 AM
тАО04-27-2007 08:20 AM
Re: Monitoring network traffic?
TCPIP> sh dev/full bg17106
Device_socket: bg17106 Type: STREAM
LOCAL REMOTE
Port: 23 49611
Host: w.x.y.z1 w.x.y.z2
Service: TELNET
RECEIVE SEND
Queued I/O 0 0
Q0LEN 0 Socket buffer bytes 0 2
QLEN 0 Socket buffer quota 4380 4380
QLIMIT 0 Total buffer alloc 0 512
TIMEO 0 Total buffer limit 35040 35040
ERROR 0 Number of XONs 0 0
OOBMARK 0 Number of XOFFs 0 0
I/O completed 0 0
Bytes transferred 0 0
Options: REUSEADR KEEP
State: ISCONNECTED PRIV ASYNC
RCV Buff: ASYNC
SND Buff: ASYNC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2007 10:38 PM
тАО04-29-2007 10:38 PM
Re: Monitoring network traffic?
However the system command
$ SHOW DEVICE BGnnnn /FULL
does show the I/Os.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 09:46 PM
тАО05-23-2007 09:46 PM
Re: Monitoring network traffic?
Do
$ set term/wid=132
$ gawk :== $ sys$common:[syshlp.examples.tcpip.snmp]gawk.exe
then
$ cre a.awk
ty l.awk
BEGIN { format = "%-107s"
printf format, "Device | type | ploc | prem | host local | host remote | b
ytes rec| bytes sent| I/O rec | I/O sen |\n"
printf format, "________________________________________________________________
__________________________________________\n"}
/Device_socket/ {dev=$2; typ=$4}
/Port:/ {plocal=$(NF-1); pdist=$NF}
/Host/ {hlocal=$2; hdist=$3}
/Bytes/ {bytest=$3; bytesr=$4}
/O completed/ {iot=$(NF-1); ior=$NF ;
{printf("%-7s,%-8s,%5d,%5d,%16s,%16s,%10d,%10d,%10d,%10d\n",dev,typ,plocal,pdist
,hlocal,hdist,bytest,bytesr,iot,ior)}}
END { format = "%-107s"
printf format, "Device | type | ploc | prem | host local | host remote | b
ytes rec| bytes sent| I/O rec | I/O sen |\n"
printf format, "________________________________________________________________
__________________________________________"}
Then the command
$ pipe wr sys$output "tcpip sh dev bg/fu" | ana/sys | sea sys$pipe "Device_socket","Bytes",Service,Host,port,comp
leted | gawk/input=l.awk sys$pipe
gives some stats
You can add a sort at the end, for example
$ pipe wr sys$output "tcpip sh dev bg/fu" | ana/sys | sea sys$pipe "Device_socket"
,"Bytes",Service,Host,port,comp
leted | gawk/input=l.awk sys$pipe | sort/key=(pos:64,size:10,asc) sys$pipe sys$output
will show the bg device stats with the most bytes received at the end of the display.
replace ,asc) by ,des) in the previous command and you will have the most at the beginning of the display
To sort on the I/O received, use
/key=(pos:85,size=10)
There is a buglet at the moment with the formatting lines being both at the beginning or the end of the display after the sort.
:-(
This hack could be modified with the pid of the bg device - just f$getdvi("bg123","pid") and/or the processname on the bg device - f$getjpi(f$getdvi("bg123","pid"),"prcnam")
Have fun !