- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Strange Behavior of RPC Program
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
Forums
Discussions
Discussions
Discussions
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
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
12-11-2003 02:42 AM
12-11-2003 02:42 AM
Strange Behavior of RPC Program
I have an rpc program that runs on several C3600s running HP-UX 11.00. Using "lsof" I found that if the program is started from the console (or as "root") it works fine, and doesn't hog CPU time. When started remotely, as a general user, the process immediately ramps up the CPU usage near 100%.
The difference was observed using "lsof" in that when the program is started as "root" or from the console, it attaches to 3 instances of /dev/console. And when its started remotely as a general user, it does not attach to the /dev/console, and runs the CPU near 100%.
Any ideas on why this attachment to the /dev/console file is necessary? Any RPC bugs out there that cause this?
On SunOS there is a command called "truss" that looks at what system calls a program is making, any equivalent on HPUX?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2003 02:44 AM
12-11-2003 02:44 AM
Re: Strange Behavior of RPC Program
Maybe tusc?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2003 02:49 AM
12-11-2003 02:49 AM
Re: Strange Behavior of RPC Program
Also can you post following
ps -efx|grep "your_process ---> when started from console
ps -efx|grep "your_process" ---> when started remotelt as general user?
What do you mean by started remotely?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2003 02:51 AM
12-11-2003 02:51 AM
Re: Strange Behavior of RPC Program
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2003 03:03 AM
12-11-2003 03:03 AM
Re: Strange Behavior of RPC Program
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2003 03:13 AM
12-11-2003 03:13 AM
Re: Strange Behavior of RPC Program
you just define
export XTI_TRACE=255
export XTI_TRACE_FILE=yourlogfile
before running your application, then you will
get the xti calls of that rpc program
( you can tusc it to corelate)