The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-26-2002
Registered User
 

Join Date: Mar 2002
Location: Bangalore,Karnataka State,India
Posts: 18
Question HI please help

Hi,
How do i get the processor frequency on HPUX.
Also, can you please suggest me on how to get the physical address length and Total physical space .

regards,
sharath
Reply With Quote
Forum Sponsor
  #2  
Old 03-26-2002
killerserv's Avatar
Unix Predator
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
For your physical address length & Total phycial space try pvdisplay command

# /sbin/pvdisplay /dev/dsk/c0t3d0

(You will get some results like this)
--- Physical volumes ---
PV Name /dev/dsk/c0t3d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 0
PE Size (Mbytes) 4
Total PE 508
Free PE 508
Allocated PE 0
Stale PE 0
IO Timeout (Seconds) default

*/dev/dskc0t3d0 might be vary with yours try to change the syntax according to your system else you will recive errors like this

# /sbin/pvdisplay /dev/dsk/c0t4d0
pvdisplay: Couldn't find volume group to which physical volume "/dev/dsk/c0t4d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c0t4d0".

Also for more detail and constructionaly uptodate data you may use this command bdf -l.

# bdf -l
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol1 47829 24590 18456 57% /
/dev/vg00/lvol8 342005 242432 65372 79% /var
/dev/vg00/lvol7 398869 194281 164701 54% /usr
/dev/vg00/lvol6 191989 873 171917 1% /tmp
/dev/vg00/lvol5 199381 142576 36866 79% /opt
/dev/dsk/c2t2d0 207702 207702 0 100% /cdrom.10
/dev/vg00/lvol4 199381 27134 152308 15% /home
/dev/vg01/lvol1 99669 9 89693 0% /nfstest

Post back if the above doesnt help.
Reply With Quote
  #3  
Old 03-26-2002
Registered User
 

Join Date: Mar 2002
Location: Bangalore,Karnataka State,India
Posts: 18
Can you please brief on the same

Hi,
Thanks.
But, can you please brief on the abbreviations used.

Also can you please tell me how to extract the Processor frequency.

regards,
sharath
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0