The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Ports zsujith HP-UX 1 12-31-2007 04:45 PM
help with discovering bad passwords question jodders Security 1 02-21-2005 05:36 PM
Ports Ralf UNIX for Dummies Questions & Answers 2 12-10-2002 12:07 PM
Ports Yaki UNIX for Dummies Questions & Answers 6 10-10-2002 12:07 PM
TCP/UDP Ports eugene_mayo IP Networking 5 08-26-2002 07:27 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 3 Weeks Ago
dck133 dck133 is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 3
discovering which ports are in use

I am trying to find a way to discover which ports are in use on a UNIX system. I cannot install lsof on it, and it looks like the telnet option is disabled.
  #2 (permalink)  
Old 3 Weeks Ago
mkastin mkastin is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 46
Try this

Code:
$netstat -pnae
the -p option will only properly display the prom using the port if you are root.
  #3 (permalink)  
Old 3 Weeks Ago
thegeek thegeek is offline
Registered User
  
 

Join Date: Apr 2009
Location: /usr/bin/vim
Posts: 444
all open ports...

Code:
netstat -tulpn
  #4 (permalink)  
Old 3 Weeks Ago
dck133 dck133 is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 3
doesn't seem to like them

I get these error messages:

EZZ2381I Incorrect option argument ulpn


EZZ2377I Could not establish affinity with NAE (138/11B3005A) - can not provide the requested o
ption information


I am not the sys admin.

What I am trying to do is find an open port for my program to use - if I do

netstat -o

would the list I get be comprehensive enough or could I assign my program a port someone else is using?
  #5 (permalink)  
Old 3 Weeks Ago
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,167
Please state the exact version if unix and the flavour of shell. What programming language are you using?
  #6 (permalink)  
Old 3 Weeks Ago
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,395
Looks like it's z/OS, not exactly what I would even remotely call a version of Unix ...
  #7 (permalink)  
Old 3 Weeks Ago
dck133 dck133 is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 3
I didn't realize the z/OS version of UNIX was so different from other versions. I can run most shell cmds and have written shell scripts using KORN shell cmds. Should I find a forum specializing in z/OS shell?
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0