- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk space, Memory, Processor
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 10:35 AM
08-07-2002 10:35 AM
Disk space, Memory, Processor
please tell me what commands should I
use in the following questions:
What commands will show the disk space
available, how much taken, how much available on HP-UX 11.
What commands will show the total
memory on HP-UX 11, how much available,
what the total memory on the system
what commands will show the many
processors are there on your system.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 10:38 AM
08-07-2002 10:38 AM
Re: Disk space, Memory, Processor
Here you go ..
##Number of processors
sar -Mu 1 1|awk 'END {print NR-5}'
ioscan -kfnC processor
###To obtain the processor speed (MHz):
echo itick_per_usec/D|adb -k stand/vmunix /dev/kmem|awk 'NR==2 {print}'
or
echo itick_per_usec/D | /usr/bin/adb -k /stand/vmunix /dev/kmem
## script get total of memory
#!/bin/ksh
if [ `uname -r` = "B.11.00" ]
then
echo "phys_mem_pages/D" | adb /stand/vmunix /dev/kmem|grep phys|tail -1|awk '{print $2/256 " MB"}'
else
echo "physmem/D" | adb /stand/vmunix /dev/kmem|grep phys|tail -1|awk '{print "Memory size = " $2 / 256 " Megabytes"}'
fi
echo 'selclass qualifier memory;info;wait;infolog' |cstm >/tmp/meminfo.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 10:40 AM
08-07-2002 10:40 AM
Re: Disk space, Memory, Processor
# bdf
# df
# sam - disk and file systems
# vgdisplay -v (VG info)
# lvdisplay -v (LV info)
# diskinfo (disk info)
# ioscan -fnC disk (disk h/w details)
2) memory:
# stm
# dmesg
# sam-performance monitor-system properties
3) processor:
# top
# stm
# sam - performance monitor - system properties
Another good command is for all information:
# print_manifest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 10:40 AM
08-07-2002 10:40 AM
Re: Disk space, Memory, Processor
available, how much taken, how much available on HP-UX 11. <<
bdf will give you a table-like format, df -k will give you a different layout of the same information.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 10:45 AM
08-07-2002 10:45 AM
Re: Disk space, Memory, Processor
/opt/ignite/bin/print_manifest
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 10:50 AM
08-07-2002 10:50 AM
Re: Disk space, Memory, Processor
1.try print_manifest
2.sam--->performance mointors-->system properties for cpu/ram/network
3. bdf to know the disk space.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 10:51 AM
08-07-2002 10:51 AM
Re: Disk space, Memory, Processor
Try this link for all the good sysadmin scripts and suggestions.
http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x026250011d20d6118ff40090279cd0f9,00.html
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 10:59 AM
08-07-2002 10:59 AM
Re: Disk space, Memory, Processor
Download and Install cfg2html from www.cfg2html.com . You will get everything in HTML format.
Sandip