The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
primary-secondary sync problem mbannout UNIX for Advanced & Expert Users 0 04-15-2008 02:52 AM
Help, How to add secondary IP addr to eth0, by programme? pcman High Level Programming 2 07-16-2006 07:05 PM
how to configure the lp system to filter files passed to it simt UNIX for Advanced & Expert Users 1 09-23-2003 12:43 AM
secondary TCP application lanman IP Networking 2 01-30-2002 12:25 AM
Secondary DNS question 98_1LE UNIX for Dummies Questions & Answers 3 09-25-2001 01:41 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-30-2008
Registered User
 

Join Date: Jun 2008
Posts: 2
To get PID of a command passed to a secondary system

Hi

Reqmt: I am working on Sys 1 and passes a command to Sys2 using a utility which has ssh coded in it. Is there any way to get the process id of the command in Sys 2 from my Sys1 ? Note: The utility is not editable, so you cannot get it through it and I am not logged in in Sys2.

Thanks
Regards
Anu
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-01-2008
Smiling Dragon's Avatar
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 711
Quote:
Originally Posted by anu_math9 View Post
Reqmt: I am working on Sys 1 and passes a command to Sys2 using a utility which has ssh coded in it. Is there any way to get the process id of the command in Sys 2 from my Sys1 ? Note: The utility is not editable, so you cannot get it through it and I am not logged in in Sys2.
If you can't get into the utility used to spawn the process remotely, and you can't connect to the remote sysetm, then no, you can't get the PID on the remote system sorry (unless the utility has an option to return this PID).
Reply With Quote
  #3 (permalink)  
Old 07-01-2008
Registered User
 

Join Date: Jun 2008
Posts: 2
Quote:
Originally Posted by Smiling Dragon View Post
If you can't get into the utility used to spawn the process remotely, and you can't connect to the remote sysetm, then no, you can't get the PID on the remote system sorry (unless the utility has an option to return this PID).

Hey! Thank you for that ya.....I was thinking if we could get the codebase of the ssh or any other utility connecting to remote system and extract the PIDs through that.Can anyone send me the link where I can get those codes of utilities in UNIX.

The Utility which I used in shell is the OSC client which connects to servers and get the details.

Regards
Anu
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0