- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to kill process ids
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
11-15-2000 02:09 PM
11-15-2000 02:09 PM
How to kill process ids
I was trying to install JDK and JRE on HP-UX10.20, some how corruption occured.Now I am having around 100 pid entries for vx_inactive_thread command while listing through ps -ef.
I am now not able to login from CDE, though can login from command line. I have tried to safe kill , force kill, reboot, rebuild the kernel,uninstlled the jdk/jre etc. still all pids are alive. Can anyone suggest how to get rid of those pids?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2000 02:28 PM
11-15-2000 02:28 PM
Re: How to kill process ids
But hopefully someone can elaborate on that, because I'd like to know what all those 'inactive threads' mean, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2000 02:37 PM
11-15-2000 02:37 PM
Re: How to kill process ids
I'm assuming when you say you can't log in to CDE you mean your username and password validate okay, but a few seconds later you're dumped back to the dtlogin screen?
I've seen something like this before: if the system can't resolve its own hostname with an 'nslookup' (actually a gethostbyname[] system call, I guess)--even if it falls back to /etc/hosts by way of a well-configured nsswitch.conf--CDE will fail to start up. You might check into that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2000 02:45 PM
11-15-2000 02:45 PM
Re: How to kill process ids
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xeaebf841489fd4118fef0090279cd0f9!1,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2000 02:48 PM
11-15-2000 02:48 PM
Re: How to kill process ids
I tried searching the Technical Knowledge Base, but eventually got a message that it was unavailable. I will try again tomorrow and post results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2000 03:27 PM
11-15-2000 03:27 PM
Re: How to kill process ids
I am attaching you log file( includes errorlog and startlog files under .dt directory). I have also found nsswitch.conf file missing which I have recreated, still problem in login usig CDE is continue.Attached log file talks about broken pipe, please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2000 03:31 PM
11-15-2000 03:31 PM
Re: How to kill process ids
It looks vx_inactive thread may not be related to CDE login prob, still I would like to know about it if some one is having any details.
secondly ...
I am attaching you log file( includes errorlog and startlog files under .dt directory). I have also found nsswitch.conf file missing which I have recreated, still problem in login usig CDE is continue.Attached log file talks about broken pipe, please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2000 07:46 PM
11-15-2000 07:46 PM
Re: How to kill process ids
Kevin your link to similar problem was very useful, especially command
/usr/contrib/X11/dr_dt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2000 11:16 PM
11-15-2000 11:16 PM
Re: How to kill process ids
For your information, I have an average count ot 60 vx_inactive_thread on all the systems I checked here.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2000 11:39 PM
11-15-2000 11:39 PM
Re: How to kill process ids
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2000 05:20 AM
11-16-2000 05:20 AM
Re: How to kill process ids
Bit off the thread though!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2000 05:20 AM
11-16-2000 05:20 AM
Re: How to kill process ids
Bit off the thread though!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2000 07:36 AM
11-16-2000 07:36 AM
Re: How to kill process ids
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=f1d3d5a6078e0eef25/screen=ckiDisplayDocument?docId=200000032087638
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=f1d3d5a6078e0eef25/screen=ckiDisplayDocument?docId=200000024645221
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2000 08:24 AM
11-16-2000 08:24 AM
Re: How to kill process ids
. /usr/local/etc/functions
the contents of /usr/local/etc/functions would include nice things like killproc, statproc and more. I have attached the killproc function, so take a look.
Just remember that some processes like vx_active_threads are required by the OS, so be carefull what you kill!.
Regards,
Shannon
killproc()
{
if [ $# = '1' ] ; then
for PID in `ps -ef | grep $1|grep -v grep|awk '{print $2}'` ; do
echo killing $PID
/bin/kill $PID
done
elif [ $# = '2' ] ; then
for PID in `ps -ef|grep $2|grep -v grep|awk '{print $2}'` ; do
/bin/kill -$1 $PID
done
else
echo "USEAGE: killpid # process"
echo "# is the signal to send, and is optional"
fi
}