Results 1 to 2 of 2
  1. #1
    dougie1809 is offline Senior Member
    Join Date
    Nov 2011
    Rep Power

    Default Command line question


    In java how can I get the output of the PID of a certain port numbers in the command 'netstat -aon' ?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power

    Default Re: Command line question

    There are methods in the Process class for getting the output from a command that is executed.

Similar Threads

  1. Replies: 16
    Last Post: 09-17-2011, 02:41 AM
  2. Command Line Error
    By Differintegral in forum New To Java
    Replies: 8
    Last Post: 07-29-2010, 09:49 AM
  3. can i run line by line command in netbean?
    By choconlongxu in forum NetBeans
    Replies: 1
    Last Post: 07-19-2010, 08:41 PM
  4. Replies: 2
    Last Post: 07-02-2010, 02:20 PM
  5. Unable to execute command line command in java
    By LordSM in forum New To Java
    Replies: 1
    Last Post: 08-08-2007, 12:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts