Unix Shell - Server Size

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > October 2006 > Server Size





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Server Size
vishu

2006-10-26, 7:19 pm

Hi Gurus,
How Can I find the size of a server, and the no.of cpu's or ram or what
ever on that server. I need to know some basic things about a server.
Your help appreciated.

Bill Marcum

2006-10-26, 7:19 pm

On 26 Oct 2006 11:23:20 -0700, vishu
<tolava@gmail.com> wrote:
> Hi Gurus,
> How Can I find the size of a server, and the no.of cpu's or ram or what
> ever on that server. I need to know some basic things about a server.
> Your help appreciated.
>

cat /proc/cpuinfo
free
df


--
A platitude is simply a truth repeated till people get tired of hearing it.
-- Stanley Baldwin
Steven Mocking

2006-10-26, 7:19 pm

vishu wrote:
> Hi Gurus,
> How Can I find the size of a server,


With a tape measure, silly!

> and the no.of cpu's or ram or what
> ever on that server. I need to know some basic things about a server.
> Your help appreciated.


Besides looking at /proc/cpuinfo manually, you might want to get fancy
if you want this information for many servers and use the Linux::Cpuinfo
perl-module and make a CGI script to format it nicely automagically.
Chris F.A. Johnson

2006-10-26, 7:19 pm

On 2006-10-26, Bill Marcum wrote:
> On 26 Oct 2006 11:23:20 -0700, vishu
> <tolava@gmail.com> wrote:
> cat /proc/cpuinfo


Does AIX have such a file? I thought it was Linux only; I know it's
not found on *BSD.

> free
> df



--
Chris F.A. Johnson, author <http://cfaj.freeshell.org/shell>
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
===== My code in this post, if any, assumes the POSIX locale
===== and is released under the GNU General Public Licence
Michael Heiming

2006-10-27, 7:19 am

In comp.unix.shell Chris F.A. Johnson <cfajohnson@gmail.com>:
> On 2006-10-26, Bill Marcum wrote:
[vbcol=seagreen]
[vbcol=seagreen]
> Does AIX have such a file? I thought it was Linux only; I know it's
> not found on *BSD.


Let's see:

$ cat /proc/cpuinfo
cat: Cannot open /proc/cpuinfo: No such file or directory
$ uname -s
HP-UX

$ cat /proc/cpuinfo
cat: cannot open /proc/cpuinfo
$ uname -s
OSF1

OK, I'll stop this, I am not aware of any other *nix beside Linux
that has this file. But this ng name is comp.unix.shell and any
kind of *nix is usually fine in this group, though it would
indeed help for a platform specific question to point out the
information or/and use a ng specific to the OS.

Even if using google for what it was intended to do should bring
up relevant info in a fraction of a second...

Seems the terse question is hardly answerable without additional
info what the OP is running at all.

Unsure how these info will help the OP? If he doesn't know how to
obtain them, it seems questionable he could evaluate them?

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | PERL -pe 'y/a-z/n-za-m/'
#bofh excuse 434: Please state the nature of the technical
emergency
Bruce Barnett

2006-10-27, 1:17 pm

>>>> Hi Gurus,[vbcol=seagreen]

Years ago we (when our group managed 1500 unix workstations) used an
old opensource program called sysinfo. It printed out tons of stuff
about the system.

I logged onto an old Solaris system, and it has this notice:

Copyright (c) 1992-1998 Michael A. Cooper.

I am trying to find the modern version. MagniComp is selling a
program called sysinfo and I think it's the same - but improved.

So the Open Source program went commercial and closed.

I don't know of an Open Source equivalent.

--
Sending unsolicited commercial e-mail to this account incurs a fee of
$500 per message, and acknowledges the legality of this contract.
vishu

2006-10-27, 1:17 pm

This is on AIX

Bruce Barnett wrote:
>
> Years ago we (when our group managed 1500 unix workstations) used an
> old opensource program called sysinfo. It printed out tons of stuff
> about the system.
>
> I logged onto an old Solaris system, and it has this notice:
>
> Copyright (c) 1992-1998 Michael A. Cooper.
>
> I am trying to find the modern version. MagniComp is selling a
> program called sysinfo and I think it's the same - but improved.
>
> So the Open Source program went commercial and closed.
>
> I don't know of an Open Source equivalent.
>
> --
> Sending unsolicited commercial e-mail to this account incurs a fee of
> $500 per message, and acknowledges the legality of this contract.


Radoulov, Dimitre

2006-10-27, 1:17 pm


> How Can I find the size of a server, and the no.of cpu's or ram or what
> ever on that server. I need to know some basic things about a server.


Check the link below:

http://bhami.com/rosetta.html


Regards
Dimitre


vishu

2006-10-27, 1:17 pm

Guys its been solved,

We can use prtconf and lsconf in AIX. Infact both gives the same
details abt the server.

Radoulov, Dimitre wrote:
>
> Check the link below:
>
> http://bhami.com/rosetta.html
>
>
> Regards
> Dimitre


Bruce Barnett

2006-10-27, 7:15 pm

"vishu" <tolava@gmail.com> writes:

Trim your posts!

> This is on AIX


sysinfo worked on AIX as I recalled.

The commercial one current works on
Linux
Sun's Solaris
Apple's MacOS X
HP's HP-UX
IBM's AIX
SGI's IRIX
FreeBSD
Windows
Veritas Volume Manager
AIX LVM
HP-UX LVM
Linux MD
Sun Solaris Volume Manager (DiskSuite)
EMC
Network Appliance

I have never used it. This is from their web page
http://www.magnicomp.com/sysinfo/


--
Sending unsolicited commercial e-mail to this account incurs a fee of
$500 per message, and acknowledges the legality of this contract.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com