Sponsored Content
Operating Systems HP-UX Xterm display immediatly dies in hpux 11.23 Post 303011877 by drysdalk on Wednesday 24th of January 2018 08:13:40 PM
Old 01-24-2018
Hi,

First off, I've got basically zero experience with HP-UX. But if this were Solaris or Linux, the approach I'd take would be to start xterm via a system call tracer like truss or strace. The idea would be to capture the system calls being executed by xterm and see what fails (and with any luck, why). That would then hopefully give you some pointers as to where to look for the actual underlying problem.

Some Googling seems to suggest that HP-UX's native system call tracer is called tusc. So maybe start with looking at the man page for that, and go from there. Maybe someone who has actual real-world experience with HP-UX can chime in here too and confirm if this is indeed the best approach on HP-UX, and if so advise you exactly how to use tusc (or some other HP-UX equivalent to strace or truss) to investigate your problem.

Hope this helps.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

xterm and display

I go to a different terminal ctrl-alt f2 i want to be able to open up another xterm there. How do i do it? Specificly, I want to be able to log into another computer in term f2. I then want to open a gui term and then execute programs on one computer but have them display on mine? I... (1 Reply)
Discussion started by: macdonto
1 Replies

2. Solaris

daemon dies, need to know why

Say I have a daemon that dies for an unknown reason. Is there a way to track its process ID to try to determine when it dies and what causes it to go away? (2 Replies)
Discussion started by: Silver11
2 Replies

3. SCO

xdmcp dies in sco600

We have just installed a sco 600 server. Xdmcp comes up in the chooser but if you don't log in within a few minutes it disappears and you have to log in and then out on the console before you can see it in the chooser. Xdmcp is suppossed to be setup for continuous logins automatically. We... (0 Replies)
Discussion started by: khafner
0 Replies

4. UNIX for Dummies Questions & Answers

xterm -display

I am using this command but when I launch it, the font that comes up on the remote machine is very small. Is there a way to enlarge the font using some switch? xterm -display remotemachine:0.0 & (5 Replies)
Discussion started by: zapper222
5 Replies

5. UNIX for Dummies Questions & Answers

Display output of one xterm on another

Setup: Two users, each likely on Windows PCs, using either putty or SecureCRT to connect to a remote Solaris server. The connection could be either telnet or ssh. Wanted: How can the output of one users xterm be directed to the other user so that you can easily allow someone to see what... (8 Replies)
Discussion started by: Vi-Curious
8 Replies

6. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

7. UNIX for Dummies Questions & Answers

xterm display options

Hello everyboby, can someone write me all options for Xterm option -name. For example, I know that @d give me server ip... but, how to write something like ${USER}@${HOST}: ${PWD}$ on title bar ? I use a connection line like this @(XTerm, method=stdappdb) -fn 6x13 -bg AliceBlue -fg blue... (2 Replies)
Discussion started by: gogol_bordello
2 Replies

8. UNIX for Advanced & Expert Users

Connection closing immediatly after successful login

When ssh'ing into certain Unix boxes I'm seeing two errors that appear immediately after entering the password I've never seen. After the error message is displayed the connection closes immediately. The first is “/bin/ksh: Not owner” after which the connection is closed. And, “Read from remote... (2 Replies)
Discussion started by: twk
2 Replies

9. HP-UX

pwage-hpux-T for Trusted HPUX servers

I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email. original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies

10. UNIX for Advanced & Expert Users

Xterm dies after being idle

I am running eod8 to connect to a linux machine running carnesr==>uname -a Linux hostname 2.6.32-220.2.1.el6.x86_64 #1 SMP Tue Dec 13 16:21:34 EST 2011 x86_64 x86_64 x86_64 GNU/Linux I have a script that opens up several xterms as follows: /usr/bin/xterm -geometry 150x60+0-0 -name... (1 Reply)
Discussion started by: rcarnesiii
1 Replies
strace(1M)						  System Administration Commands						strace(1M)

NAME
strace - print STREAMS trace messages SYNOPSIS
strace [ mid sid level...] DESCRIPTION
strace without arguments writes all STREAMS event trace messages from all drivers and modules to its standard output. These messages are obtained from the STREAMS log driver (see log(7D)). If arguments are provided, they must be in triplets of the form mid, sid, level, where mid is a STREAMS module ID number, sid is a sub-ID number, and level is a tracing priority level. Each triplet indicates that tracing messages are to be received from the given module/driver, sub-ID (usually indicating minor device), and priority level equal to, or less than the given level. The token all may be used for any member to indicate no restriction for that attribute. The format of each trace message output is: <seq> <time> <ticks> <level> <flags> <mid> <sid> <text> <seq> trace sequence number <time> time of message in hh:mm:ss <ticks> time of message in machine ticks since boot <level> tracing priority level <flags> E : message is also in the error log F : indicates a fatal error N : mail was sent to the system administrator (hardcoded as root) <mid> module ID number of source <sid> sub-ID number of source <text> formatted text of the trace message Once initiated, strace will continue to execute until terminated by the user. EXAMPLES
Example 1: A sample output of the strace command: The following example outputs all trace messages from the module or driver whose module ID is 41: strace 41 all all The following example outputs those trace messages from driver or module ID 41 with sub-IDs 0, 1, or 2: strace 41 0 1 41 1 1 41 2 0 Messages from sub-IDs 0 and 1 must have a tracing level less than or equal to 1. Those from sub-ID 2 must have a tracing level of 0. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5), log(7D) STREAMS Programming Guide NOTES
o There is no restriction to the number of strace processes opening the STREAMS log driver at a time. o The log-driver records the list of the triplets specified in the command invocation, and compares each potential trace message against this list to decide if it should be formatted and sent up to the strace process. Hence, long lists of triplets will have a greater impact on overall STREAMS performance. Running strace will have the most impact on the timing of the modules and drivers generating the trace messages that are sent to the strace process. If trace messages are generated faster than the strace process can handle them, some of the messages will be lost. This last case can be determined by examining the sequence numbers on the trace messages output. SunOS 5.10 4 Oct 1994 strace(1M)
All times are GMT -4. The time now is 05:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy