# Smstatus error code
# 0: Active: The process is fully active and ready for work.
# 1: Starting: The process is starting but is not yet ready for work.
# 2: Ending: The process was requested to end but has not yet ended.
# 3: Inactive: The process has ended or was never started.
# 4: Error: The process has ended abnormally.
# 7: Incorrect parameters: Incorrect parameters were entered.