How can I check what OS my servers are running?

link|improve this question

feedback

1 Answer

up vote 5 down vote accepted

On Windows servers, you can have some info with the "srvinfo" command

On linux, try "uname -ra"

link|improve this answer
1  
or "lsb_release -a" on Linux, too. – weeheavy Jan 12 '11 at 13:44
msinfo32 works on just about every version of Windows for the last decade; the uname command works on almost all *nix platforms. – Chris S Jan 12 '11 at 13:46
On Linux cat /etc/issue will give you more details about the distribution. There are also some special files: SUSE: /etc/SuSE-release, RedHat: /etc/redhat-release. – Christian Jan 12 '11 at 14:13
cool - did not know about srvinfo – August Jan 12 '11 at 15:00
Srv info is also useful for getting the server's uptime by the way – Florent Courtay Jan 12 '11 at 15:40
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.