Sponsored Content
Top Forums Shell Programming and Scripting How to track Inbound Outbound connections to PID? Post 302940572 by mohtashims on Tuesday 7th of April 2015 09:15:17 AM
Old 04-07-2015
Hammer & Screwdriver How to track Inbound Outbound connections to PID?

I have a Application Server process that hosts my application web & EJB and JMS and Database connectios etc.

Using the PID what is the best way to find out the Inbound connection sockets i.e those parties that connect to my server process on different ports numbers and Outbound connection sockets i.e. those parties that my server connects to like Databases JMS or third party applications.

Need this for Linux and Unix both.

Can someone help ?

Last edited by mohtashims; 04-07-2015 at 10:21 AM..
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Processing inbound mail

Hi All Has anyone written any script that would listen for inbound mail and based on its subject process the body ? Thx J (3 Replies)
Discussion started by: jhansrod
3 Replies

2. UNIX for Dummies Questions & Answers

Session PID & socket connection pid

1. If I use an software application(which connects to the database in the server) in my local pc, how many PID should be registered? Would there be PID for the session and another PID for socket connection? 2. I noticed (through netstat) that when I logged in using the my software application,... (1 Reply)
Discussion started by: pcx26
1 Replies

3. UNIX for Dummies Questions & Answers

Possible to track FTP user last login? Last and Finger don't track them.

Like the topic says, does anyone know if it is possible to check to see when an FTP only user has logged in? Because the shell is /bin/false and they are only using FTP to access the system doing a "finger" or "last" it says they have never logged in. Is there a way to see when ftp users log in... (1 Reply)
Discussion started by: LordJezo
1 Replies

4. AIX

disable inbound mail for AIX 5.3

Hi All, How do I disable inbound mail for AIX 5.3 server? I just need the outbound mail. It's using the native sendmail program. Thank you! (1 Reply)
Discussion started by: itik
1 Replies

5. Shell Programming and Scripting

Adding timestamp to all inbound files

hi, can someone give me a sample shell scripts to make all inbound files will a have a Moveit timestamp.I think MoveIt is a server,thanks. (5 Replies)
Discussion started by: sonja
5 Replies

6. IP Networking

squid proxy: one NIC for inbound & one NIC for outbound?

I am new in squid proxy. My question is how to (and if it's necessary) to set one NIC for inbound traffic (http requests) and one NIC for outbound traffic (http answers)? Thank you in advance! (4 Replies)
Discussion started by: aixlover
4 Replies

7. UNIX for Dummies Questions & Answers

Shell script to collect inbound connections

Hi Kindly provide me shell script on server to collect inbound connections, using port number on Linux. (4 Replies)
Discussion started by: adminhelp
4 Replies

8. UNIX for Dummies Questions & Answers

File Inbound/Outbound shell script(ksh)

URGENT ---------- Post updated at 04:26 AM ---------- Previous update was at 04:23 AM ---------- (I could not post I didn't know why so I need to put the contents via reply, sorry) Hi all :D, I am a newbie of Unix shell script and I was assigned the work from user that I need to... (3 Replies)
Discussion started by: gogkub
3 Replies

9. Shell Programming and Scripting

How to list all outbound sockets given a PID?

I used netstat -tp <pid> to list all Foreign Addresses i.e OutBound sockets on Linux. Likewise, i wish to list all Foreign Addresses on Sparc Solaris. I get illegal option -- t when i try this command on Solaris. The second query i have is that in the output of netstat command some... (1 Reply)
Discussion started by: mohtashims
1 Replies
asadmin-create-jms-resource(1AS)				   User Commands				  asadmin-create-jms-resource(1AS)

NAME
asadmin-create-jms-resource, create-jms-resource - registers the JMS resource SYNOPSIS
create-jms-resource --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s][--passwordfile filename] [--terse=false] [--echo=false] [--interactive=true] --restype resource_type [--enabled=true][--description text] [--property (name=value)[:name=value]*] jndi_name Registers the JMS resource. This command is supported in remote mode only. OPTIONS
--user authorized domain application server administrative username. --password password to administer the domain application server. --host machine name where the domain application server is running. --port port number of the domain application server listening for administration requests. --secure if true, uses SSL/TLS to communicate with the domain application server. --passwordfile file containing the domain application server password. --terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well- formatted data for consumption by a script. --echo setting to true will echo the command line statement on the standard output. --interactive prompts you for the required options that are not already specified. --restype JMS resource type which can be: javax.jms.Topic, javax.jms.Queue, javax.jms.TopicConnectionFactory, javax.jms.QueueConnectionFactory. --enabled determines whether the resource is enabled at runtime. --description text description of the JMS resource. --property optional attribute name/value pairs for configuring the JMS resource. OPERANDS
jndi_name JNDI name of the JMS resource to be created. Example 1: Creating a JMS connection factory resource for durable subscriptions asadmin> create-jms-resource --user admin1 --password adminadmin1 --host pigeon --port 5001 --restype javax.jms.TopicConnectionFactory --description "example of creating a JMS connection factory" --property ClientId=MyID jms/DurableTopicConnectionFactory Command create-jms-resource executed successfully Where: jms/DurableTopicConnectionFactory is the JNDI name of the resource, and the ClientId property sets a client ID on the connection factory so that it can be used for durable subsciptions. The JNDI name for a JMS resource customarily includes the jms/ naming subcontext. Example 2: Creating a JMS destination resource asadmin> create-jms-resource --user admin1 --password adminadmin1 --host pigeon --port 5001 --restype javax.jms.Queue --property Name=PhysicalQueue jms/MyQueue Command create-jms-resource executed successfully Where: jms/Queue is the JNDI name of the resource, and the Name property specifies the physical destination that the resource refers to. EXIT STATUS
0 command executed successfully 1 error in executing the command asadmin-delete-jms-resource(1AS), asadmin-list-jms-resources(1AS), asadmin-create-jmsdest(1AS) J2EE 1.4 SDK March 2004 asadmin-create-jms-resource(1AS)
All times are GMT -4. The time now is 08:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy