06-28-2008
not seeing any code or any error messages, it's hard to tell what the problem is - maybe a $PATH problem ?
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Alright.
My neighbor kid brings me his iBook and says nothing works. He decided to move the file system to his likeness and that semed to create the problems. Now he doesn't have access rights to his home.
I have run fsck over and over again and I keep getting ** fs modified **
I have also... (0 Replies)
Discussion started by: maxwell
0 Replies
2. Shell Programming and Scripting
I'm am able to format the date in the unix prompt using NOW=$(date +"%d%m%y"). However, when i put the same format into a shell script, it errors out with the followign.
sintax error on line 4: `NOW=$' unexpected.
#!/bin/ksh
EXP_LOC=/u02/oradata/exports
NOW=$(date +"%d%m%y")
... (8 Replies)
Discussion started by: mrx1350
8 Replies
3. Shell Programming and Scripting
Hallo,
I need to test a String (a special ip number-string).
So I want to run that:
ipadress=172.0.0.0
# for debugging:
echo $ipadress | egrep -e '172\.?\.??\.??$'
# the test that doesnt work
if test -z `echo $ipadress | egrep -e '172\.?\.??\.??$'` != ""
then
echo "match"
else... (1 Reply)
Discussion started by: wiseguy
1 Replies
4. Shell Programming and Scripting
I have a comma delimited log file which has the date as MM/DD/YY in the 2nd column, and HH:MM:SS in the 3rd column.
I need to change the date format to YYYY-MM-DD and merge it with the the time HH:MM:SS. How will I got about this?
Sample input
02/27/09,23:52:31
02/27/09,23:52:52... (3 Replies)
Discussion started by: hazno
3 Replies
5. UNIX for Dummies Questions & Answers
I have a list of dates in the following format: mm/dd/yyyy and want to change these to the MySQL standard format: yyyy-mm-dd.
The dates in the original file may or may not be zero padded, so April is sometimes "04" and other times simply "4".
This is what I use to change the format:
sed -i '' -e... (2 Replies)
Discussion started by: figaro
2 Replies
6. Shell Programming and Scripting
Hi.
I´ve a script that should substitude the 8th line in a file called xxx.num6.
The "xxx" is set by an array filled with this command:
j=0
for Par in *.sys ; do
Par=`echo $Par | sed 's/\(.*\).sys/\1/'` ;
Par2="$Par" ; echo "${Par2}"
j=$((j + 1));
done
Now i try... (0 Replies)
Discussion started by: Lock3
0 Replies
7. UNIX for Dummies Questions & Answers
when i started booting linux ,after sometime both the mouse and the keyboard are getting freeze and wont respond(also the system gets hanged and all the process running dont go forward) ,nothing seem to work.
Keeping in mind that it will work after sometime ,i waited for one hour also ,but... (1 Reply)
Discussion started by: sanjay.login
1 Replies
8. Programming
Hey so I've written a program and it crashes every time I run it. I tried placing breakpoints to see what was going but to my surprise they do not work! I've placed them anywhere and they do not stop the execution of the program.
In fact if I add code and hit rebuild it doesn't even build that... (1 Reply)
Discussion started by: Cambria
1 Replies
9. UNIX for Dummies Questions & Answers
Hi Unix Gurus,
I would like to rename several files in a Unix Directory . The filenames can have more than 1 underscore ( _ ) and the last underscore is always followed by a date in the format mmddyyyy. The Extension of the files can be .txt or .pdf or .xls etc and is case insensitive ie... (1 Reply)
Discussion started by: pchegoor
1 Replies
10. Programming
hi all,
i have made a shell script and it runs until it reaches the if statement, doesn't the ! mean only if the command fails it will echo me that message and then exit
can anyone please help me what is wrong with my code?
many thanks,
rob
#!/bin/bash
echo "is this archive... (10 Replies)
Discussion started by: robertkwild
10 Replies
LEARN ABOUT DEBIAN
ltpdriver
LTPDRIVER(1) LTP executables LTPDRIVER(1)
NAME
ltpdriver - LTP transmission test program
SYNOPSIS
ltpdriver remoteEngineNbr clientId nbrOfCycles greenLength [ totalLength]
DESCRIPTION
ltpdriver uses LTP to send nbrOfCycles service data units of length indicated by totalLength, of which the trailing greenLength bytes are
sent unreliably, to the ltpcounter client service process for client service number clientId attached to the remote LTP engine identified
by remoteEngineNbr. If omitted, length defaults to 60000. If length is 1, the sizes of the transmitted service data units will be
randomly selected multiples of 1024 in the range 1024 to 62464.
Whenever the size of the transmitted service data unit is less than or equal to greenLength, the entire SDU is sent unreliably.
When all copies of the file have been sent, ltpdriver prints a performance report.
EXIT STATUS
0 ltpdriver has terminated. Any problems encountered during operation will be noted in the ion.log log file.
1 ltpdriver was unable to start, because it could not attach to the LTP protocol on the local node. Run ltpadmin to start LTP, then try
again.
FILES
The service data units transmitted by ltpdriver are sequences of text obtained from a file in the current working directory named
"ltpdriverAduFile", which ltpdriver creates automatically.
ENVIRONMENT
No environment variables apply.
DIAGNOSTICS
Diagnostic messages produced by ltpdriver are written to the ION log file ion.log.
ltpdriver can't initialize LTP.
ltpadmin has not yet initialized LTP protocol operations.
Can't create ADU file
Operating system error. Check errtext, correct problem, and rerun.
Error writing to ADU file
Operating system error. Check errtext, correct problem, and rerun.
ltpdriver can't create file ref.
ION system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
ltpdriver can't create ZCO.
ION system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
ltpdriver can't send message.
LTP span to the remote engine has been stopped.
ltp_send failed.
LTP system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
BUGS
Report bugs to <ion-bugs@korgano.eecs.ohiou.edu>
SEE ALSO
ltpadmin(1), ltpcounter(1), ltp(3)
perl v5.14.2 2012-05-25 LTPDRIVER(1)