KSH Questions and Answers

Recent IT Questions

1 - 4 of 4
<<PREVIOUS 1 NEXT>>

Error in KSH Script

I'm getting this error in my KSH Script, I cna not see there error HELP!!! 2008-02-04 11:12:46 516 Job started 2008-02-04 11:12:46 611 Step 001 started 2008-02-04 11:12:46 612 External program: /home/erpmm/Q2S_scripts/Log_MQ_trim_file.sh 2008-02-04 11:12:46 613 Related parameter: Q2S 2008-02-04...

Answer Question   |  Feb 4 2008  4:52 PM GMT
KSH, Korn Shell
asked by Rich144

  5 pts.

Obtaining an elapsed-time sorted list of Unix processes from a shell

I would like to obtain a sorted list of processes, sorted by elapsed time. I am aware of ps -o etime etc, but how exactly do i sort by a field with format [[dd]:[hh]]mm:ss ? Or is there a different way altogether to ask the OS to return a sorted list of processes, sorted by elapsed time? Thanks.

Answer Question   |  Oct 28 2007  1:57 PM GMT
Bash, KSH, Unix
asked by Nagendra.gd

  0 pts.

KILLING OLD UNIX PROCESSES

# I want to be able to extract all the oracleprod processes which are 3 days old and kill them. Are there other date functions or methods can I use? I can make a list of processes but how do I compare the date to kill those processes more than 3 days old. This problem is occurring even though I...

View Answer   |  Aug 4 2004  10:39 AM GMT
Unix tools, Solaris, Bash
asked by geoffreyhalleds

  0 pts.

How to modify external environment variable from 2nd shell script

There are two shell scripts. First one creates variable as: "export VAR1=init_value;" OR "declare -x; VAR1=init_value;" Second script can read this variable and modifies the variable's value but after exiting the variable still keep original value. What is wrong?

View Answer   |  May 12 2004  11:18 PM GMT
Bash, Bourne, KSH
asked by smooth

  0 pts.

1 - 4 of 4
<<PREVIOUS 1 NEXT>>