kris06 Posted July 1, 2008 Share Posted July 1, 2008 Hi all, Is it possible to check for a particular service on a remote computer? I need to ensure that a service is up, before i can telnet into a machine. any help would be greatly appreciated , thanks. ~Kris Link to comment Share on other sites More sharing options...
IvanDream Posted July 1, 2008 Share Posted July 1, 2008 sry i don't fully understand wht do u mean? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted July 1, 2008 Share Posted July 1, 2008 Use GEOSoft's Services.au3 .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
kris06 Posted July 1, 2008 Author Share Posted July 1, 2008 Use GEOSoft's Services.au3I figured a quicker way, using windows tasklist utility.tasklist /s 127.0.0.1 /FI "SERVICES eq autoit3.exe" >file.txtthis would write the output(image name, PID..etc) to file.txt. if the service does not exist, the file would be empty.then its just a matter of reading the file. filesize>0 and filesize=0 checks to ensure the service is up or not.Thanks for responses !~Kris Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now