Search Results

Search: Posts Made By: wereyou
Forum: Ubuntu 01-10-2014
6,078
Posted By wereyou
I am running Ubuntu 12.04.3 LTS when the...
I am running Ubuntu 12.04.3 LTS

when the users try to access the application to login they receive this message:

Service Temporarily Unavailable

The server is temporarily unable to service...
Forum: Ubuntu 01-10-2014
6,078
Posted By wereyou
Running strace command
I want to run the strace -p xxxx -o in a script to monitor a process that hangs sometimes and requires a restart, my question is if strace is constantly running in the background will it chew up...
13,287
Posted By wereyou
jim, this worked. thanks for the help. i...
jim,

this worked. thanks for the help. i need to do some more tweaking to the script and i will post the results maybe sometime next week.

thanks again.
13,287
Posted By wereyou
Using awk and current date command
I am running a command to extract data from a database which has different text and dates (ex. 01/03/07, 05/29/08, 06/05/08). Once the file is created I need to grep for all the text with a current...
4,710
Posted By wereyou
Thanks, HPAVC This is what I have. Your...
Thanks, HPAVC

This is what I have. Your command works but I just want to read the Lates/current file so I put *0209_TWSMERGE.log which works but I will probably have to change it again tomorrow?
...
4,710
Posted By wereyou
Read the latest file
I need to read the contents of the latest file. Below is a sample. I can use the tail command but can this be put into a script?

I just need to read the latest TWSMERGE.log


-rwxr--r-- 1 tws...
1,752
Posted By wereyou
RTM, That did it. Thanks, for the help.
RTM,

That did it. Thanks, for the help.
1,752
Posted By wereyou
Remove help removing to files
I have 2 files that cannot be remove with rm -f or rm. Can someone help with removing these files:

-rwxrwxrwx 1 o571897c test 0 Dec 27 14:14 -type
-rwxrwxrwx 1 o571897c test ...
2,395
Posted By wereyou
View all lines in grep search
I am trying to grep a file and I need to show the schedules that the grep belongs too.

here is the command I am using and the result I am getting:

$ fgrep -e 'SCALHOL' twsschedules
...
14,233
Posted By wereyou
Thanks, sb008
Thanks, sb008
14,233
Posted By wereyou
This is working for me. How could I put a "sleep...
This is working for me. How could I put a "sleep xx" in the script so it would wait for the file before the job ended in error?

if [ -f $MYHOME/jay.txt ]
then
echo file found
exit 0
fi
if [...
14,233
Posted By wereyou
Thanks, mheinen.
Thanks, mheinen.
14,233
Posted By wereyou
ok, thanks.
ok, thanks.
14,233
Posted By wereyou
if, fi, then, and else commands
I am trying to create a script that will search for a file and if the file is there the script will end successfull, if the file is not found then the script will sleep for 60 then check for the file...
3,965
Posted By wereyou
How to input .txt file into .xls spreadsheet
I need to take the totals from my script and input them into a excel spreadsheet. Right now, I just copy and paste. Is there an easier way?

3906
is the total jobs in ABEND state

4005...
2,000
Posted By wereyou
Script help
I am running this script and it keeps report a count of 6 less than what is manually totaled. How can I make the script -6 or give an accurate count of what the number is when manually added?
...
13,248
Posted By wereyou
script needs to divide by 2
i need to divide this count by 2, what variable can i use in my script?

26 hcscprod_cpus_totals /2 = 13
13 hcncprod_cpus_totals /2= 6.5
541 ktazp_cpus_totals /2= 270.5
346...
3,275
Posted By wereyou
Noiw my count is always 4 off. can i use a -4 in...
Noiw my count is always 4 off. can i use a -4 in the script?

2995
1633
3567
2812
1200
Total count is 12203
3,275
Posted By wereyou
i am gettting this error: 2888 ...
i am gettting this error:

2888
1604
3425
2785
1200
awk: 0602-533 Cannot find or open file no_file.
The source line number is 1.
3,275
Posted By wereyou
How can i add the number output to create a total
What do i use if i get different numbers each time i run the script? Can I use echo "12345678910" | bc? will this count any amount of numbers then give a total?

cat $MYHOME/hcscprod_job_totals |wc...
3,275
Posted By wereyou
Need to total numbers at end of script
I need to total the numbers at the end of script, what code can i use for this to total the lines up?

1232
1242
1234

Total count is 3708
Showing results 1 to 21 of 21

 
All times are GMT -4. The time now is 07:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy