Assume pid is a previously-killed process id. Under OSX (64 bit snow leopard, x86), getProcTime(pid) throws a SigarException with message "No such process". Under Windows 7 64-bit, the SigarException has message "The parameter is incorrect". It would be nice if the message was the same so that platform-independent handling code can be written, and in particular the OSX version is more informative.
↧