9 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
This script will analyse the channels.txt e registrations.txt and it will allow to mage the channels and the... (9 Replies)
Discussion started by: Demas
9 Replies
2. Shell Programming and Scripting
Hi All,
I wrote the following script :
#!/bin/bash
t1=serv1
t2=serv2
t3=serv3
t4=serv4
t5=serv5
t=`echo $* | awk '{print $4}'`
if
then
/usr/bin/zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -s "syslog" -k trap_1 -o "$*"
elif
then
/usr/bin/zabbix_sender -c... (4 Replies)
Discussion started by: primo102
4 Replies
3. Shell Programming and Scripting
Hi,
I need help to write a script which will monitor disk utilization.
Please suggest the best approach to achive this.
I am thinking of having sleep inside the script which will run for(eg.) 60 secs and then disk utilization will be checked and depends on the % usage of disk mail will... (1 Reply)
Discussion started by: sunilmenhdiratt
1 Replies
4. UNIX for Advanced & Expert Users
Not sure if this is the best place to post, but at this point my question seems to be an advanced topic.
I'm curious why it is that the "office phone" column of finger does not seem to report anything even when data is entered in the GECOS field of /etc/passwd. I am using Ubuntu 8.10, kernel... (1 Reply)
Discussion started by: gratuitous_arp
1 Replies
5. What is on Your Mind?
I thought this would be a useful thread to announce vacation periods, so us regulars will be known to be on/off. If another admin thinks this is stupid, go ahead and un-pin it. (1 Reply)
Discussion started by: otheus
1 Replies
6. Shell Programming and Scripting
Hi,
I've got problem with one bash scrip which can run for random time (12h+) and then segfault:
clusterapp: segfault at 00007fff23100d00 rip 0000003da22426b4 rsp 00007fff23100cd0 error 6
clusterapp: segfault at 00007fff45cc3f50 rip 0000003da22426b4 rsp 00007fff45cc3f20 error 6
bash... (5 Replies)
Discussion started by: columb
5 Replies
7. Shell Programming and Scripting
Hi,
First i would like to say that im a unix begginer.
I have a file named /tmp/sample.lst that contain about 20 rows like the following two :
'/tmp/aa.txt' '/temp/aa.txt'
'/tmp/xx.txt' '/temp/xx.txt'
Inside a ksh script i would like to do the following task:
add the cp command at... (2 Replies)
Discussion started by: yoavbe
2 Replies
8. UNIX for Advanced & Expert Users
I have this script but it is not working I need help, to transmit a file and rename it.
#!/bin/ksh
final_file="file name"
ftp -nvd IP_address << ENDFTP
user username password
cd <folder where you want to put the file>
bin
mput $final_file
quit
ENDFTP (1 Reply)
Discussion started by: HROMERO
1 Replies
9. Shell Programming and Scripting
Please help me to write a program that accepts a command from the terminal displaying a shell like prompt to accept the command.If the command is logout, the program is terminated. For any other command, it forks a child process passing the command to the child, and then waits for the child to... (1 Reply)
Discussion started by: rajeshgngv
1 Replies