Page 1 of 1

Which jobs are running?

Posted: Thu Aug 05, 2004 2:45 pm
by milind
I have multiple projects on my DS server.How can I check the jobs that are running via the cmd line?
I tried the PORT.STATUS RUNNING option.But I get a message
RUNNING option is only valid after issuing SUSPEND.FILES ON
What does this mean?

Even if I try PORT.STATUS USER XYZ, it shows all the users jobs.

Can anyone help?

Posted: Thu Aug 05, 2004 3:06 pm
by roy
Hi,
I think using

Code: Select all

ps -ef | grep phantom
and then analizing the output strings might get you what you need.

IHTH,

Posted: Thu Aug 05, 2004 3:08 pm
by roy
:oops: windows you say,
well if SYSTEM guys can't help get the SFU (services For Unix) or any other similar unix emulation on your windows machine then you can use unix flavor solutions :)

IHTH,

Posted: Thu Aug 05, 2004 3:10 pm
by roy
hmm on second thought,
what do you want to do when you have the processes list?

Posted: Thu Aug 05, 2004 3:13 pm
by roy
Well no time to be lazy :( shame on me :(
you could use the dsjob command line utility to get the project list from your DS server, then foreach one get the list of jobs and foreach of them get their status.
this takes time to finish and some coding in OS level bat files, vbscript and so on (choose the language your more comfortable with)
and then do with them as you wish :)

yea and I forgot on multi instance jobs need to take care of those 2
oh over 00:00 here no wonder I'm all over lol

Posted: Thu Aug 05, 2004 5:06 pm
by milind
Well, that option is always there.
I was hoping for some help on PORT.STATUS command with RUNNING option or some similar one line command.
Thanks anyways.

Posted: Thu Aug 05, 2004 7:14 pm
by chulett
Check page 341 of the Universe User Reference. FWIW, for RUNNING it simply says "Lists all UniVerse processes that are not yet suspended."

Posted: Thu Aug 05, 2004 8:17 pm
by vmcburney
Speaking of Universe you've also got your DS.TOOLS menu with "list all processes" and "list all locks". Is there something on this menu that could help?

Posted: Thu Aug 05, 2004 9:40 pm
by ray.wurlod
Each server job and job sequences executes DSD.RUN.

Thus, "DSD.RUN" is a better string on which to filter the output of such commands as PORT.STATUS or ps -ef.

It is more accurate than "phantom", because phantom (background) processes also execute Transformer stages, via the DSD.StageRun routine.