- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: shared memory usgae,
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
тАО03-29-2007 05:11 PM
тАО03-29-2007 05:11 PM
would u please help me in monitoring shared memory usgae in hp-ux, I believe ipcs is the comman, but no idea how to interpret the o/p.
many thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 05:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 05:58 PM
тАО03-29-2007 05:58 PM
Re: shared memory usgae,
ipcs-m should help you.
This gives you info about memory id, along with it key, owner and group
For more info, read man pages.
HTH,
Prabu.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 06:37 PM
тАО03-29-2007 06:37 PM
Re: shared memory usgae,
Check this out : ftp://hprc.external.hp.com/memory.htm#shared_memory
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 10:17 PM
тАО03-29-2007 10:17 PM
Re: shared memory usgae,
ipcs --> displays certain information about active interprocess communication facilities. With no options, ipcs displays information in short format for the message queues, shared memory segments, and semaphores that are currently active in the system.
Now here you want to monitor shared memory so use -m option.
-m --> Display information about active shared memory segments
-a -->Display all columns
Output --->
1] T --> Facility type:
m=Shared memory segment
q=Message queue
s=Semaphore
2] ID --> The identifier for the facility entry.
3]KEY --> The key used as an argument to create the facility entry.
4]MODE -->The facility access modes and flags.
5]OWNER -->The login name of the owner of the facility entry.
6]GROUP -->The group name of the group of the owner of the facility entry.
7]CREATOR -->The login name of the creator of the facility entry.
8]CGROUP -->The group name of the group of the creator of the facility entry.
9]CBYTES -->The number of bytes in messages currently outstanding on the associated message queue.
10]QNUM -->The number of messages currently outstanding on the associated message queue.
11]QBYTES -->The maximum number of bytes allowed in messages outstanding on the associated message queue.
12]LSPID -->The process ID of the last process to send a message to the associated message queue.
13]LRPID -->The process ID of the last process to receive a message from the associated message queue.
14]STIME -->The time the last msgsnd() message was sent to the associated message queue.
15]RTIME -->The time the last msgrcv() message was received from the associated message queue.
16]CTIME -->The time when the associated facility entry was created or changed.
17]NATTCH -->The number of processes attached to the associated shared memory segment.
18]SEGSZ -->The size of the associated shared memory segment.
19]CPID -->The process ID of the creating process of the shared memory segment.
20]LPID -->The process ID of the last process to attach or detach the shared memory segment.
21]ATIME -->The time the last shmat() attach was completed to the associated shared memory segment.
22]DTIME --> The time the last shmdt() detach was completed on the associated shared memory segment.
23]NSEMS -->The number of semaphores in the set associated with the semaphore entry.
24]OTIME -->The time the last semop() semaphore operation was completed on the set associated with the semaphore entry.
Thansk & Regards
Reshma