12-28-2005
export uname=XXXXXXX
. /home/oracle/dba/.PWD_FILE $uname
export exedir=/home/data/data1/etl
$exedir/smt_main.sh
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I need some help, because I'm trying to create a process runing all the time (not invoqued by a crontab), like a daemon, to detect the creation of a new file in a specific directory and axecute a process wich do something with this new file.
Can you help me?
For your information my Unix is... (2 Replies)
Discussion started by: lsquillacioti
2 Replies
2. UNIX for Advanced & Expert Users
Does anyone know how I can supress the "Killed" message that's produced when I kill a process? I've got a script that performs a "tail -f" on a database error log and pipes the output into an awk script which looks for certain error messages and forwards any that qualify to my pager. The problem... (2 Replies)
Discussion started by: kenwolff
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have a shell script which i am running. I want it's starting time (the time when the execution of the shell script started) in another shell script. Note that the process has already terminated when i need it's starting time.... else i could have used ps -f | cut -d" " -f5...
But that's... (2 Replies)
Discussion started by: k_chaaya
2 Replies
4. UNIX for Dummies Questions & Answers
Hi all!
I'm using CentOS 5.2 with KDE.
Is it possible to get a processname/cmd of a terminated process (= PID not present with PS-command) ?
Are the processnames/scriptnames logged somewhere? (I did not find them in /var/log/messages) (5 Replies)
Discussion started by: JohnMurdoch
5 Replies
5. Shell Programming and Scripting
Hi all,
I'm doing automation task for my team and I just started to learn unix scripting so please shed some light on how to do this:
1) I have 2 sets of datafiles - datafile A and B. These datafiles must be loaded subsequently and cannot be loaded concurrently.
2) So I loaded datafile A... (10 Replies)
Discussion started by: luna_soleil
10 Replies
6. UNIX for Dummies Questions & Answers
Hello All,
I have a script which has a functionality to sleep for 300 seconds after it does some processing, so in the logs if i check after the 3 iteration of sleep it didn't write saying "sleeping for 300 seconds". I suspect putty would automatically terminate session as i cannot access it any... (1 Reply)
Discussion started by: Ariean
1 Replies
7. Red Hat
Hello,
I am in the process of learning Linux OS.
How do I run the below lines of code automatically as root on server startup.
cd /opt/program_folder/ServiceManager/bin
nohup ./servce_manager DEV &
Currently, as soon as the server is up and running I log in as root (as this... (6 Replies)
Discussion started by: rparavastu
6 Replies
8. Shell Programming and Scripting
Hi ,
I have scheduled the script using cron between 25-31 of the month.
My script will trigger the ETL job once file is available in Windows path between these days(every 2 hours between 26 - 30 of every month ).
So my question : "if the ETL job completes cron should stop the running the... (5 Replies)
Discussion started by: Jaganjag
5 Replies
9. UNIX for Beginners Questions & Answers
My server has /var/log/messages with 'init: initLogger main process (608798) terminated with status 1' errors. I researched about the error and also followed the steps from stackexchange :
157059/error-init-ttys0-dev-ttys0-main-process-1612-terminated-with-status-1]linux - ERROR: init: ttyS0... (0 Replies)
Discussion started by: Paras Pandey
0 Replies
UNAME(1) General Commands Manual UNAME(1)
NAME
uname - display information about the system
SYNOPSIS
uname [-amnrsv]
DESCRIPTION
The uname command writes the name of the operating system implementation to standard output. When options are specified, strings repre-
senting one or more system characteristics are written to standard output.
The options are as follows:
-a Behave as though the options -m, -n, -r , -s, and -v were specified.
-m Write the type of the current hardware platform to standard output.
-n Write the name of the system to standard output.
-r Write the current release level of the operating system to standard output.
-s Write the name of the operating system implementation to standard output.
-v Write the version level of this release of the operating system to standard output.
If the -a flag is specified, or multiple flags are specified, all output is written on a single line, separated by spaces.
The uname utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
sysctl(8), sysctl(3), uname(3)
HISTORY
The uname command appeared in 4.4BSD.
STANDARDS
The command is expected to conform to the IEEE Std1003.2 (``POSIX'') specification.
4th Berkeley Distribution February 4, 1995 UNAME(1)