- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to set up an trace log on HP-UX ?
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
01-02-2006 02:08 AM
01-02-2006 02:08 AM
How to set up an trace log on HP-UX ?
I want to set up a trace to log all the processes running on my rx2620/HP-UX 11.23, to find a database sporadic error-job.
Is in HP-UX a tool available to to that ?
Thank you
Thierry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2006 02:42 AM
01-02-2006 02:42 AM
Re: How to set up an trace log on HP-UX ?
Download and install tusc/truss from the link below.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.8/
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2006 04:01 AM
01-02-2006 04:01 AM
Re: How to set up an trace log on HP-UX ?
Thierry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2006 03:23 PM
01-02-2006 03:23 PM
Re: How to set up an trace log on HP-UX ?
If you use tusc with your process, you will get to know all the system calls it makes, return values, it is similar to "truss" on solaris. You can get detailed output when you use it with your erring process.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2006 05:36 PM
01-02-2006 05:36 PM
Re: How to set up an trace log on HP-UX ?
#!/bin/ksh
# process.ksh
LOGFILE=/tmp/process.log
while [[ 1 ]]
do
ps -ef >> ${LOGFILE}
# sleep time
sleep 60
done
# END
exit 0
#################################
Note: If you did not change sleep time then it will load more contents in log file. File will be added more and more. So keep sleep time more.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2006 05:39 PM
01-02-2006 05:39 PM
Re: How to set up an trace log on HP-UX ?
#!/bin/ksh
# process.ksh
LOGFILE=/tmp/top.log
while [[ 1 ]]
do
top -d 1 >> ${LOGFILE}
# sleep time
sleep 60
done
# END
exit 0
##############################
Note: top will not all process informations. You have to use ps command only to get all informations.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2006 09:26 PM
01-02-2006 09:26 PM
Re: How to set up an trace log on HP-UX ?
Maybe this tool can help you to pinpoint the source of your problem.
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1174,00.html
--
HP Caliper is a general-purpose performance analysis tool for applications on Itanium®-based HP-UX and Linux systems. HP Caliper allows you to understand the performance and execution of your application and to identify ways to improve its run-time performance
--
Regards,
Robert-Jan