We can track the status of the running batch job by using:-
List<AsyncApexJob> myrunningjob = [Select Id, Status, ApexClass.Name From AsyncApexJob where ApexClassId =: yourclassid order by CreatedDate DESC limit 1]; System.debug(‘@@@@@ running job status is: @@@’+ myrunningjob[0].status);