PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.unix.shell > Server Size
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.unix.shell Using and programming the Unix shell.

Server Size

Réponse
 
LinkBack Outils de la discussion
Vieux 26/10/2006, 19h23   #1
vishu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Server Size

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 appreciated.

  Réponse avec citation
Vieux 26/10/2006, 20h21   #2
Bill Marcum
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Server Size

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 appreciated.
>

cat /proc/cpuinfo
free
df


--
A platitude is simply a truth repeated till people get tired of hearing it.
-- Stanley Baldwin
  Réponse avec citation
Vieux 26/10/2006, 22h58   #3
Steven Mocking
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Server Size

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 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.
  Réponse avec citation
Vieux 27/10/2006, 00h29   #4
Chris F.A. Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Server Size

On 2006-10-26, Bill Marcum wrote:
> 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 appreciated.
>>

> 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
  Réponse avec citation
Vieux 27/10/2006, 12h42   #5
Michael Heiming
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Server Size

In comp.unix.shell Chris F.A. Johnson <cfajohnson@gmail.com>:
> On 2006-10-26, Bill Marcum wrote:
>> 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 appreciated.


>> cat /proc/cpuinfo


> 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 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 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
  Réponse avec citation
Vieux 27/10/2006, 14h50   #6
Bruce Barnett
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Server Size

>>>> 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 appreciated.


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.
  Réponse avec citation
Vieux 27/10/2006, 16h22   #7
vishu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Server Size

This is on AIX

Bruce Barnett 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 appreciated.

>
> 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.


  Réponse avec citation
Vieux 27/10/2006, 16h27   #8
Radoulov, Dimitre
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Server Size


> 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


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h16.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11685 seconds with 16 queries