|
Home > Archive > Unix administration > September 2006 > obtaining system info on various unices
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 |
obtaining system info on various unices
|
|
| Maciej Dziardziel 2006-09-16, 1:43 pm |
| Hi
I am writing some software in Java that runs on various unices
and i am looking a way to obtain some system hardware information,
especially :
cpu info(type and number of processors)
total system memory
The problem is:
I don't have administrator account and i am not familiar with those systems.
The system i am interested are:
HP Tru64 Unix 5.1b,
HP OpenVMS
HP-UX 11i
FreeBSD
NetBSD
I can get some info from top (just why top>file works different on different
os? grr...), dmesg, vmstat. Anything else?
--
Maciej "Fiedzia" Dziardziel (maciejdziardziel@poczta.wp.pl)
People who say 'Don't Postpone Joy' are usually in outrageous credit card
debt. - Daniel Casey
| |
| Dave Hinz 2006-09-16, 1:43 pm |
| On Thu, 14 Sep 2006 13:57:28 +0200, Maciej Dziardziel <fiedzia@fiedzia.prv.pl> wrote:
> Hi
>
> I am writing some software in Java that runs on various unices
> and i am looking a way to obtain some system hardware information,
> especially :
>
> cpu info(type and number of processors)
> total system memory
Perhaps the "Unix Rosetta Stone" would be beneficial to you in this
effort. Google that exact phrase, I don't have the URL handy but google
does.
> The problem is:
> I don't have administrator account and i am not familiar with those systems.
The admin access may be an issue for some of these, depending on a
number of things.
> I can get some info from top (just why top>file works different on different
> os? grr...), dmesg, vmstat. Anything else?
Be careful with top. It can report memory for some things in a way that
makes you think you have more than you do.
| |
| Maciej Dziardziel 2006-09-16, 1:43 pm |
| Dave Hinz wrote:
> Perhaps the "Unix Rosetta Stone" would be beneficial to you in this
> effort. Google that exact phrase, I don't have the URL handy but google
> does.
That was really helpfull. Thanks.
--
Maciej "Fiedzia" Dziardziel (maciejdziardziel@poczta.wp.pl)
As confused as a baby in a topless bar.
| |
| Dave Hinz 2006-09-16, 1:43 pm |
| On Thu, 14 Sep 2006 14:48:52 +0200, Maciej Dziardziel <fiedzia@fiedzia.prv.pl> wrote:
> Dave Hinz wrote:
>
>
>
> That was really helpfull. Thanks.
Not my site but yes, glad I could point you to it.
|
|
|
|
|