KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVRootBatch.cpp
Go to the documentation of this file.
1 /*
2 $Id: KVRootBatch.cpp,v 1.7 2007/11/20 16:45:22 franklan Exp $
3 $Revision: 1.7 $
4 $Date: 2007/11/20 16:45:22 $
5 */
6 
7 //Created by KVClassFactory on Thu Apr 13 13:08:06 2006
8 //Author: John Frankland
9 
10 #include "KVRootBatch.h"
11 #include "TSystem.h"
12 
14 
15 
16 
20  : KVBatchSystem(name)
21 {
22  //Default constructor
23 }
24 
25 
26 
29 
30 KVRootBatch::~KVRootBatch()
31 {
32  //Destructor
33 }
34 
35 
36 
40 
42 {
43  //Print list of owner's jobs.
44  //opt="" (default) : print all jobs
45  KVString cmd("ps -ax | grep root | grep KaliVedaAnalysis");
46  gSystem->Exec(cmd.Data());
47 }
48 
49 
50 
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
char Char_t
const char Option_t
R__EXTERN TSystem * gSystem
Base class for interface to a batch job management system.
Definition: KVBatchSystem.h:77
Run job in separate xterm window.
Definition: KVRootBatch.h:21
virtual void PrintJobs(Option_t *opt="")
Definition: KVRootBatch.cpp:41
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:72
const char * Data() const
virtual Int_t Exec(const char *shellcmd)