12-05-2008
You can use the command as follows.
#uname -a
Refer the man page of 'uname' for more details.
10 More Discussions You Might Find Interesting
1. Solaris
My Java application runs on SunOS 5.8. Our use of a 3rd party class
requires us to modify the Style Manager-Window setting "Allow Primary Windows On Top" - the default for this is on, we need to turn it off.
Is there any way for our application, or our installation, to modify this setting? We... (0 Replies)
Discussion started by: ped52
0 Replies
2. Programming
I need to find out where a usb flash memory drive is mounted. I have used prtconf and iostat to find the information and then used popen to parse the information to find what i need. I am wondering if there are some generic functions such as ddi_ or usb_ that i can use to find such info. I would... (1 Reply)
Discussion started by: jtcoelho
1 Replies
3. Programming
Hi all,
Do we have anyway to get the freediskspace for within a C program?
I need functionality similar to 'df -h' -> which gives the % of utilization...
Otherwise, if we go and use 'system ("df -h /home/myhome/")', do we have any way of capturing the output into a string and parse the... (2 Replies)
Discussion started by: SriSri
2 Replies
4. UNIX for Advanced & Expert Users
Hi,
Could somebody sent me sample output of below commands on
1) Debian linux and 2) RHEL3 and 3) any RHEL version less than 3,
a) uname -a
b) cat /etc/issue
c) cat /etc/redhat-release or other equivalent file
Thanks in advance
- Krishna (0 Replies)
Discussion started by: krishnamurthig
0 Replies
5. Shell Programming and Scripting
I make to parse the release version from a text file and set the release version label into a Makefile variable. I tried:
VERSION := `grep vsn s1db.app|sed -e s/*\"// -e s/\"*//`
but looks like make, unlike shell, literally just take the entire `grep ...` as the variable value.
Then I tried... (3 Replies)
Discussion started by: benkial
3 Replies
6. UNIX for Dummies Questions & Answers
Well. I was recently given access to my work's machine via SSH. I'm pretty sure it's a SUSE machine, uname -a gives
Linux machinename 2.6.16.60-0.54.5-bigsmp #1 SMP Fri Sep 4 01:28:03 UTC 2009 i686 i686 i386 GNU/Linux
I'm not doing anything all that exciting, mostly data entry stuff.
We... (14 Replies)
Discussion started by: pagrus
14 Replies
7. Red Hat
Hi all,
Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out.
i have dual os, win 7 & rhel 6.
i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue.
below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies
8. Red Hat
Hi All,
We connected 2 new tape drives to the servers. I am not able to see both HP tape drives in OS level. I am using RHEL 6.2 OS.
I have scanned and rebooted the server but still can't able to find the drives.
Thanks in advance..!!!!
---------- Post updated 10-22-13 at 05:07 PM... (1 Reply)
Discussion started by: Navkreddy
1 Replies
9. Solaris
Hello all,
I have a small C++ app for my solaris admins. I need to set it up so they can reset a users password. The admin does not have the old password. How can I reset a users password to a temp password either using passwd or PAM? I need to do this from within my C++ app. I have searched... (3 Replies)
Discussion started by: ChickenPox
3 Replies
10. UNIX for Advanced & Expert Users
Hi,
I am using screen utility for protecting from ssh disconnects.
My process flow i ssomething like :
a) I start screen from my desktop terminl.
b)In the screen session, i ssh to one host and execute a command
c)Once the above command is completed,i would like to exit via ctr-a or... (4 Replies)
Discussion started by: pandeesh
4 Replies
optisa(1) User Commands optisa(1)
NAME
optisa - determine which variant instruction set is optimal to use
SYNOPSIS
optisa instruction_set...
DESCRIPTION
optisa prints which instruction_set out of the ones specified in the command will perform best on this machine. In this case, ``best''
is defined by the order in which instruction set names are returned by isalist(1). Possible values for instruction_set are given in
isalist(5).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
EXIT STATUS
The following exit values are returned:
0 One of the instruction_set values you specified is printed by this command.
1 There is no output; that is, this machine cannot use any instruction_set that you specified with the optisa command.
SEE ALSO
isalist(1), uname(1), attributes(5), isalist(5)
NOTES
optisa is preferable to uname -p or uname -m (see uname(1)) in determining which of several binary versions of a given program should be
used on the given machine.
SunOS 5.10 25 Jul 1997 optisa(1)