- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- script in killing list fo unwanted sessions
Operating System - HP-UX
1821985
Members
3375
Online
109638
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
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
тАО03-19-2011 12:06 AM
тАО03-19-2011 12:06 AM
i All,
i want a script in killing list fo unwanted sessions ..my requiremnet is
1-ps -ef | grep LOCAL=NO | wc -l is showing 1000 and machine is running slowly .i want to kill all the process listed above .how to make a simple scipt to kill these process one by one ....
2-how to kill pty/tty sessions which is not showing any process id in finger/who/w command
rgds,trng
i want a script in killing list fo unwanted sessions ..my requiremnet is
1-ps -ef | grep LOCAL=NO | wc -l is showing 1000 and machine is running slowly .i want to kill all the process listed above .how to make a simple scipt to kill these process one by one ....
2-how to kill pty/tty sessions which is not showing any process id in finger/who/w command
rgds,trng
administrator
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2011 02:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2011 11:49 AM
тАО03-19-2011 11:49 AM
Re: script in killing list fo unwanted sessions
for 2. do you mean you want to kill idle sessions in which no process spawned?
Computers have lots of memory but no imagination
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2011 05:07 AM
тАО03-21-2011 05:07 AM
Re: script in killing list fo unwanted sessions
That looks suspiciously like killing a bunch of oracle connections.
You should be carefull with that unless you don't care about unhappy users / customers.
Maybe, you should further investigate the origin, the status and the actions theses processes perform before starting a mass kill. Investigate the V$SESSION view in oracle for more info.
You should be carefull with that unless you don't care about unhappy users / customers.
Maybe, you should further investigate the origin, the status and the actions theses processes perform before starting a mass kill. Investigate the V$SESSION view in oracle for more info.
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP