- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- WCHAN field in ps
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
тАО04-14-2004 09:42 PM
тАО04-14-2004 09:42 PM
WCHAN field in ps
How can I know the process is waiting for what/or blocked from somebody?
WCHAN field in ps?
tks a lot
- Tags:
- PS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 10:32 PM
тАО04-14-2004 10:32 PM
Re: WCHAN field in ps
I think that should help U.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 10:54 PM
тАО04-14-2004 10:54 PM
Re: WCHAN field in ps
The value listed by the ps command shows a hexidecimal address of the resource that you are waiting or sleeping on.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2004 04:01 AM
тАО04-16-2004 04:01 AM
Re: WCHAN field in ps
You could use wchan also to get the function it was waiting on using adb. Again know what you are going for, there could be multiple threads/process waiting on the same wchan. If you need further assistance you could open a support call into HP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 08:47 AM
тАО04-19-2004 08:47 AM
Re: WCHAN field in ps
The WCHAN address is sometimes a global variable with a name that you could match to some particular driver or system call. At other times it is an allocated address that has no particular meaning outside of the kernel code that is making those calls.
You can get a look at what symbol a WCHAN value maps to using adb to print it as a symbolic address. Here is a little script that looks at the WCHAN values of all the processes on the system.
for a in $(UNIX95=1 /usr/bin/ps -e -o wchan | sort | uniq)
do
print "0x$a?a"
done | adb /stand/vmunix