07-02-2008
Quote:
Originally Posted by
anu_math9
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).
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
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
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
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
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
#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
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
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
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
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
LEARN ABOUT DEBIAN
sys::filesystem::darwin
Sys::Filesystem::Darwin(3pm) User Contributed Perl Documentation Sys::Filesystem::Darwin(3pm)
NAME
Sys::Filesystem::Darwin - Return Darwin (Mac OS X) filesystem information to Sys::Filesystem
SYNOPSIS
See Sys::Filesystem.
DESCRIPTION
The filesystem information is taken from diskutil, the system utility supplied on Mac OS X.
INHERITANCE
Sys::Filesystem::Darwin
ISA Sys::Filesystem::Unix
ISA UNIVERSAL
METHODS
version ()
Return the version of the (sub)module.
ATTRIBUTES
The following is a list of filesystem properties which may be queried as methods through the parent Sys::Filesystem object.
The property 'label' is also set, but cannot be queried by Sys::Filesystem yet.
mount_point
The mount point (usually either '/' or '/Volumes/...').
device
The mounted device
format
Describes the type of the filesystem. So far I encountered the following types:
hfs The standard Mac OS X HFS(+) filesystem. Disk images (.dmg) and Mac Software DVDs normally also use the HFS(+) format.
msdos
DOS image files (e.g. floppy disk images)
cd9660
CD-ROM image files or real CD-ROMs
cddafs
Audio CDs
udf UDF filesystem (e.g. DVDs)
(empty)
For mounted FTP servers, disktool returns an empty filesystem type (ie, '').
BUGS
Doesn't take /etc/fstab or /etc/xtab into account right now, since they are normally not used. Contact the author if you need this.
SEE ALSO
Sys::Filesystem, diskutil
VERSION
$Id: Darwin.pm 128 2010-05-12 13:16:44Z trevor $
AUTHOR
Christian Renz <crenz@web42.com>
Jens Rehsack <rehsack@cpan.org> - <http://www.rehsack.de/>
COPYRIGHT
Copyright 2004,2005,2006 Nicola Worthington. Copyright 2009,2010 Jens Rehsack.
This software is licensed under The Apache Software License, Version 2.0.
<http://www.apache.org/licenses/LICENSE-2.0>
perl v5.10.1 2010-05-18 Sys::Filesystem::Darwin(3pm)