469,306 Members | 2,281 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

C/C++:Can't Use "ssh/rsh ... ps ..." To Windows: cygwin not allowed, application conflicts

vbscript and/or javascript is most likely what I want to use!
From a SGI and a Linux box with a known PID, how do I determine if

that process is running on a Windows computer? Please explain to me
how to do this with vbscript and/or with javascript! Which language
is better? Speed is a very important limitation, so which language
is faster in batch processing?

On unix, I would use something such as "ps -p<PID>" to determine
the activity of a process.

I am forbidden to install and use things such as cygwin because
they slow down the system too much.

rsh and ssh conflict with other applications already running on
the computer, so I can't use them.

How different is Perl from vbscript? Should I go out and buy
another book or can you give me a small script (which is easily
understandable) to do the task? You can use "ps" with "popen" in
your script. Please tell me how to run your script?

How could I use your script with C and C++? Could you give me a
simple "ps -p" like program that executes on Windows and is useable
by C/C++? Or, am I restricted to using a C/C++ "system" call with
your script?

Thank you,
Christopher Lusardi

Jul 23 '05 #1
2 1600
cl********@aol.com wrote in news:1115663056.051784.92530
@z14g2000cwz.googlegroups.com:

[ follow-ups set ]
vbscript and/or javascript is most likely what I want to use!
....
Please explain to me how to do this with vbscript and/or with
javascript!
Then why do you post to comp.lang.perl.misc?
How different is Perl from vbscript?


http://learn.perl.org/

Oh, by the way, *PLONK*

Sinan

--
A. Sinan Unur <1u**@llenroc.ude.invalid>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/cl...uidelines.html
Jul 23 '05 #2
cl********@aol.com wrote:
vbscript and/or javascript is most likely what I want to use!
Then, do you have a Perl question, too?

[...] On unix, I would use something such as "ps -p<PID>" to determine
the activity of a process.

I am forbidden to install and use things such as cygwin because
they slow down the system too much.

rsh and ssh conflict with other applications already running on
the computer, so I can't use them.
So, do you have a Perl question, too?
How different is Perl from vbscript?
Do they have anything in common?
Should I go out and buy
another book or can you give me a small script (which is easily
understandable) to do the task? You can use "ps" with "popen" in
your script. Please tell me how to run your script?
Whos script? It is customary in this NG to post what you have so far, then
people are glad to improve your code.
Asking for someone to write the script for you is very much frowned upon.
There is perl.jobs.offered somewhere.
How could I use your script with C and C++? Could you give me a
simple "ps -p" like program that executes on Windows and is useable
by C/C++? Or, am I restricted to using a C/C++ "system" call with
your script?


Whos script are you talking about?

jue
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Kevin Mitchell | last post: by
4 posts views Thread by Larry Smith | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.