Sponsored Content
Top Forums UNIX for Advanced & Expert Users To get PID of a command passed to a secondary system Post 302210766 by anu_math9 on Tuesday 1st of July 2008 11:23:03 PM
Old 07-02-2008
Quote:
Originally Posted by Smiling Dragon
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
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how to configure the lp system to filter files passed to it

I registered a printer hp123 on Sun Solaris Server. I think my printer is expecting a carriage return and linefeed combination at the end of each line (DOS standard), but unix files only have linefeeds at the end of each line. How can I configure the lp system to filter files passed to it?... (1 Reply)
Discussion started by: simt
1 Replies

2. Shell Programming and Scripting

How to find pid of PS which executed by perl system function

hello All, I need to invoke by perl script some program/command and monitor it for 5 minutes . In case it still running for more then 5 min I need to send a signal which will stop it. I implemeted this as shown below by using eval & alarm and I'd like to know if there is a better way to... (1 Reply)
Discussion started by: Alalush
1 Replies

3. UNIX for Advanced & Expert Users

Creating System Call, need PID of caller

Hey I am creating a new system call that needs to know the PID of the calling process. I am new to coding in the kernel, so I don't know if this is possible... Any help would be nice. Thanks! Hapatchi (4 Replies)
Discussion started by: Hapatchi
4 Replies

4. Shell Programming and Scripting

Get Pid from a command output

pariosd -status NodeName ID ROLE STATE PROTECTION --------------------------------------------------------------------------- tn320_scm10 10 ACTIVE UP No Protection tn320_scm11 11 UNKNOWN UNKNOWN LocalApps ... (5 Replies)
Discussion started by: hariprasad123
5 Replies

5. Shell Programming and Scripting

shell script for ftp files passed in command line argument

i want to write a shell script function that will ftp the files passed in the command line . i have written a shell script for ftp but how will it do for all files passed in command line argument , i am passing 4 files as argument ./ftp.sh file1 file2 file3 file4 code written by me... (5 Replies)
Discussion started by: rateeshkumar
5 Replies

6. Programming

How to get the size of the datatype passed as the command line argumet?

#include <stdio.h> int main(int argc, char *argv) { printf("%d\n", sizeof(argv)); return 0; } when I run the executable a.out after compiling the above program as: a.out short (or) a.out "long double", I expected to get the output as 2 and 12, but I am always getting the size of... (2 Replies)
Discussion started by: royalibrahim
2 Replies

7. Shell Programming and Scripting

Using GID,Secondary ID in useradd command

Hi All, I am writing the script for user creation and want to use GID and Secondary group id from previous similar profile.Any one help me how we will take out GID & Secondary and use in useradd command. $ id -a test uid=6236(test) gid=999(local) groups=999(local),9003(testadmin) Above... (4 Replies)
Discussion started by: susindram
4 Replies

8. Shell Programming and Scripting

Variable not passed to the sed command

Hello, I am writing a script which is not giving the desired result. When I check the content of the 'InputFile_009_0.sh', it shows following with missing Index in this command sed -i "s/L1ITMBLT.root/L1ITMBLT_"".root/g" run_DttfFromCombinedPrimitives_cfg.py of . Any help? ... (13 Replies)
Discussion started by: emily
13 Replies

9. Shell Programming and Scripting

How to find the corresponding command for a existing PID?

Hi All, A process completed already and I have the PID. I want to know the which command used for this PID. 'ps' command and '/proc' folder having the list current process only. Is there a way to search completed process PID? Thanks, Manimuthu (5 Replies)
Discussion started by: k_manimuthu
5 Replies

10. HP-UX

Unable to add 300gb secondary disk to running 11.11 HPUX system

This has got to be the system from hell. Once again, on the RP4440 (after the supplier replaced the entire box due to the bad RTC battery), finally have it all reloaded with the packages the developers need. The last thing is to add the secondary disk to the OS. BCH sees both OS and secondary... (2 Replies)
Discussion started by: mrmurdock
2 Replies
QUICKPLOT_SHELL(1)					      General Commands Manual						QUICKPLOT_SHELL(1)

NAME
quickplot_shell - a remote command line shell for quickplot SYNOPSIS
Usage: quickplot_shell [PID]|[-h|--help]|[QUICKPLOT_OPTIONS] DESCRIPTION
Quickplot is an interactive 2D plotter. It's primary focus is to interactively display 2D plots. quickplot_shell connects to a running Quickplot program. quickplot_shell provides a command line interface for most of the graphical user interfaces that are in the Quickplot program. quickplot_shell reads and writes to standard input and standard output respectively. When standard input is a tty device quick- plot_shell enables readline tab completion and history. If you would like to save your Quickplot shell history between sessions just cre- ate a .quickplot_history in your home directory with a command like `touch ~/.quickplot_history'. If the argument option PID is not given, quickplot_shell will launch Quickplot as a new process and connect to that new process. In this case Quickplot will be started with QUICKPLOT_OPTIONS if any are given. If PID is given, quickplot_shell will connect to a running Quickplot program with process ID PID. quickplot_shell sets up two named pipes, signals the running Quickplot program and writes commands and reads responses to and from the pipe. The named pipes will be unlinked as soon as they are connected, and hence will be removed automatically when the two programs are no longer running. quickplot_shell, the remote Quickplot shell, acts just like running quickplot --shell, a local Quickplot shell, but quickplot_shell runs as a separate process and talks to the Quickplot program using pipes, where as quickplot --shell runs one process with both the GUI and the shell with no pipes. You may connect as number of remote Quickplot shells to a Quickplot program. -h, --help display help and exit SEE ALSO
quickplot(1) COPYRIGHT
Copyright (C) 1998-2011 Lance Arsenault Quickplot is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Quickplot is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Quickplot. If not, see <http://www.gnu.org/licenses/>. AUTHOR
Lance Arsenault <lanceman@users.sourceforge.net> Send bug reports or comments to the above address. For more information, see the Quickplot homepage at <http://quickplot.sourceforge.net/>. Quickplot Version 0.10.3: 31 Jan 2012 03:27:29 UTC QUICKPLOT_SHELL(1)
All times are GMT -4. The time now is 11:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy