JohnLeonard1
1 Nickel

How to stop a currently running job

Hi -


I started a job from the  commnand line - savegrp -l full -G "Windows Corp"

I now wnat to stop it because it has been running for 72 hrs.

I trie using the GUI and no luck.

How can I stop or kill the running job?

version 7.4 sp5

0 Kudos
9 Replies
Polska22
2 Iron

Re: How to stop a currently running job

Hi John,

You'll need to kill the process from command line (or Task Manager, for Windows)

Regards

Claudio

0 Kudos
JohnLeonard1
1 Nickel

Re: How to stop a currently running job

Since I started the job from the command line it is not allowing me to "stop" it fromthe GUI.

I check task manger and it does not show up as running.

What process do I need ot kill?

There must me a networker command that would do this - the version I am running does not have the jobkill or jobquery feature.

Thanks.

0 Kudos
Polska22
2 Iron

Re: How to stop a currently running job

Try Sysinternals for Windows, or nsradmin (see https://solutions.emc.com/emcsolutionview.asp?id=esg57088)

Regards

ble1
5 Iridium

Re: How to stop a currently running job

Groups started from CLI can't be killed from GUI.  Go to server, do ps -ef | grep savegrp and then kill PID for pid which is assigned to group.  Another way is using jobkill command, but you would need to know job id which is now to complicated to describe here (I might write blog on that subject soon).

0 Kudos
JohnLeonard1
1 Nickel

Re: How to stop a currently running job

Thanks for the info - we are on version 7.4 sp5 and it did not look like the jobkill or jobquery command was available.

What dirctory are all the commands located on in the Windows server environment - our backup server is windows box.

Thanks in advance for your help.

-John

0 Kudos
Highlighted
Polska22
2 Iron

Re: How to stop a currently running job

At Program Files\Legato\nsr\bin.

Regards

ble1
5 Iridium

Re: How to stop a currently running job

Ah Windows... is it at least win2k8?  In that case you can find easily PID and there is kill command too.  Other than that, use task manager to kill savegrp process. The one you started will probably run under your user ownership while others will be SYSTEM.

0 Kudos
NWadmin1
2 Iron

Re: How to stop a currently running job

Hi Hrvoje,

jobkill can terminate anything that listens on a channel it has with nsrjobd. That means either an entire savegrp or any worker job spawned by nsrjobd. It cannot kill manually started jobs (with exception of creator jobs such as savegrp).

Regards,

Mustafa

0 Kudos
ble1
5 Iridium

Re: How to stop a currently running job

With jobkill you can do it, but there is no easy way to find job id with jobquery (more this is something you must script - I do that for example in my environment).  So, users who are not so advance certainly won't find job* commands handy out of the box.  It will be way easier for them to just kill savegrp process from OS level.

0 Kudos