9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
2. Shell Programming and Scripting
I am Shell script beginner.
I wrote a shell programming that will take each line of a file1 and search for it in another file2 and give me the output of the lines that do not exist in the file2.
I wrote it using do while nested loop but the problem here is its running for ever . Is there... (12 Replies)
Discussion started by: sakthisivi
3. UNIX for Advanced & Expert Users
Working on a simple, half duplex network diagnostic that will run anywhere using nc and dd. Performance is symmetrical with sink and source nc processes open as a server:
nc -vkl 5000 > /dev/null &
cat /dev/zero | nc -vkl 5001 &
With this on the client:
nc host0 5001 | dd of=/dev/null... (0 Replies)
Discussion started by: netdrx
There is a virtual user "ecoouk" which logs on to the server and runs some scripts. I want to know how much server performance can I gain if I put off all the scripts run by this user.
Please tell me how to analyse how much resources a specific user is using.
Abhishek (3 Replies)
Discussion started by: max29583
5. Shell Programming and Scripting
Actually when i am trying to open my shell script file 1.sh then i am getting the following error.
> vi 1.sh
"/var/tmp/ExdNaarK" No space left on device
Can anybody tell me that how to rectify it. It is very urgent. Because i am not able to do any work due to the above error.
... (1 Reply)
Discussion started by: sunitachoudhury
6. Shell Programming and Scripting
I have included my script below, pls read thro this req. I want my script to run for every hour , the problem is I CANNOT USE CRONTAB which is prohibited inside the company. My script does what it is supposed to do (to determine the memory and then send a email if it crosses a certain... (2 Replies)
Discussion started by: vivsiv
7. Shell Programming and Scripting
I need help in awk please help immediatly.
This below function is taking lot of time
Please help me to fine tune it so that it runs faster.
The file count is around 3million records
# Process Body
while read line
... (18 Replies)
Discussion started by: icefish
8. Shell Programming and Scripting
while read line
count=`expr $count + 1`
sh check.sh (4 Replies)
Discussion started by: skyineyes
9. UNIX for Advanced & Expert Users
I have a mail server (sendmail) with SUNOS 5.5.1. Just recently it began to respond very slowly.
I used vmstat to check the performance data. Only interupt, system call and CPU context swiching are relatively high. Other statistics are normal, especially CPU utilization are very... (5 Replies)
Discussion started by: caoai