HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disconnecting a user
Operating System - HP-UX
1833846
Members
2131
Online
110063
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
11-16-2005 11:52 AM
11-16-2005 11:52 AM
Disconnecting a user
Under Linux or AIX, running kill -1 -1 as a user terminates all his session smoothly.
Under HPUX 11i I got ... kill: -1: The specified process does not exist.
I can not run a ps -fu user|grep -v grep |xargs kill -9 because I can face database issues if he is connected.
Killall is only used to stop the box.
Is there an unknown command ?
Under HPUX 11i I got ... kill: -1: The specified process does not exist.
I can not run a ps -fu user|grep -v grep |xargs kill -9 because I can face database issues if he is connected.
Killall is only used to stop the box.
Is there an unknown command ?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2005 02:51 PM
11-16-2005 02:51 PM
Re: Disconnecting a user
There is no command as killall in hp-ux.
you can kill your current session as follows.
kill -15 $$
you can kill your current session as follows.
kill -15 $$
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 02:39 AM
11-17-2005 02:39 AM
Re: Disconnecting a user
For me, on HP-UX 11.11 "kill -1 -1" works as it should.
Also, in "man kill" written:
=-1 All processes, except special system processes, if the user
has appropriate privileges. Otherwise, all processes,
except special system processes, whose real or effective
user ID is the same as the user ID of the sending process.
Please, check with the following:
which kill
/usr/bin/kill
what /usr/bin/kill
$Revision: B.11.11_LR
Fri Oct 27 00:33:38 PDT 2000 $
Also, in "man kill" written:
=-1 All processes, except special system processes, if the user
has appropriate privileges. Otherwise, all processes,
except special system processes, whose real or effective
user ID is the same as the user ID of the sending process.
Please, check with the following:
which kill
/usr/bin/kill
what /usr/bin/kill
$Revision: B.11.11_LR
Fri Oct 27 00:33:38 PDT 2000 $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 03:55 AM
11-17-2005 03:55 AM
Re: Disconnecting a user
Got it
kill is a built in shell command
/usr/bin/kill works
feel a bit stupid :(
kill is a built in shell command
/usr/bin/kill works
feel a bit stupid :(
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP