Operating System - HP-UX
1833301 Members
3047 Online
110051 Solutions
New Discussion

Re: checking Ram and hard disk space

 
Kirk Solano
Occasional Advisor

checking Ram and hard disk space

What's the easiest way to check for these things without having to look at the physical equipment? Thanks in advance.
"You're never too young. It's never too early."
6 REPLIES 6
Helen French
Honored Contributor

Re: checking Ram and hard disk space

Hi,

A lot of commands:

1) Use STM (for listing of all information)
2) ioscan -fn
3) bdf
4) diskinfo
5) vgdisplay -v
6) dmesg ( will tell you about RAM )
7) print_manifest

HTH,
Shiju
Life is a promise, fulfill it!
Sanjay_6
Honored Contributor

Re: checking Ram and hard disk space

Hi Kirk,

What do you mean by checking ram and hard disk space. If you mean the capacity of RAM and the hard disk sizes, you can try this,

gmesg |grep Phy

This will give your the total RAM on your system. To find the module sizes and all, try,

echo 'selclass qualifier memory;info;wait;infolog' |cstm > /tmp/meminfo.txt

more /tmp/meminfo.txt

To look for the disks into your systems, do a ioscan,

ioscan -fnkC disk

Then fore each disk you can do a diskinfo,

diskinfo -v /dev/rdsk/cxtydz

or you can generate a stm report,

echo 'selclass type disk;info;wait;infolog' |cstm >/tmp/disk_info.txt

more /tmp/disk_info.txt

Hope this helps.

Regds
Bill McNAMARA_1
Honored Contributor

Re: checking Ram and hard disk space

I recommend running the
nickel script to collect this info and more in html format.

You can look internals to check the command line:

Download from here:
http://www.grc.hp.com/docs/nickel/

Later,
Bill
It works for me (tm)
pap
Respected Contributor

Re: checking Ram and hard disk space

for checking RAM do following :

# dmesg | grep -i physical

or

#swapinfo -mt
the memory raw will give you the physical memory.



For checking hard disk space you need to run following :

#diskinfo -b /dev/rdsk/cxtydz (depending upon disk name.

This will give you figure in KB. dividing by 1000 you will get size of disk in MBs.

Hope this helps.

-Piyush.

"Winners don't do different things , they do things differently"
Patrick Wallek
Honored Contributor

Re: checking Ram and hard disk space

To add to Shiju's list, you can also go into SAM, then go to PERFORMANCE MONITORS and then SYSTEM PROPERTIES for information on RAM, CPU(s), etc.

Also in SAM you can go to DISKS AND FILE SYSTEMS and then choose from the menu to see information on actual disks, volume groups, logical volumes, etc.
Sandip Ghosh
Honored Contributor

Re: checking Ram and hard disk space

I would recomend the utility called cfg2html. Its easy to download, its easy to install and it easy to present also because it creates HTML output. Moreover it is available free on the web. Search for cfg2html.

Sandip
Good Luck!!!