HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tracking pid of applications
Operating System - HP-UX
1837035
Members
3080
Online
110111
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
07-28-2003 04:56 AM
07-28-2003 04:56 AM
tracking pid of applications
hi i'm running 3 java application and i want to capture the 2 java application particularly in a variable and if i kill that varible that particular application should have a normal stop with causing any distruption to other application. the entire things should be done in a solaris shell scripts....
kamalesh
kamalesh
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 06:34 AM
07-28-2003 06:34 AM
Re: tracking pid of applications
Variables are too volitile so store your PID in a file. There are several examples of this in UNIX. In Solaris the whole /proc file system.
Also put some tight permissions on the file, like 600, and store it in a working directory hard coded in the script.
Also put some tight permissions on the file, like 600, and store it in a working directory hard coded in the script.
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 06:47 AM
07-28-2003 06:47 AM
Re: tracking pid of applications
This is a far from trivial task. Sending a signal to a process is easy but how that process responds to that signal is entirely up to that application -- it might be coded to ignore the signal, for example. Moreover, killing one process in a group of interdependent processes can certainly have unexpected consequences. Your problem is going to have to be much better defined before you simply start sending kill -s 15's (or whatever) to a bunch of processes.
If it ain't broke, I can fix that.
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