Hi Govindarajan,
In sp_who output , cmd identifies the command or process currently being executed.
Evaluation of a conditional statement, such as an if or while loop, returns cond.
You can check more details about an spid as below :
dbcc traceon(3604)
go
dbcc sqltext(spid)
go
dbcc traceoff(3604)
go
~Gaurav