- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Command line for weighted cpu.
Operating System - HP-UX
1748246
Members
3560
Online
108760
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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-27-2006 06:35 AM
тАО08-27-2006 06:35 AM
I have jobs where telnet session would hang when logging off. I catch these with top and see that the wcpu% is at 100% and their time is long. Is there a command utility I can use, sar netstat, to get these hangup so I can kill them. These hangup are a major source of bottleneck to all my system and application processes.
hilo
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2006 07:31 AM
тАО08-27-2006 07:31 AM
Re: Command line for weighted cpu.
you can run your application with nohup command so that it won't hang when you logoff.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2006 12:10 PM
тАО08-27-2006 12:10 PM
Solution
There is a good chance that someone deleted the second trap line in /etc/profile. Use this command:
grep trap /etc/profile
trap "" 1 2 3
trap 1 2 3
The second line (at or near the bottom of the file) is often deleted as being redundant but it is not. The first line disables traps (the ability to stop the profile) and the last line reenables traps again. If the second line is removed, a very important trap called SIGHUP) no longer works and whenever a user improperly disconnects from a telnet session, the telnetd program for this session will not be terminated. When that happens, the telnetd session will loop because the network connection is severed but does not know to terminate.
Bill Hassell, sysadmin
grep trap /etc/profile
trap "" 1 2 3
trap 1 2 3
The second line (at or near the bottom of the file) is often deleted as being redundant but it is not. The first line disables traps (the ability to stop the profile) and the last line reenables traps again. If the second line is removed, a very important trap called SIGHUP) no longer works and whenever a user improperly disconnects from a telnet session, the telnetd program for this session will not be terminated. When that happens, the telnetd session will loop because the network connection is severed but does not know to terminate.
Bill Hassell, sysadmin
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP