- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: monitoring nflock , system table
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
тАО05-11-2009 02:49 AM
тАО05-11-2009 02:49 AM
monitoring nflock , system table
We had some "EDEADLK Deadlock condition" with one of application S/W and the vendor advised use to monitor the
nflock nfile system resources.
1)when nflock is full will not an error message be logged in syslog ?
2)we don't have wma/extract , we have glance , can we use glance to collect statistics over a period of time ?
(glance -t >> ~xyz/report is not read friendly )
3)from where can i download Krmond to enable the kernel resource monitor, sorry, but i am not able to find the same on software.hp.com.OS is B.11.00 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 03:13 AM
тАО05-11-2009 03:13 AM
Re: monitoring nflock , system table
Do you mean nflocks?
To prevent file or data corruption, when simultaneous access to a given file by two or more processes, a process that is altering the contents of a file must be able to lock the file against conflicting uses until it is safe to release control of the file. This is what nflocks is used.
>>1)when nflock is full will not an error message be logged in syslog ?<<
Yes. you will get a message like below in system when nflocks is full.
cannot lock xxxxxxxx: No locks available
>>2)we don't have wma/extract , we have glance , can we use glance to collect statistics over a period of time ? <<
I don't think so. You need that to extract the data. Normally lsof will be used to find the nflocks usage.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 03:25 AM
тАО05-11-2009 03:25 AM
Re: monitoring nflock , system table
echo 'print GBL_STATTIME, " ", TBL_FILE_LOCK_UTIL, "%"' > /tmp/advisor.cfg
glance -aos /tmp/advisor.cfg -j 60
This will give you an indication of the utilisation level of nflock every 60 seconds.
I'm suyre you can figure out the rest from that
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 03:44 AM
тАО05-11-2009 03:44 AM
Re: monitoring nflock , system table
Glance version is C.03.71.00.The /tmp/advisor.cfg file contains nothing expect headder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 03:54 AM
тАО05-11-2009 03:54 AM
Re: monitoring nflock , system table
echo 'print GBL_STATTIME, " ", TBL_FILE_LOCK_UTIL, "%"' > /tmp/advisor.cfg
glance -aos /tmp/advisor.cfg -j 60
The file /tmp/advisor.cfg is a configuration file to tell it what data to monitor - it's not an output file. Glance with write ou
tput to stdout unless you redirect it. so you could instead do:
glance -aos /tmp/advisor.cfg -j 60 > /tmp/nflocks.out
you should get an entry in /tmp/nflocks.out every 60 seconds
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 04:25 AM
тАО05-11-2009 04:25 AM
Re: monitoring nflock , system table
/tmp/nflocks.out will not be readable , as i mentioned in the initation post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 04:31 AM
тАО05-11-2009 04:31 AM
Re: monitoring nflock , system table
glance -aos /tmp/advisor.cfg -j 2
what *do* you see on the screen... anything at all?
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 04:50 AM
тАО05-11-2009 04:50 AM
Re: monitoring nflock , system table
From what i can see on screen, i cannot make out how to infer the nflocks value.
It's something relating to process Id that did the last context switch, i guess .
.Attachment . My idea was to collect nflocks value in a file over a period of time , in a system which has only glance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 05:08 AM
тАО05-11-2009 05:08 AM
Re: monitoring nflock , system table
# glance -aos /tmp/advisor.cfg -j 2
Welcome to GlancePlus
14:01:10 0.2%
14:01:11 0.2%
14:01:13 0.2%
14:01:15 0.2%
14:01:17 0.2%
which is showing me only 0.2% usage of my file locks...
Maybe try this syntax instead:
# glance -advisor_only -syntax /tmp/advisor.cfg -j 2
HTH
Duncan
I am an HPE Employee