04-12-2009
Linux uname doesn't tell what OS you are running but only the kernel release.
Try looking for a /etc/*elease* file.
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
I have seen quite a few posts recently which have launched into questions about specfic errors whose resolution depends a lot upon the OS type and version.
I suggest that in the FAQ an additional entry be included, either under general board usage or posting threads, that informs the user to... (6 Replies)
Discussion started by: saabir
6 Replies
2. UNIX for Dummies Questions & Answers
As a formem unix newbe
I Just wanted to tell you about this cool site for all you confused people.
If you need to support more than one unix type:
Use this one. It's a life saver.
http://www.unixguide.net/unixguide.shtml
here (4 Replies)
Discussion started by: sunbird
4 Replies
3. Programming
Hi all,
How does one get the platform type in UNIX (for e.g. sparc/i386)? I need an function call and not the command like uname -p.
thanks! (24 Replies)
Discussion started by: slash_blog
24 Replies
4. Solaris
i have a program writing in PRO C which currently running in unix version 8 tie with oracle 8i, but in the future company gonna migrate this OS to version 9.
Anything i have to prepare for my PRO C program to run in unix version 9? or anything would that impact my program couldn't run well?
what... (2 Replies)
Discussion started by: lsy
2 Replies
5. UNIX for Dummies Questions & Answers
How do I know what type of shells are available in my Unix system? Are there a single command or environment variable that can let me find that out?
Best regards,
John Chan (7 Replies)
Discussion started by: shuhang2
7 Replies
6. UNIX for Dummies Questions & Answers
Hai guys,This is my first question.
What type of UNIX kernel is?
(W.K.T linux kernel is monolithic)
Thank you (2 Replies)
Discussion started by: Felicia23
2 Replies
7. UNIX for Advanced & Expert Users
SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240
how can i check the storage type being used in unix solaris sparc system?
please help me its urgnet..
thank you (1 Reply)
Discussion started by: aesgs
1 Replies
8. Solaris
SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240
how can i check the storage type being used in unix solaris sparc system?
please help me its urgnet..
thank you (22 Replies)
Discussion started by: aesgs
22 Replies
9. Filesystems, Disks and Memory
how can i check the storage type being used in unix solaris sparc system?
please help me its urgnet..
thank you (4 Replies)
Discussion started by: aesgs
4 Replies
10. UNIX and Linux Applications
Hello,
We are planning a migration from UNIX (HP-UX, AIX, Solaris) to Linux on AZURE.
I know it sounds like extremely complicated :( That's why we need your help :)
We are at the beggining of stage.
We need to categorize the types of applications (software) that generally runs on UNIX... (3 Replies)
Discussion started by: anton.robidson
3 Replies
UNAME(2) Linux Programmer's Manual UNAME(2)
NAME
uname - get name and information about current kernel
SYNOPSIS
#include <sys/utsname.h>
int uname(struct utsname *buf);
DESCRIPTION
uname() returns system information in the structure pointed to by buf. The utsname struct is defined in <sys/utsname.h>:
struct utsname {
char sysname[]; /* Operating system name (e.g., "Linux") */
char nodename[]; /* Name within "some implementation-defined
network" */
char release[]; /* OS release (e.g., "2.6.28") */
char version[]; /* OS version */
char machine[]; /* Hardware identifier */
#ifdef _GNU_SOURCE
char domainname[]; /* NIS or YP domain name */
#endif
};
The length of the arrays in a struct utsname is unspecified (see NOTES); the fields are terminated by a null byte ('