4 #include "KVBatchJob.h"
42 cout << GetJobID() <<
" " << GetName() <<
" " << GetStatus() <<
" " << GetSubmitted().AsSQLString();
43 if (!strcmp(GetStatus(),
"r")) cout <<
" " << GetCPUusage() <<
" " << GetMemUsed();
57 TEnv stats(
Form(
"%s.status", GetName()));
58 if (!stats.
Defined(
"TotalEvents")) {
62 SetEventsTotal(stats.
GetValue(
"TotalEvents", 0));
63 SetEventsRead(stats.
GetValue(
"EventsRead", 0));
64 SetDiskUsed(stats.
GetValue(
"DiskUsed",
""));
char * Form(const char *fmt,...)
Handles jobs submitted to batch system.
void ls(Option_t *="") const
virtual void UpdateDiskUsedEventsRead()
virtual ~KVBatchJob()
Destructor.
virtual const char * GetValue(const char *name, const char *dflt) const
Bool_t Defined(const char *name) const