05-09-2013
Sorry.
The same error on first message.
4 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Linux
Hi,
We are looking for the extensive list of Commands/Syntax that were working in HP-UX and will not work on LINUX.
We would find such commands and modify them accordingly.
Do we have any reference sites or documents.
You help would be greatly appreciated.
Thanks in advance (2 Replies)
Discussion started by: vijaipersonal
2 Replies
3. HP-UX
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
4. HP-UX
This work
#!/usr/bin/sh
COMM=${1}
shift
UNIX95=1 ps -C ${COMM} -o pid='' | while read P
do
kill -15 ${P}
done
This don't work
#!/usr/bin/sh
COMM=${1}
shift
UNIX95=1 ps -C ${COMM} -o pid='' | while read P
do
kill -"$@" ${P}
done (7 Replies)
Discussion started by: Linusolaradm1
7 Replies
LEARN ABOUT ULTRIX
xtappsetwarninghandler
XtAppError(3Xt) MIT X11R4 XtAppError(3Xt)
Name
XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning - low-level error handlers
Syntax
void XtAppError(app_context, message)
XtAppContext app_context;
String message;
void XtAppSetErrorHandler(app_context, handler)
XtAppContext app_context;
XtErrorHandler handler;
void XtAppSetWarningHandler(app_context, handler)
XtAppContext app_context;
XtErrorHandler handler;
void XtAppWarning(app_context, message)
XtAppContext app_context;
String message;
Arguments
app_context
Specifies the application context.
message Specifies the nonfatal error message that is to be reported.
handler Specifies the new fatal error procedure, which should not return, or the nonfatal error procedure, which usually returns.
message Specifies the message that is to be reported.
Description
The function calls the installed error procedure and passes the specified message.
The function registers the specified procedure, which is called when a fatal error condition occurs.
The registers the specified procedure, which is called when a nonfatal error condition occurs.
The function calls the installed nonfatal error procedure and passes the specified message.
See Also
XtAppGetErrorDatabase(3Xt), XtAppErrorMsg(3Xt)
X Window System Toolkit: The Complete Programmer's Guide and Specification, Paul J. Asente and Ralph Swick
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XtAppError(3Xt)