Start a Conversation

Unsolved

This post is more than 5 years old

JL

20805

July 20th, 2012 11:00

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

128 Posts

July 20th, 2012 12:00

At Program Files\Legato\nsr\bin.

Regards

2 Intern

 • 

14.3K Posts

July 20th, 2012 12:00

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).

128 Posts

July 20th, 2012 12:00

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

Regards

July 20th, 2012 12:00

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.

July 20th, 2012 12:00

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

128 Posts

July 20th, 2012 12:00

Hi John,

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

Regards

Claudio

2 Intern

 • 

14.3K Posts

July 20th, 2012 13:00

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.

89 Posts

January 4th, 2014 22:00

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

2 Intern

 • 

14.3K Posts

January 5th, 2014 08:00

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.

No Events found!

Top