- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tusc command
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
Discussions
Discussions
Forums
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
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
тАО04-08-2006 05:37 AM
тАО04-08-2006 05:37 AM
I want to examine java process of weblogic server on hpux.
Just wanted to know how to use "tusc" command to figure out if there is an issue ?
If someone has real time example, it would be appreciated.
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2006 05:46 AM
тАО04-08-2006 05:46 AM
Re: tusc command
First of all, Install "tusc" in your system,
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.8/
Next, How to use "tusc" with Java
Here is a good article from HP's DSPP
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2894,00.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2006 07:04 AM
тАО04-08-2006 07:04 AM
Solutionif the process is already running:
Get the process id and assign it to the variable proc
proc=$(ps -ef | grep
tusc -o $1 -p $proc &
All you need to make it work is to come up with a unique pattern for the weblogic daemon. You actually have enough admin experience that you should be able to id the process without my extra code.
This will hang a tusc collector on an already running process.
You can use tusc to start the process as well.
tusc -vfp -o /tmp/trace.log
Good Luck,
Happy to assist further,
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
тАО04-19-2006 11:55 AM
тАО04-19-2006 11:55 AM
Re: tusc command
I tried to use "tusc" for Apache but got the output as shown below:-
[sksonkar@bigguy:/usr/local/bin]$proc=$(ps -ef | grep apache| awk '{print $2}')
[sksonkar@bigguy:/usr/local/bin]$ echo $proc
22025 22023 22024 22022 28054
[sksonkar@bigguy:/usr/local/bin]$ ./tusc -o $1 -p $proc &
[1] 28332
[sksonkar@bigguy:/usr/local/bin]$ tusc: getproc(28054): No such process
tusc: ttrace(TT_PROC_ATTACH, 22025, 0, 0, dad0001, 0): Permission denied
tusc: ttrace(TT_PROC_ATTACH, 22023, 0, 0, dad0001, 0): Permission denied
tusc: ttrace(TT_PROC_ATTACH, 22024, 0, 0, dad0001, 0): Permission denied
tusc: ttrace(TT_PROC_ATTACH, 22022, 0, 0, dad0001, 0): Permission denied
tusc: process 28054 ("
tusc: no process to attach to
^C
[1] + Done(1) ./tusc -o $1 -p $proc &
[sksonkar@bigguy:/usr/local/bin]$
Can someone suggest what these errors are ?
Thanks,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 03:50 PM
тАО04-19-2006 03:50 PM
Re: tusc command
Try running "tusc" as root user. You were running from sksonkar. That is the reason for getting "Permission denied"
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 05:58 PM
тАО04-19-2006 05:58 PM
Re: tusc command
We use power broker to gain privileged access.