04-18-2001
Another command to check OS version
I have found another command that provides better detail on the OS version you are using:
oslevel it will provide this output
> oslevel
4.3.2.0
Whereas on our machine, doing uname -a gives this output:
> uname -a
AIX svcas07 3 4 000145364C00
OS Name Release Version Machine ID
I added the labels underneath for clarity.
For me, doing uname -a gives less accurate info than oslevel does.
Hope this is helpful.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I find out? Besides looking on the box of my distro and checking their. (2 Replies)
Discussion started by: DISTURBED
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Is there anyway to find what version of a software is installed on a particular box ?
For Tru64 unix, the setld -i command lists all the software that is installed. But how do i get the version ? is there a unix command for this?
Is setld specific to Tru64 ?
Do reply
VJ (1 Reply)
Discussion started by: vjsony
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
I wanted to know how can I get the version of underlying HP-OS installed on a HPUX workstation. The output required is "June 2001" version or "March 2003" version etc whatever OS is present.
Thanx in advance for your help.
Regards,
Pankaj (3 Replies)
Discussion started by: pankschawla
3 Replies
4. Shell Programming and Scripting
Hi All
Please let me know if there is command to check the version of the informix database installed..?
Thanks in advance.
Suresh (4 Replies)
Discussion started by: sureshg_sampat
4 Replies
5. UNIX for Advanced & Expert Users
How can I find out with a C program, on which RedHat version the program is being ran ? I do know through compilation variables that I'm on RedHat but so far cannot find out which one.
Currently the closest I got was to invoke an ls or cat through syscall for the release or motd files.
... (5 Replies)
Discussion started by: amirvosko
5 Replies
6. Shell Programming and Scripting
Is there a way to find the version of my MQSeries?
Thanks,
Vijay. (0 Replies)
Discussion started by: Vijay06
0 Replies
7. 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
8. Linux
Can someone please tell me how I can find out what version of SNMP I have running on any linux and solaris server?
i would think this was an easy thing to find. but google wasn't able to turn up anything on this.
snmp -v should do the trick but it doesn't.
thank you guys (1 Reply)
Discussion started by: SkySmart
1 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I am trying to find out whether there are any Unix utilities that compares folders, files and contents within the file and provides a comprehensive report. The comparison can be against base version of a folder and file with content. Can you please let me know of such a utility?
Thanks,... (6 Replies)
Discussion started by: Sripathi_ks
6 Replies
UNAME(3) BSD Library Functions Manual UNAME(3)
NAME
uname -- get system identification
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/utsname.h>
int
uname(struct utsname *name);
DESCRIPTION
The uname() function stores nul-terminated strings of information identifying the current system into the structure referenced by name.
The utsname structure is defined in the <sys/utsname.h> header file, and contains the following members:
sysname Name of the operating system implementation.
nodename Network name of this machine.
release Release level of the operating system.
version Version level of the operating system.
machine Machine hardware platform.
RETURN VALUES
If uname is successful, 0 is returned, otherwise, -1 is returned and errno is set appropriately.
ERRORS
The uname() function may fail and set errno for any of the errors specified for the library functions sysctl(3).
SEE ALSO
uname(1), sysctl(3)
STANDARDS
The uname() function conforms to ISO/IEC 9945-1:1990 (``POSIX.1'').
HISTORY
The uname function first appeared in 4.4BSD.
BSD
March 30, 2011 BSD