I read the document for sys-info, and try it in my Ubuntu 12.10 AMD64bit environment.
The following is what I got:
> (sys-info)
(510 576460752303423488 411 1 0 2048 0 5350 10406 1409)
> (sys-info 9)
1409
1409 means what?
How to check my OS is windows or Linux?
Perhaps:
(case
ostype
("Win32" (println "windows"))
("Linux" (println "penguins"))
("OSX" (println "big cats")))
Or do you want to know more than that?
Thank you. I will use it for now.
It would be better if I could know the exact OS name,e.g. Ubuntu or Windows 7.