- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: change process name
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-26-2008 05:01 PM
11-26-2008 05:01 PM
#ps -ef |grep ora
root 18013 1 0 Nov25 ? 00:00:01 ora_pri
As above , ora_pri is the process name that keep on the system but is not running .
Now , too name same process name makes our system calculation error , so I would like to change the process name to another name ( eg. change it to dummy_process )
can advise is it possible to change the process name ?
thx
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 06:52 PM
11-26-2008 06:52 PM
Solutionshows you a "process name" in the same sense
that, say, a VMS "SHOW SYSTEM" report shows
you a process name. "ps" is (I believe)
showing you the command line argument(s), and
I'd guess that it's too late to change
it/them.
> [...] Now , too name same process name
> makes our system calculation error [...]
Perhaps your system calculation should be
looking for a particular process id (pid)
(and/or ppid) instead of for a particular
"name"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 07:06 PM
11-26-2008 07:06 PM
Re: change process name
Perhaps your system calculation should be
looking for a particular process id (pid)
(and/or ppid) instead of for a particular
"name"?
No , it is not check pid , it really check process name .
do you mean the process name could not be change ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 08:06 PM
11-26-2008 08:06 PM
Re: change process name
Instead of renaming the running "process" (which i dont think will be possible), i would rather remove the process_name from the calculation itself.
Maybe if you can post an extract from the calculation script we can help you alter it.
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 08:12 PM
11-26-2008 08:12 PM
Re: change process name
If you not able to kill this process, One last option is there and that is you have to take reboot.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 08:18 PM
11-26-2008 08:18 PM
Re: change process name
> process name .
That's your problem.
> do you mean the process name could not be
> change ?
I mean that what you call a "process name" is
not a process name. I don't think that UNIX
has process names. VMS has process names,
and you can change them all you want, using a
command like "SET PROCESS /NAME = string"
(or using system services). But this isn't
VMS, and I don't know how to change what "ps"
says.
That "process name" which "ps" gives you does
not uniquely identify a process. The pid
does, which is why you should use the pid,
not the "process name" (which is not a
process name).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 11:36 PM
11-26-2008 11:36 PM
Re: change process name
This process is hung, not dead yet.
>is it possible to change the process name?
I don't think so. It would be simpler to reboot than to figure this out. I do know that some oracle processes change their names.
I'm not sure if this is writing to argv that does it, or it needs to fiddle with uarea?
>do you mean the process name could not be change?
Right, you are looking at the executable name.
Perhaps you need to look for ora_pri but skip all of them whose PPID is 1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 02:20 AM
11-27-2008 02:20 AM
Re: change process name
- load the proc table, then get the addresses of the command field of the processes,
then change the command with adb.
You should TOC the system when possible and contact HP support!