coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Wednesday May 22, 2013


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 33 guests online

Newest Member

nbewwmbxog

Hit Counter
11555892 Visitors

cool Statistics
coolcommands:1338
Categories:83
Total queries:620226
Members:22813





Search coolcommands.com
Search Keyword:


coolcommand

how to find the process id by used port number in AIX
Description

To find the process which is using a particular port in AIX:

# for PID in $(netstat -Aan | grep *.port# | cut -d " " -f1); do rmsock $PID tcpcb | cut -d " " -f9 | xargs ps ; done
Example

for PID in $(netstat -Aan | grep *.5666 | cut -d " " -f1); do rmsock $PID tcpcb | cut -d " " -f9 | xargs ps ; done

Return to search results

Random coolcommands

coolcommand: how to test if an integer variable is less than another integer variable in a shell script
Example: test $int1 -lt $int2; [ $int1 -lt $int2 ]
[show me the details]
coolcommand: how to login to a Sybase database
Example: isql -U sa password
[show me the details]
coolcommand: lt.pl - how to take perl localtime and display in human readable format
Example: lt.pl
[show me the details]
coolcommand: how to mount a cdrom manually in Sun Solaris
Example: mount -o ro /dev/dsk/c0t6d0s1 /mnt/cdrom
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1160
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris51943
Category AIX49010
Category General UNIX47572
solaris23554
aix22739

Terms of Use
Privacy
Contact


 
coolcommands.com © 2013. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum