GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What is the size unit of SEGSZ?
Operating System - HP-UX
1847471
Members
2299
Online
110265
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-04-2006 06:16 PM
05-04-2006 06:16 PM
What is the size unit of SEGSZ?
bash-2.02# ipcs -ma
IPC status from /dev/kmem as of Fri May 5 11:25:48 2006
T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME
Shared Memory:
m 0 0x410c3406 --rw-rw-rw- root root root root 0 348 1161 1161 10:05:49 10:05:49 10:05:43
m 1 0x4e0c0002 --rw-rw-rw- root root root root 1 61760 1161 1161 10:05:45 10:05:49 10:05:43
m 2 0x410e20d8 --rw-rw-rw- root root root root 1 8192 1161 1173 10:05:45 10:05:43 10:05:43
bash-2.02# ipcs -ma | sed -n '/^m/p' | awk '{total += $ (NF-5)} END {printf ("%d\n",total)}'
70300
What is the unit here with 70300, MB KB GB ?
Thanks
IPC status from /dev/kmem as of Fri May 5 11:25:48 2006
T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME
Shared Memory:
m 0 0x410c3406 --rw-rw-rw- root root root root 0 348 1161 1161 10:05:49 10:05:49 10:05:43
m 1 0x4e0c0002 --rw-rw-rw- root root root root 1 61760 1161 1161 10:05:45 10:05:49 10:05:43
m 2 0x410e20d8 --rw-rw-rw- root root root root 1 8192 1161 1173 10:05:45 10:05:43 10:05:43
bash-2.02# ipcs -ma | sed -n '/^m/p' | awk '{total += $ (NF-5)} END {printf ("%d\n",total)}'
70300
What is the unit here with 70300, MB KB GB ?
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 06:19 PM
05-04-2006 06:19 PM
Re: What is the size unit of SEGSZ?
Hi Prasad,
It is in bytes,
You can refer # man ipcs for more information.
-Arun
It is in bytes,
You can refer # man ipcs for more information.
-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 06:31 PM
05-04-2006 06:31 PM
Re: What is the size unit of SEGSZ?
I think, segment size is 4k. Each segment is 4k. So need to mutipley by 4096 to get bytes.
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 08:09 PM
05-04-2006 08:09 PM
Re: What is the size unit of SEGSZ?
Prasad,
Is is in bytes. I just checked the size of one of my oracle database - SGA and verified trhu ipcs -mb and it seems that the SEGZ is in bytes.
Regards,
Ninad
Is is in bytes. I just checked the size of one of my oracle database - SGA and verified trhu ipcs -mb and it seems that the SEGZ is in bytes.
Regards,
Ninad
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP