- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Killing "?" process
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
02-13-2004 08:59 PM
02-13-2004 08:59 PM
Killing "?" process
I did a "ps -ef|grep java" and noticed there are several java processes. I tried killing these processes but failed to do so.
May I know what processes are these that are having "?". How do I kill such processes?
This is a HP11 with dual processors.
Could anyone help me with this problem?
hp20> ps -ef|grep java
root 18302 18264 0 Feb 6 ? 0:00 /usr/bin/hp700_ux_11.00/pkgs/java/1.4.0.
root 17612 1 0 Feb 6 ? 0:00 /usr/bin/hp700_ux_11.00/pkgs/java/1.4.0.
etooi 29870 1 0 Feb 9 ? 0:00 /usr/bin/hp700_ux_11.00/pkgs/java/1.4.0.
root 21070 1 0 Feb 6 ? 0:00 /usr/bin/hp700_ux_11.00/pkgs/java/1.4.0.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 10:31 PM
02-13-2004 10:31 PM
Re: Killing "?" process
The ? field you are querying is valid. If the process has a controlling terminal such as a ksh (shell) process then you will see ttyp (terminal id) etc. In this case the java process does not have a controlling terminal (started in the background, or a daemon etc)
To kill the processes use the pid (process id's in the 2nd column. The parent of these processes (3rd column) is init. You don't want to kill him
ie
kill 18302
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 11:03 PM
02-13-2004 11:03 PM
Re: Killing "?" process
why do you want to kill these jobs in the first place and what happens if you use:
kill -9 18302
?
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2004 04:26 AM
02-14-2004 04:26 AM
Re: Killing "?" process
Are you having trouble killing these processes?. As mentioned already, these processes are not associated with any terminal which means they were started in the background. You can try the following to duplicate this behaviour
$nohup sleep 30&
$exit
Login again
$ps -ef |grep sleep
You should see the sleep process with "?" in it's tty column
$kill
Should kill it
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2004 11:51 AM
02-14-2004 11:51 AM
Re: Killing "?" process
It won't look for root processes for obvious reasons. See attachment.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2004 03:22 AM
02-15-2004 03:22 AM
Re: Killing "?" process
You should take a TOC of your system, and open a call to HP support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2004 05:42 PM
02-15-2004 05:42 PM
Re: Killing "?" process
This can give you some insight on where they come from, and so help you prevent them from getting started in the first place if you really don't need them, though some configuration tools on HP-UX are already in Java, like the veritas volume manager, so they could be perfectly legal. And it could also be those java processes are started by your website...