10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Input data:
I'd like to calculate using value in second column. The value needs to be created using a formula, that employs exp (that is e raise to the power).
awk '{
if(FNR==1){
##if first line than print as is and add third column
print $0,"weight"
}
else{
if($2<=0.01){... (2 Replies)
Discussion started by: genome
2 Replies
2. Shell Programming and Scripting
Example:
I have server name A with an IP : 125.252.235.455
I have an username /password to login into this server under SSH connection
In this server i have a path /apps/user/filename(Big.txt)
Everyday we used to get the filename as Big.txt.
I want a shell script to monitor this path... (4 Replies)
Discussion started by: ChandruBala73
4 Replies
3. Shell Programming and Scripting
I am executing perl script on Linux machine and the script is running for the last 5 hours and while running the script I had an error message in a single line
Alarm Clock and the script got stopped.
I havnt scheduled the script.I have executed the script manually. There is no syntax errors in... (1 Reply)
Discussion started by: scriptscript
1 Replies
4. Solaris
Hi gurus,
I was wondering if it's possible to log an alarm using logger to hardcode the alarm with a specific message id?
For example:
Apr 27 13:43:55 testhost sendmail:
I would want to change the ID to something else, as shown below:
Apr 27 13:43:55 testhost sendmail: 100421... (0 Replies)
Discussion started by: gilberteu
0 Replies
5. Shell Programming and Scripting
I am trying to write a script that raises a integer (m) by a exponent (n) using a while loop
ex. 5 raised to the power of 2 ..
I am a beginner and i dont know what is the opperand or command i have to use to make this happen..this is what i have so far...
echo "Enter a integer for the... (3 Replies)
Discussion started by: jibz
3 Replies
6. Shell Programming and Scripting
Hi members, I am working in WebSphere in Unix environment. we are working with 500 odd servers and most of the times processes got down. Can i have any shell script through whih some popup with alarm get raised whenever some server get down. kindly help.. Thanks Rishi (1 Reply)
Discussion started by: rishi.madan
1 Replies
7. Shell Programming and Scripting
Hi
If there is a file upload done from a remote server
and if the file remains without being extracted for more than an hour,
I need to identify the files and create an alert message to the
users in the other end.
please help me writing a shell script for it.
Regards
Yazhini (2 Replies)
Discussion started by: yazhini.t
2 Replies
8. Shell Programming and Scripting
Hey,
I want to ask a simple Question....
How would I be able to come to know that files/directoires in a Parent directory has been accessed (means contents of the file has been just viewed) by the user(s) in a group ? and mail the name(s) of those files/directories which has been accessed... (16 Replies)
Discussion started by: varungupta
16 Replies
9. AIX
Hey,
I want to ask a simple Question....
How would I be able to come to know that files/directoires in a Parent directory has been accessed (means contents of the file has been just viewed) by the user(s) in a group ? and mail the name(s) of those files/directories which has been accessed... (1 Reply)
Discussion started by: varungupta
1 Replies
10. Programming
I am trying to send a SIGUSR1 to a set of process. Please tell
me how to do. I've tried the system call raise(int sig) but it just
raise a signal of to the 'current process.'
My program is about a network chat server. When a client
connects in, The main process will fork a new process... (1 Reply)
Discussion started by: Namely
1 Replies