- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Processor and Ram
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
Discussions
Discussions
Forums
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
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
тАО11-13-2002 03:01 PM
тАО11-13-2002 03:01 PM
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2002 03:14 PM
тАО11-13-2002 03:14 PM
Re: Processor and Ram
getconf HW_CPU_SUPP_BITS
for memory
echo "phys_mem_pages/D" | adb -k /stand/vmunix /dev/kmem
to yield the number of 4KB pages of installed memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2002 03:25 PM
тАО11-13-2002 03:25 PM
Re: Processor and Ram
I'd use the sysinfo util. Will give this & much more. Highly recommended. Can be had at:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2002 03:27 PM
тАО11-13-2002 03:27 PM
Re: Processor and Ram
echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2002 04:05 PM
тАО11-13-2002 04:05 PM
Re: Processor and Ram
========Cut Here=======
#include
#include
main()
{
struct pst_static buf;
pstat_getstatic(&buf,sizeof(struct pst_static),1,0);
printf("%ld MB\n", buf.physical_memory/256);
}
========Cut Here=======
save it as /tmp/memory.c
cc -o /tmp/ram /tmp/memory.c
now running /tmp/ram gives you the memory on the system.
This can be run by any user on the system. When using the adb method you need to be root.
Does anyone know of any other method to get the physical memory installed ?
STM(support tool manager) could be used as well but does anyone know any other method.
what is the purpose of /usr/sam/lbin/getmem ?
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2002 02:20 AM
тАО11-14-2002 02:20 AM
SolutionYou said you where looking for a command, but if thats not absolutely neccessary you can also use SAM.
In 'Performance Monitors' select 'System Properties'.
Gives a well arranged view of both cpu and memory, in addition to os and network.
cheers
Bjoern
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2002 02:53 AM
тАО11-14-2002 02:53 AM
Re: Processor and Ram
NUmber of processors
#cat /var/adm/syslog/syslog.log|grep processor
Amount of memory
#cat /var/adm/syslog/syslog.log|grep Physical|awk -F ":" '{print $5}'
Thanks