Operating System - HP-UX
1832604 Members
2371 Online
110043 Solutions
New Discussion

Re: Size DIsk & Processors

 
Erik Rios
Occasional Contributor

Size DIsk & Processors

Hi

Im a Beginner in Unix, some know if exist a command in Unix to see How many processor are & caracteristics are my HP 9000, too how command I must use to see the Swap size utilized and free, and How size have my OS.

thanks

Erik
Always to Help U
5 REPLIES 5
Rob Smith
Respected Contributor

Re: Size DIsk & Processors

Hi, if you want processor information start sam and then go into performance monitors then system properties. If you want to look at swap information do a swapinfo -mt. bdf will tell you about what disks you have mounted and how much space is free. ioscan -kn shows you all your hardware and uname -a tells you what rev of the OS you are using as well as the license level. Hope this helps and welcome!

Rob
Learn the rules so you can break them properly.
Victor BERRIDGE
Honored Contributor

Re: Size DIsk & Processors

Have a look at /var/adm/syslog/syslog.log
That will answer you HW quetions.
swapinfo is for the swap

Size of disks: It depends, see what disks you have in a volume group:
vgdisplay -v volumegroup - you will see e.g.
--- Physical volumes ---
PV Name /dev/dsk/c0t0d0
PV Name /dev/dsk/c1t0d0 Alternate Link
PV Status available
Total PE 2076
Free PE 348


# pvdisplay /dev/dsk/c0t0d0
--- Physical volumes ---
PV Name /dev/dsk/c0t0d0
PV Name /dev/dsk/c1t0d0 Alternate Link
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 12
PE Size (Mbytes) 4
Total PE 2076
Free PE 348
Allocated PE 1728
Stale PE 0
IO Timeout (Seconds) default

All the best
Victor
James R. Ferguson
Acclaimed Contributor

Re: Size DIsk & Processors

Hi Erik:

To see the number of processors you can do:

# sar -M 1 1

To find out what kind of system you have:

# model

To get the OS version (and some other items):

# uname -a

To obtain swap utilization information:

# swapinfo -ta

To see how filesystem space is utilized:

# bdf

..JRF...
Victor BERRIDGE
Honored Contributor

Re: Size DIsk & Processors

Now if you want the true disk usage uzse du -sk,
For the kernel parameters you have sysdef

I would advise you to follow this url:
http://education.itresourcecenter.hp.com/Trainer/Education/SelfPaced/wbt_detail.asp?comm=7&type=22∏=1054

And attend the course, its free and you will learn to use SAM
Not bad for a beginning?

All the best
Victor
Curt Thompson
Respected Contributor

Re: Size DIsk & Processors

Hello Erik,

Try 'print_manifest'. If it is not in your command path, try 'whereis print_manifest' to show you where the command is located.

Good Luck,
Curt