Hi!
I have some shell scripts receiving in input lots of parameters and I need to select the ones having a particular value in one parameter.
A typical shell command line is:
PROMPT > shell_name.ksh -avalue_a -bvalue_b -cvalue_c -dvalue_d ...
I used a combinaton of ps and grep commands... (1 Reply)
Hi!
I have some shell scripts receiving in input lots of parameters and I need to select the ones having a particular value in one parameter.
A typical shell command line is:
PROMPT > shell_name.ksh -avalue_a -bvalue_b -cvalue_c -dvalue_d ...
I used a combinaton of ps and grep commands... (5 Replies)
Hi
Problem of ps on Solaris 8 and 9
Perhaps a silly question but I can't find a solution.
the output of the command ps -ef is truncated.
I've tried to change the terminal settings with stty putting
a big number of colums: no change.
Following the man page of ps i have set the variable... (8 Replies)
OK, I'm stumped.
I have a shell script that reads a list, and for every item in the list performs a lookup in our Active Directory. Now, it seems that when I pipe the results into grep, the complete results are not there (truncated?). I'm not sure if this is a limit of the pipe, grep, shell... (1 Reply)
Hi Guys,
I have a master script file.
That calls the other script files. The sub script files append some of the data to the log file.
Once the master script completes one sub script execution and returns to execute other sub script that appends to the same log file. the log file gets... (2 Replies)
Hi, I am getting linking error
i.e.
/ade/aime_urtk/oracle/has/include/caa_ResStateListener.hxx:79: relocation truncated to fit: R_PPC_GO
T16 vtable for CAA::ResourceStateListener
/ade/aime_urtk/oracle/has/lib//libcaad.a(caa_Main.o)(.text+0x88e6): In function `CAA::ResourceStateL... (0 Replies)
Hi all,
I have used sed command with a file of size 7KB and stored the output to another file.
When i look into the output file, a few file lines at the bottom have got truncated. The sed statement i used is as below. Why does this happen and how to resolve this.
SQL=`sed... (3 Replies)
Hi,
I have Solaris-10 server. /usr/ucb/ps auxww is showing full path if I am running it from root. But if I run it from non-root user, its output is truncated. I don't want to use any other alternate command.
Please suggest, what can be its solution.
Terminal is set to term. (21 Replies)
Today I needed to take a look through a load of large backup files, so I wrote the following line to find them, order them by size, and print the file sizes in GB along with the filename. What happened was odd, the output was all as expected except for the first output line which had the filename... (4 Replies)
Discussion started by: gencon
4 Replies
LEARN ABOUT SUNOS
indicator
indicator(1F) FMLI Commands indicator(1F)NAME
indicator - display application specific alarms and/or the "working" indicator
SYNOPSIS
indicator [ -b [n]] [-c column] [-l length] [-o] [-w] [string...]
DESCRIPTION
The indicator function displays application specific alarms or the "working" indicator, or both, on the FMLI banner line. The argument
string is a string to be displayed on the banner line, and should always be the last argument given. Note that string is not automatically
cleared from the banner line.
OPTIONS -bn The -b option rings the terminal bell n times, where n is an integer from 1 to 10. The default value is 1. If the terminal
has no bell, the screen is flashed instead, if possible.
-c column The -c option defines the column of the banner line at which to start the indicator string. The argument column must be an
integer from 0 to DISPLAYW-1. If the -c option is not used, column defaults to 0 .
-l length The -l option defines the maximum length of the string displayed. If string is longer than length characters, it will be
truncated. The argument length must be an integer from 1 to DISPLAYW. If the -l option is not used, length defaults to DIS-
PLAYW. Note that if string doesn't fit it will be truncated.
-o The -o option causes indicator to duplicate its output to stdout .
-w The -w option turns on the "working" indicator.
EXAMPLES
Example 1: A sample output of the indicator command.
When the value entered in a form field is invalid, the following use of indicator will ring the bell three times and display the word WRONG
starting at column 1 of the banner line.
invalidmsg=`indicator -b 3 -c 1 "WRONG"`
To clear the indicator after telling the user the entry is wrong:
invalidmsg=`indicator -b 9 -c 1 "WRONG"; sleep 3;
indicator -c 1 " "`
In this example the value of invalidmsg (in this case the default value Input is not valid), still appears on the FMLI message line.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO attributes(5)SunOS 5.10 5 Jul 1990 indicator(1F)