10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi,
I need to get a script to run over 100 of different files in a folder.
The current input file is:
(However the input file has to change by one counter each loop of the script(e.g. 001, 002, 003...))
001.gif
At the end of the scrip the current output is:
001output.gif
It should... (4 Replies)
Discussion started by: pasc
4 Replies
2. Windows & DOS: Issues & Discussions
Dear Experts,
Once again i need your vital help to fix my issue, please do the needfull.
Issue:- I have schedule one script on windows server to run's every 10 min.(Script do check the alert log file,if database found down it send the email) While i'm doing the database down manually its... (12 Replies)
Discussion started by: Mohammed Fareed
12 Replies
3. Programming
Hello,
i'm trying to implement the times() function and i'm programming in C.
I'm using the "struct tms" structure which consists of the fields:
The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process.
The tms_stime structure... (1 Reply)
Discussion started by: g_p
1 Replies
4. UNIX for Dummies Questions & Answers
while read s1 ; do
url=
suf=ignore=.csv;
wget $url$s1$suf;
sleep 5;
cat /home/joey/public_html/charts/program/fn\charts/data/tickers/header.txt > $s1.txt;
chmod 777 $s1.txt;
sed '1d' table.csv?s\=$s1 >> /home/joey/public_html/charts/program/charts/data/tickers/$s1.txt;
rm -Rf... (0 Replies)
Discussion started by: harte
0 Replies
5. Shell Programming and Scripting
i should use this script runs how many times before ?
how can i do_? (3 Replies)
Discussion started by: utoptas
3 Replies
6. Shell Programming and Scripting
Hi,
First i need to cd to this directory $SWDIR/util
Second i need to run the following either 4 times or 20 times
./swadm add_process 1 BG Y
how can i put this in a script which should ask for user input on how many times you want to run this
Thanks, (5 Replies)
Discussion started by: lookinginfo
5 Replies
7. UNIX for Dummies Questions & Answers
Hi Good Morning all,
I have two dates and times in the beloe format.
1. 07/18/2009 03:45:49
2. 07/18/2009 03:46:41
i will grep these values from a file. Now my problem is i need to find out whether the second valus is bigger thatn the 1 value. How to compare the times. Please help me in... (4 Replies)
Discussion started by: intiraju
4 Replies
8. AIX
Is there such location or command to know how many times did you reboot your server in that particular day?in AIX. (3 Replies)
Discussion started by: kenshinhimura
3 Replies
9. Shell Programming and Scripting
Hey,
Im trying to format the last command to tell me just the user names, logins, and the time that they were logged in. So far I got the users logins using a loop that counts the amount of times a user logged in but im not sure how to start the time array. The time im trying to use is the last... (2 Replies)
Discussion started by: Trilogie
2 Replies
10. Shell Programming and Scripting
I am new to shellscript . PLease help me how can I write the following script.
$ who
ray pts/0 aug 31 01:18 ( 65.169.28.200 )
ray pts/1 sep 2 02:28 ( 65.169.28.200 )
bob pts/3 sep 2 02:31 ( 65.169.28.201 )
when run the command who |./ script , the script should... (3 Replies)
Discussion started by: LAY
3 Replies