HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to expand pathname of "Open Files" in glance o...
Operating System - HP-UX
1832978
Members
2844
Online
110048
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
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
08-11-2005 12:43 PM
08-11-2005 12:43 PM
how to expand pathname of "Open Files" in glance or gpm?
We've got some java processes which open a LOT of file descriptors (~250, according to glance).
Unfortunately, the "Open Files" screen is truncating the pathnames. Forums will probably mangle this, but here's an
ascii representation of a glance screen:
B3692A GlancePlus C.03.72.00 20:32:47 scooby 9000/800 Current Avg High
--------------------------------------------------------------------------------
CPU Util S SN N | 65% 31% 88%
Disk Util F | 2% 2% 23%
Mem Util S SU UB B | 97% 97% 97%
Swap Util U UR R | 28% 28% 28%
--------------------------------------------------------------------------------
Open Files PID: 7502, java PPID: 1 euid: 51 User: abc
Open Open
FD File Name Type Mode Count Offset
--------------------------------------------------------------------------------
12 reg read 1 178
13 reg read 1 60338
14 reg read 1 478069
15 reg read 1 162
16 /opt/.../weblogic81/server/lib/weblogic.jar reg read 1 26510353
17 /opt/.../weblogic81/server/lib/webservices.jar reg read 1 1574397
18 reg read 1 311
19 reg read 1 1104786
20 reg read 1 1553
21 reg read 1 764263
22 reg read 1 4682
23 reg read 1 4045
Page 2 of 17
----
In other words, glance is displaying:
but what I'd *like* to see is the full pathname:
/opt/path/to/the/file
so we can then troubleshoot what all these
files are used for.
----
I've tried the X11 gui for glance (ie, "gpm") but unfortunately it too is truncating the
pathnames, even if I stretch the screen wider.
Any ideas???
Thanks in advance.
Unfortunately, the "Open Files" screen is truncating the pathnames. Forums will probably mangle this, but here's an
ascii representation of a glance screen:
B3692A GlancePlus C.03.72.00 20:32:47 scooby 9000/800 Current Avg High
--------------------------------------------------------------------------------
CPU Util S SN N | 65% 31% 88%
Disk Util F | 2% 2% 23%
Mem Util S SU UB B | 97% 97% 97%
Swap Util U UR R | 28% 28% 28%
--------------------------------------------------------------------------------
Open Files PID: 7502, java PPID: 1 euid: 51 User: abc
Open Open
FD File Name Type Mode Count Offset
--------------------------------------------------------------------------------
12
13
14
15
16 /opt/.../weblogic81/server/lib/weblogic.jar reg read 1 26510353
17 /opt/.../weblogic81/server/lib/webservices.jar reg read 1 1574397
18
19
20
21
22
23
Page 2 of 17
----
In other words, glance is displaying:
but what I'd *like* to see is the full pathname:
/opt/path/to/the/file
so we can then troubleshoot what all these
files are used for.
----
I've tried the X11 gui for glance (ie, "gpm") but unfortunately it too is truncating the
pathnames, even if I stretch the screen wider.
Any ideas???
Thanks in advance.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 12:57 PM
08-11-2005 12:57 PM
Re: how to expand pathname of "Open Files" in glance or gpm?
I am not sure if what you want and expect from glance is possible at all but if you can grab that output from the screen and put it in a file, you can script it to give you the file name by the following command:
find /opt -inum 15115
so all you need to do is to extract the inum and the filesystem name from the string you gave as an example, using awk or cut commands, nothing fancy.
Hope this helps
find /opt -inum 15115
so all you need to do is to extract the inum and the filesystem name from the string you gave as an example, using awk or cut commands, nothing fancy.
Hope this helps
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 03:32 PM
08-11-2005 03:32 PM
Re: how to expand pathname of "Open Files" in glance or gpm?
Thanks. It's a lot of work, but if that's the only way...
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 2025 Hewlett Packard Enterprise Development LP