05-28-2004
Hi,
setting with TERM make no change.
I suspect a problem of the ps command itself.
Because changin settings of The TERMINAL
woks with ls.
Thanks anyway
Rene
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: pciatto
1 Replies
2. UNIX for Advanced & Expert Users
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)
Discussion started by: pciatto
5 Replies
3. AIX
folks;
how can i get longer output than the one i got by using "/usr/ucb/ps awwx"? :mad: (2 Replies)
Discussion started by: moe2266
2 Replies
4. Shell Programming and Scripting
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)
Discussion started by: TheCrunge
1 Replies
5. UNIX for Dummies Questions & Answers
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)
Discussion started by: Swapna173
2 Replies
6. Linux
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)
Discussion started by: jgobbur
0 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: madhan@29
3 Replies
8. Solaris
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)
Discussion started by: solaris_1977
21 Replies
9. UNIX for Advanced & Expert Users
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
10. UNIX for Dummies Questions & Answers
Hi All,
here is an output of my command and the problem is that my output string is truncated, I want to exact the full string, I am on BASH shell, please help me out.
Regards
Rahul
command with Output :
lonss05903:cmdsvc01 /home/cmdsvc01 > ps -aef|grep 'Copy'
cmdsvc01 2642 8675 ... (7 Replies)
Discussion started by: rahulkalra9
7 Replies
SETLEDS(1) General Commands Manual SETLEDS(1)
NAME
setleds - set the keyboard leds
SYNOPSIS
setleds [-v] [-L] [-D] [-F] [{+|-}num] [{+|-}caps] [{+|-}scroll]
DESCRIPTION
Setleds reports and changes the led flag settings of a VT (namely NumLock, CapsLock and ScrollLock). Without arguments, setleds prints the
current settings. With arguments, it sets or clears the indicated flags (and leaves the others unchanged). The settings before and after
the change are reported if the -v flag is given.
The led flag settings are specific for each VT (and the VT corresponding to stdin is used).
By default (or with option -F), setleds will only change the VT flags (and their setting may be reflected by the keyboard leds).
With option -D, setleds will change both the VT flags and their default settings (so that a subsequent reset will not undo the change).
This might be useful for people who always want to have numlock set.
With option -L, setleds will not touch the VT flags, but only change the leds. From this moment on, the leds will no longer reflect the VT
flags (but display whatever is put into them). The command setleds -L (without further arguments) will restore the situation in which the
leds reflect the VT flags.
One might use setleds in /etc/rc to define the initial and default state of NumLock, e.g. by
INITTY=/dev/tty[1-8]
for tty in $INITTY; do
setleds -D +num < $tty
done
OPTIONS
-num +num
Clear or set NumLock. (At present, the NumLock setting influences the interpretation of keypad keys. Pressing the NumLock key com-
plements the NumLock setting.)
-caps +caps
Clear or set CapsLock. (At present, the CapsLock setting complements the Shift key when applied to letters. Pressing the CapsLock
key complements the CapsLock setting.)
-scroll +scroll
Clear or set ScrollLock. (At present, pressing the ScrollLock key (or ^S/^Q) stops/starts console output.)
BUGS
In keyboard application mode the NumLock key does not influence the NumLock flag setting.
SEE ALSO
loadkeys(1)
24 Sep 1994 SETLEDS(1)