- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: list of commands to know about RAM usage.
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
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
тАО10-06-2005 06:54 PM
тАО10-06-2005 06:54 PM
list of commands to know about RAM usage.
I wanted to debug one issue regarding memory usage. please let me know commands which I can run to know the memory status.
I know kmeminfo, vmstat and iostat.
please let me know if there are any other that these.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 06:59 PM
тАО10-06-2005 06:59 PM
Re: list of commands to know about RAM usage.
Will give you top 10 memory usage processes.
glance -m is very helpful.
What exactly is your problem??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 07:00 PM
тАО10-06-2005 07:00 PM
Re: list of commands to know about RAM usage.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 07:02 PM
тАО10-06-2005 07:02 PM
Re: list of commands to know about RAM usage.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 07:03 PM
тАО10-06-2005 07:03 PM
Re: list of commands to know about RAM usage.
2) Why not top ??
3) swapinfo
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 07:08 PM
тАО10-06-2005 07:08 PM
Re: list of commands to know about RAM usage.
# dmesg | grep -i Physical:
It gives summary of physical memory usage.
# vmstat
It gives virutal memory statistics
# swapinfo -Ma
Memory status.
glance is a tool to debug memory related issues.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 07:09 PM
тАО10-06-2005 07:09 PM
Re: list of commands to know about RAM usage.
Check the url below (docID : KBRC00014838) about 'Determining the Cause of System Performance Problems' :
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000073548851
Glance, top is common tools to check performance issue.
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 07:13 PM
тАО10-06-2005 07:13 PM
Re: list of commands to know about RAM usage.
http://h21007.www2.hp.com/dspp/dld/dld_DownloadsListingPage_IDX/1,2381,11169,00.html
(Glance plus is free for HP partners)
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 07:17 PM
тАО10-06-2005 07:17 PM
Re: list of commands to know about RAM usage.
HTH
ziad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 08:52 PM
тАО10-06-2005 08:52 PM
Re: list of commands to know about RAM usage.
Server: MyServer
Counter: System --- Top Physical Memory (K)(
Time: 06/10/2005 23:54:24
Value: 6152192
Description: KBytes of total physical memory used
Physical Virtual
Process Id Memory(K) Memory(K) Command
---------- --------- --------- -------------
4754 116952 18492 java
4756 80552 18492 java
4755 65324 10300 java
5375 45244 18492 java
5357 40952 18492 java
5398 31248 18492 java
16023 26164 36720 ecoagt
18934 24704 18492 java
26122 20900 82240 ora_ckpt_TRMI
26118 20888 82240 ora_dbw0_TRMI
On HPUX, we usually use glance tools.Execute glance and then choose F3 for memory report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 09:46 PM
тАО10-06-2005 09:46 PM
Re: list of commands to know about RAM usage.
on easy way is to run glance then type m
the memory report will give you an output like:
--------------------------------------------------------------------------------
MEMORY REPORT Users= 15
Event Current Cumulative Current Rate Cum Rate High Rate
--------------------------------------------------------------------------------
Page Faults 681 21881 136.2 326.0 566.6
Page In 446 10799 89.2 160.9 300.7
Page Out 0 0 0.0 0.0 0.0
KB Paged In 148kb 1.4mb 29.6 21.5 72.0
KB Paged Out 0kb 0kb 0.0 0.0 0.0
Reactivations 0 0 0.0 0.0 0.0
Deactivations 0 0 0.0 0.0 0.0
KB Deactivated 0kb 0kb 0.0 0.0 0.0
VM Reads 31 234 6.2 3.4 10.6
VM Writes 10 128 6.2 1.9 3.6
hope this helps
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2005 01:23 AM
тАО10-07-2005 01:23 AM
Re: list of commands to know about RAM usage.
#!/bin/sh
# processmem - display memory claimed by a process
# gwild 03192004
#
if [ $# -lt 1 -o \( $# -gt 1 -a $# -lt 4 \) ]
then
echo "Usage:"
echo "processmem \"process\""
echo "Example:"
echo "processmem rpc"
exit 1
fi
echo " "
PROCESS=$1
mps=0
#for sz in `ps -elf | grep $PROCESS | grep -v grep | awk '{print $10}'`
for sz in `UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes | grep $PROCESS | awk '{print $1}'`
do
mps=`expr $mps + $sz`
done
#echo `expr $mps \* 4096`
echo "\nMemory claimed by $PROCESS: $mps Kbytes.\n"
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2005 01:28 AM
тАО10-10-2005 01:28 AM
Re: list of commands to know about RAM usage.
for trouble shooting a vendors buggy app:
#/bin/sh
#checkproc
ps -ef |grep -v informix|grep -v root |grep -v lp|grep -v UID |awk '{print $4, $1, $2, $7, $8, $9, $10, $11, $12,$13, $14, $15}' |sort -r| head -10