Output of /proc/version

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Output of /proc/version
# 1  
Old 07-01-2010
Output of /proc/version

Hi,

I am a newbie in Linux.
Appended is the output of cat /proc/version and uname -a.

Code:
# cat /proc/version 
Linux version 2.6.32.12-115.fc12.i686 (mockbuild@x86-03.phx2.fedoraproject.org) (gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC) ) #1 SMP Fri Apr 30 20:34:53 UTC 2010

# uname -a
Linux Leo 2.6.32.12-115.fc12.i686 #1 SMP Fri Apr 30 20:34:53 UTC 2010 i686 i686 i386 GNU/Linux


Is this a Red Hat system or a Fedora ?I would appreciate if somebody can take the time to split up and explicitly state the meaning of above.

Thanks
HG
# 2  
Old 07-01-2010
It looks like a Fedora installation. Try using the 'lsb_release -a' command. Might give you a better idea.
# 3  
Old 07-01-2010
Thanks for responding.But I don't find a command like that in my system.

HG
# 4  
Old 07-01-2010
Oh yeah, I forgot. You might have to install a package for that. I don't remember the name of the package though. Sorry.
# 5  
Old 07-01-2010
It's a Fedora machine. The kernel saves the hostname it was built on: x86-03.phx2.fedoraproject.org.
The lsb_release program is found in the package redhat-lsb
Alternatively, and this should work on all current Linux distributions, run
Code:
cat /etc/*release

# 6  
Old 07-01-2010
Thanks Pludi....That worked.

HG
# 7  
Old 07-01-2010
for example

Code:
# uname -r 
2.6.18-164.9.1.el5

this is a redhat enterprise linux 5 kernel

Code:
# uname -r
2.6.9-89.ELlargesmp

this is a redhat enterprise linux 4 kernel with largesmp
i suppose redhat 4 s kernel is 2.6.9
Code:
 # cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update


Code:
 # uname -mr
2.6.17.11-grsec i686

this is a fedora 5 with grsecurity patch i686 archt
Code:
 # cat /etc/redhat-release
Fedora Core release 5 (Bordeaux)


your machine

Code:
 
# uname -a
Linux Leo 2.6.32.12-115.fc12.i686

Fedora Core 12 release
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copy a file from directroy/ prior version to the directory/ new version

How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies

2. UNIX for Dummies Questions & Answers

Getting a process/program version from /proc folder

Hello I am writing a script that will first execute ps to get the list of processes running, and the go into the /proc folder for each PID listed and gather relevant information. I looked through the contents of a particular process in the /proc folder and I can't find where I can locate... (2 Replies)
Discussion started by: flagman5
2 Replies

3. UNIX for Dummies Questions & Answers

Regarding /proc

If you are adding the kernel module without any module parameter passing, it should print out following information to info1 file so that user can make read access to info1 file (via, for example, cat /proc/info1): • Processor type • Kernel version • Total number of the processes currently... (1 Reply)
Discussion started by: shekhar.huded
1 Replies

4. UNIX for Dummies Questions & Answers

_/proc/stat vs /proc/uptime

Hi, I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies

5. Programming

serializing logging output mult. proc. inst deamon

Hello, i have an interresting topic today C++ on solaris. lgpl stuff applicable. My program is a deamon process wich takes input from network, then processes the data, and outputs reformatted to network. We're generating a lot of logging output. the logging is absolutely unbuffered at the... (3 Replies)
Discussion started by: heck
3 Replies

6. Programming

Need help ! SQL and Proc *C

:) hi all ! Please help me When I select data from oracle with proc * C prog. I count the number of rows For example the total rows is 1000000 but the number of result return is a limit number 5000 for ex So How can I know this limit (5 Replies)
Discussion started by: iwbasts
5 Replies

7. UNIX for Dummies Questions & Answers

proc

Hi, What are the various way's to fix /proc folder in redhat linux 7.2 and how to verify /proc folder is proper or croupted? Thank in advance Bache Gowda (7 Replies)
Discussion started by: bache_gowda
7 Replies

8. Solaris

gcc output size differs on same version of solaris

Hello everybody, I am having two machines. I am using g++v2.95 When I do the build,the size of output file on both machines differ. I am not able to find what can be the problem. Both the machines are solaris 5.6 The command is : g++ -c -g -I./ -I../../../include -I/usr/local/include/g++-3... (1 Reply)
Discussion started by: manishs13
1 Replies

9. UNIX for Advanced & Expert Users

/proc

/proc is filing up my root filesystem. Can you delete any of the4 ID numbers out of /proc. Please help me. (3 Replies)
Discussion started by: aojmoj
3 Replies

10. UNIX for Dummies Questions & Answers

about /proc

hi, we all know /proc is about the information of active process, I have just read an artical which said you can use /proc/cpuinfo, /proc/net./proc/meminfo etc. to know about some hardware information .But I want to know how to use with command line? (1 Reply)
Discussion started by: fuqiang1976
1 Replies
Login or Register to Ask a Question