I don't think you can prevent the cube from being processed if someone else is processing it. What you can do for βhelpβ is to run an MDX request to check when the last cube was processed:
SELECT CUBE_NAME, LAST_DATA_UPDATE FROM $System.MDSCHEMA_CUBES
or check the sys.process table on the realt sql server to make sure it is running:
select spid, ecid, blocked, cmd, loginame, db_name(dbid) Db, nt_username, net_library, hostname, physical_io, login_time, last_batch, cpu, status, open_tran, program_name from master.dbo.sysprocesses where spid > 50 and loginame <> 'sa' and program_name like '%Analysis%' order by physical_io desc go
Diego
source share