Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

when I type:

 uname -v

from where this command (uname -v) take the OS version ? from which file/configuration-files ?

share|improve this question
which version of Solaris are you running ? – Iain Jan 9 '12 at 10:58
up vote 2 down vote accepted

On Solaris, the uname(2) system call provides this information from the running kernel image. Your kernel image is likely at

/platform/`uname -m`/kernel/unix

or similar.

Where you can find old kernel images depends on how you upgraded your system. On newer versions of Solaris, if you have used Live Upgrade, lustatus will show you the available boot environments.

share|improve this answer

uname get's it's information from the /proc filesystem, which is a representation of the currently running kernel.

share|improve this answer
Did you know which file under /proc have the previous OS version , I ask this because I upgrade my SOLARIS version and I need to know also the previous OS version , so how to identify this info ? – Eytan Jan 9 '12 at 10:37
Normally it's in /proc/version – SimonJGreen Jan 9 '12 at 10:39
in SOLARIS I not have the file /proc/version – Eytan Jan 9 '12 at 10:44
Usually uname(1) uses the uname(2) syscall; this is true in at least Linux and Solaris. – Richard Kettlewell Jan 9 '12 at 17:12
@SimonJGreen Solaris doesn't (ab)use the /proc filesystem in the same way Linux does. /proc is only for information about running processes. – James O'Gorman Jan 10 '12 at 14:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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