9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script using getops with -a -t -l as potential switches, based on the switches used, it will set the respective variable value which will cause the routine/function to run. I need to also pass a string with the switch that will get parsed by the function.
example
./myscript -a... (8 Replies)
Discussion started by: glev2005
8 Replies
2. Shell Programming and Scripting
mymk target
How to check is on commandline or no?
Cannot to find out ;(
Know that I need to use if.....new in shell sorry
Please use code tags next time for your code and data. (2 Replies)
Discussion started by: Manueldo
2 Replies
3. AIX
Hi.
On a standalone AIX server, 7.1 version, I have 3 connected gigabit ethernet ports.
I made an etherchannel like this :
# lsattr -El ent4
adapter_names ent1,ent2 | EtherChannel Adapters True
alt_addr 0x000000000000 | Alternate EtherChannel Address True
auto_recovery yes | Enable... (1 Reply)
Discussion started by: stephnane
1 Replies
4. Shell Programming and Scripting
Hello All,
I am writing an shell script but abruptly its not able to recognize switches in echo statement.
#!/bin/bash
top -n 1 -b>ankit
host=`hostname`
time=`cat ankit|grep load|tr -s " "|cut -d " " -f3`
load=`cat ankit|grep load|tr -s " "|cut -d "," -f4|cut -d ":" -f2`
... (3 Replies)
Discussion started by: ajaincv
3 Replies
5. Infrastructure Monitoring
Hi, I have configured check_snmp plugin and using the plugin i am able to monitor the uptime of the switch.
But the following fails
# /usr/local/nagios/libexec/check_snmp -H 10.10.10.1 -C ready -o ifOperStatus.1 -r 1 -m RFC1213-MIB
SNMP CRITICAL - *down(2)* |
#
Any suggestions ? (1 Reply)
Discussion started by: uxadmin007
1 Replies
6. Shell Programming and Scripting
Hi,
I am using curl to hit a url using http in solaris 10 using commandline, I want to transfer an attachment(using multipart curl -F) also as a part of the request. If anyone has used kindly help me with the syntax. I am using below command:
/usr/local/bin/curl -v... (1 Reply)
Discussion started by: manishmaha
1 Replies
7. Shell Programming and Scripting
Hi All ,
In my environment we have 12 SAN switches .Culd u pls help me for below queries .
would like to telnet to all switches and collect information in daily basis with "switchstatus" command and store the output under /tmp/ folder on systemA .
To keep passwords of 12switches in a... (1 Reply)
Discussion started by: chinni-script
1 Replies
8. Programming
Hi guys,
this is my first posting, so at first hi to everyone! ;)
I have a problem with ucontext_t in connection with signal handling. I want to simulate a preemptive scheduler. I am using the iTimer with ITIMER_PROF, to schedule the interrupts. You find the code below:
#include <stdio.h>... (18 Replies)
Discussion started by: XComp
18 Replies
9. UNIX for Advanced & Expert Users
Hi,
If i want to write my data on several tapes, (more than one tape), what switch(s) i need to use with tar.
In other word if my data needs the sapce more than one tape & i don't wanna to compress or ... my data. so is it possible to write up to the end of the tape & it asks to put another... (1 Reply)
Discussion started by: nikk
1 Replies