You are on page 1of 1

Verifying the process which are being executed on Sysbase — DBA to DBA about:reader?url=http://www.dbatodba.com/sybase/how-tos/verifying-the...

dbatodba.com

Verifying the process which are being


executed on Sysbase — DBA to DBA
1-2 minutes

Verifying the process which are being executed on Sysbase

Below, the stament to check the process which are being executed
on Sysbase

select convert(char(8), suser_name(suid)), spid,


physical_io, cpu,
"procedure" = convert(char(8),object_name(id,
dbid)),
linenum, blocked, cmd, status, hostname,
program_name, tran_name, hostprocess, execlass,
enginenum,
memusage
from master..sysprocesses
where dbid > 0
and suid > 0
and cmd <> "AWAITING COMMAND"
and status <> "recv sleep"
go

1 of 1 04-06-2018, 22:00

You might also like