10 More Discussions You Might Find Interesting
1. AIX
Hi,
In HACMP, which IP label ( Service/ Boot/ Persisten) is used for send/receive Heartbeat packets in IP based Heartbeating? (1 Reply)
Discussion started by: ksgnathan
1 Replies
2. Shell Programming and Scripting
Hi,
i have below code so i want to run only one for loop instead of two.
if ; then
FILE_NAME_SLS=`cat $FILE_PATH|grep 'GTDA_Dly_Sls_'`
DELMT="|"
for i in $FILE_NAME_SLS
do
ABaC_COL_SL=`cut -d "$DELMT"... (6 Replies)
Discussion started by: renuk
6 Replies
3. UNIX for Dummies Questions & Answers
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies
4. Windows & DOS: Issues & Discussions
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies
5. Solaris
Hello,
I'm brand new to Sun/Solaris.
I have a Sun Blade 150, with SunOS 5.8.
I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Discussion started by: Resadija
6 Replies
6. Shell Programming and Scripting
Im trying to do something like this but I cant find any documentation.
read X
if
then goto ThisLine
fi
OTHER CODE
OTHER CODE
Label: ThisLine echo "You entered 1" (5 Replies)
Discussion started by: Grizzly
5 Replies
7. AIX
In errpt i have got the following error and my database performs slow.
---------------------------------------------------------------------------
LABEL: FCP_ARRAY_ERR4
IDENTIFIER: D5385D18
Date/Time: Tue Jul 22 10:50:10 CUT
Sequence Number: 193913
Machine Id: ... (1 Reply)
Discussion started by: vjm
1 Replies
8. AIX
I was trying to access my filesystem "tools" but couldn't, so I run fsck, but
says Unable to read superblock (TERMINATED)
when try mounting says
mount: /dev/lv01 on /tools: I/O error
the state of logical volumes of rootvg are "open/stale", what does it means?
LV NAME TYPE ... (4 Replies)
Discussion started by: andwhat
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
Does anyone know how to change the labeling of media tapes with Lonetar?
For ex. M_01, M_02, M_03 etc...
Any ideas would be greatly appreciated.
Thank you (0 Replies)
Discussion started by: Yorgy
0 Replies
10. AIX
Am getting an error in error log
LABEL: SCAN_ERROR_CHRP
IDENTIFIER: BFE4C025
Date/Time: Wed May 17 10:49:32 CUT
Sequence Number: 6738
Machine Id: 00CD552E4C00
Node Id: dbs104
Class: H
Type: PERM
Resource Name: sysplanar0
Resource Class:... (0 Replies)
Discussion started by: vjm
0 Replies
setlabel(3C) Standard C Library Functions setlabel(3C)
NAME
setlabel - define the label for pfmt() and lfmt()
SYNOPSIS
#include <pfmt..h>
int setlabel(const char *label);
DESCRIPTION
The setlabel() function defines the label for messages produced in standard format by subsequent calls to lfmt(3C) and pfmt(3C).
The label argument is a character string no more than 25 characters in length.
No label is defined before setlabel() is called. The label should be set once at the beginning of a utility and remain constant. A null
pointer or an empty string passed as argument will reset the definition of the label.
RETURN VALUE
Upon successful completion, setlabel() returns 0; otherwise, it returns a non-zero value.
EXAMPLES
The following code (without previous call to setlabel()):
pfmt(stderr, MM_ERROR, "test:2:Cannot open file
");
setlabel("UX:test");
pfmt(stderr, MM_ERROR, "test:2:Cannot open file
");
will produce the following output:
ERROR: Cannot open file
UX:test: ERROR: Cannot open file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
getopt(3C), lfmt(3C), pfmt(3C), attributes(5)
SunOS 5.11 29 Dec 1996 setlabel(3C)