08-18-2006
How to find the os and h/w details
Hi
Need to know the version(suse/redhat) and processor info(x86/itanium/amd etc).
I tried uname -a but cannot understand what is what...
Linux myworkhost 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux
I dont have the root password, I can only ssh and have to install some oracle &weblogic and other softwares based on the os and h/w info.
Any other commands or documents?
9 More Discussions You Might Find Interesting
1. Solaris
Among varous other items, I'm trying to find out what "Authentication Management Infrastructure" (package SUNWamix) does, and why would a sysadmin disable it? The reason given is 'for security purposes' without explanation ... how and why is AMI such a 'security risk' that it has to be turned off?... (3 Replies)
Discussion started by: muleheadjoe
3 Replies
2. Filesystems, Disks and Memory
I like to find out Server Drive/Storage Specifications like Drive Size?
Storage Type: Local or SAN ?
Number of Processors:
Processor Speed:
Memory:
please someone help me out how I can get from command line?
Thanks you in advance (4 Replies)
Discussion started by: thopputhurai
4 Replies
3. Solaris
Hi experts
Is there a command or a way in Solaris to find server details like this:
SUN240R
2 @ 160MHz CPU
1Gb memory
Solaris8
lan0 (16SV LAN) 100FD
lan1 (45CI LAN) 100FD
lan2 (8CON LAN) 10HD
lan3 (38SY LAN) 100HD
Thanks (1 Reply)
Discussion started by: lalelle
1 Replies
4. Shell Programming and Scripting
Hello,
an easy question, I hope.
What would be the way to produce a result from the following find statement that would also include for each line in the output the details usually associated with the ls -ltr command?
Here is the find I am using:
find . -name "*.prg" -exec grep "test line" {}... (4 Replies)
Discussion started by: gio001
4 Replies
5. Solaris
hi all
i am looking for some command or utility to find out hard ware details.
1. How should i know whether my network adapter is a fibre card or RJ25 (upd) card (ethtool in linux)
2. How to check physical connectivity. ("mii-tool eth0" in linux)
3. How to find pci devices with exact details.... (1 Reply)
Discussion started by: kingston
1 Replies
6. AIX
Hi Friends
I have a query. we had a requirement to see the last login details of our users so I ran the command last <username> and the output i get is:
wtmp begins Apr 17 21:48
Now I need to know couple of things:
1. How can I see the year this log is being read from wtmp file
2. Is... (4 Replies)
Discussion started by: nathandrake13
4 Replies
7. Solaris
Hi All,
I want to find MQ details on a solaris 5.8 server , does anyone knows the
command to findout the details
I have used below command to find the following o/p
command
pkginfo | grep -i mq
o/p
application mqm WebSphere MQ for Sun Solaris
application... (4 Replies)
Discussion started by: Jcpratap
4 Replies
8. Shell Programming and Scripting
I'm new to this and I have done a lot of research and am 99% done with my ksh script BUT I need help with. The script looks at Journal files and reports back on any that have not been updated for 15 min. Everything works but I wanted more detail (added -ls) and now I'm getting dups.
Original code:... (2 Replies)
Discussion started by: blackopz
2 Replies
9. Shell Programming and Scripting
I need assistance with following requirement, I am new to Unix.
I want to do the following task but stuck with file creation date(sysdate)
Following is the requirement
I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day’s date and then send an... (4 Replies)
Discussion started by: PreetArul
4 Replies
LEARN ABOUT DEBIAN
linux::distribution
Linux::Distribution(3pm) User Contributed Perl Documentation Linux::Distribution(3pm)
NAME
Linux::Distribution - Perl extension to detect on which Linux distribution we are running.
SYNOPSIS
use Linux::Distribution qw(distribution_name distribution_version);
if(my $distro = distribution_name) {
my $version = distribution_version();
print "you are running $distro, version $version
";
} else {
print "distribution unknown
";
}
Or else do it OO:
use Linux::Distribution qw(distribution_name distribution_version);
my $linux = Linux::Distribution->new;
if(my $distro = $linux->distribution_name()) {
my $version = $linux->distribution_version();
print "you are running $distro, version $version
";
} else {
print "distribution unknown
";
}
DESCRIPTION
This is a simple module that tries to guess on what linux distribution we are running by looking for release's files in /etc. It now looks
for 'lsb-release' first as that should be the most correct and adds ubuntu support. Secondly, it will look for the distro specific files.
It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa,
va-linux, trustix, adamantix, yoper, arch-linux, libranet, gentoo, ubuntu, scientific, oracle enterprise linux and redflag.
It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, scientific, oracle enterprise linux, redflag and
ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches :-)
EXPORT
None by default.
TODO
Add the capability of recognize the version of the distribution for all recognized distributions.
AUTHORS
Alexandr Ciornii <alexchorny@gmail.com>, <http://chorny.net> Alberto Re, <alberto@accidia.net> Judith Lebzelter, <judith@osdl.org>
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2012-03-18 Linux::Distribution(3pm)