sp_who2 is a system stored procedure that returns information about current users, sessions, and processes in SQL Server. The query 'select * from sys.sysprocesses' directly accesses the system view containing process information. sp_helpdb shows database information, and sp_helpprocess is not a valid SQL Server stored procedure. Both C and D are valid methods.