Sysinternals Homepage
Forum Home Forum Home > Windows Discussions > Troubleshooting
  New Posts New Posts RSS Feed: CLI method for getting TCP info for proce
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

CLI method for getting TCP info for proce

 Post Reply Post Reply
Author
Message Reverse Sort Order
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Online Status: Offline
Posts: 17492
Post Options Post Options   Quote molotov Quote  Post ReplyReply Direct Link To This Post Topic: CLI method for getting TCP info for proce
    Posted: 03 June 2008 at 7:32pm
Good to hear, Ty. Smile
Daily affirmation:
net helpmsg 4006
Back to Top
tyoung13 View Drop Down
Newbie
Newbie


Joined: 03 June 2008
Location: United States
Online Status: Offline
Posts: 4
Post Options Post Options   Quote tyoung13 Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2008 at 12:54pm
Thanks for your suggestion.  I did find that tcpvcon will work nicely for this purpose, and I'm in the process of wrapping some Perl around pslist and tcpvcon now.
Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Online Status: Offline
Posts: 17492
Post Options Post Options   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2008 at 10:09am
Hi Ty,
 
Wonder if you could use psexec with netstat or tcpvcon?
Daily affirmation:
net helpmsg 4006
Back to Top
tyoung13 View Drop Down
Newbie
Newbie


Joined: 03 June 2008
Location: United States
Online Status: Offline
Posts: 4
Post Options Post Options   Quote tyoung13 Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2008 at 9:53am
Hi list,
 
I need to go out on  a number of win2k3 boxes, get a list of the WebLogic services ("beasvc") running, measure the amount of memory in use by each service, and if memory usage exceeds X, determine the TCP ports in use for that particular svc so that I can alert someone/something.
 
The first part is easy with pstools.  I have that one down.  The second part (getting TCP port info) seems more tricky, given that I've found very minimal CLI functionality for procexp.
 
Any suggestions?
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down