Softsense: sensing at software level